The Grand Exchange

Buy and Sell your items and resources on the Grand Exchange Market!

Total Downloads: 2,787 - First Release: Jun 13, 2015 - Last Update: Nov 4, 2017

5/5, 15 likes
  1. Okay so i just updated to this new version added my two marks for the store and it still says the store is closed ?
     
  2. Did you read the patch notes from the previous update? The store will no longer be automatically filled. It's empty at the first launch and you'll need to eighter use /ge.restoredefaultitems or add items yourself.
     
  3. No i missed that i did just figure that out though XD however now i have done that there is a lot less items in the /store popup then before ? anyway i can change this ?
     
  4. That's because the new default trade list is more balanced then the old one. Previous version was easily exploitable.

    You'll need to add other items yourself.
     
  5. Okay thank you for the help, great work btw been waiting for player shop exploit patch and player gold transfers for a while you've done that and more thank you ! :)
     
  6. heres a quick stupid question how do you change the amount of items a player can list in there shop?
     
  7. You can find these settings in the config file. Look for PlayerShopStackLimit and PlayerShopMaxSlots in the Trading tab.
     
  8. alright heres another one im creating a massive shop for my server and i have about 1000 cooked meat that i need to add but i can only put in 125 now i have the config like this

    PlayerShopStackLimit = 1000; // Determines the maximum number of stacks of an item a player can have in their shop
    PlayerShopMaxSlots = 200; // Determines the maximum number of individual items the player can stock (Prevents using this as a 'Bag of Holding' style Chest!!)

    now to my understanding the PlayerShopStackLimit means i can have 1000 stacks of cooked meat and the PlayerShopMaxSlots means i can have 200 different items listed in the shop with 1000 stacks of each item so my question is why is it only letting me put in 125 cooked meat
     
  9. I assume you restarted the server after updating the config file?
    I do not see what else could be the problem of this.

    Can you tell me exactly what you did so I can see what steps were taken?
     
  10. i changed those 2 values in the cs file restarted the server created my shop typed in the command /addshopitem "cooked meat" 500 20 and it would return "you've reached the max amount of this item". so i did /addshopitem "cooked meat" 25 20 and it worked so i kept doing it till i reached the"max" and it was 125. you mentioned this in a previous response "Look for PlayerShopStackLimit and PlayerShopMaxSlots in the Trading tab." im curious as to what you mean by "trading tab"
     
  11. You should not edit the .cs file. Go to your server's oxide/config location and locate the GrandExchange.json file.
    Try taking a look in this configuration file as the values you tried to edit are saved and loaded from here.
    The configuration files are a standard these days and any recent plugins that have configurable values should have it.

    Also, please don't forget to revert any changes you've done to the .cs file. If you only changed the values the plugin should not break but otherwise you might cause it to stop working.
     
  12. oh alright im new to reign of kings servers so its all a learning process with new code
     
  13. I always get the message that the GE is closed for business. Do I need to run a command to open it?
     
  14. Wulf

    Wulf Community Admin

    What is GE? This site isn't the site for any server.
     
  15. Grand Exchange
     
  16. Can anyone help me with this. Everywhere I go it always says the grand exchange is not open for business.
     
  17. whats the command to allow pvp on market grounds
     
  18. /ge.restoredefaultitems will load all default data into the store. This is no longer done at startup. Also use /ge.toggle cause this toggles access for all players to the grand exchange.

    /ge.safetrade

    Both of you can find all info at the description page.
     
  19. Is there a way to implement a maximum amount to be deflated? For example would this work, or could you point me in a direction to make this work?
    Code:
                public void UpdatePrices(int amount, int type)
                {
                    switch (type)
                    {
                        case 1:
                            BuyPrice = (int)(BuyPrice + ((OriginalPrice * (Inflation / 100)) * (amount / MaxStackSize)));
                            if (BuyPrice > (OriginalPrice + (OriginalPrice * MaxDeviation)) BuyPrice = (OriginalPrice + (OriginalPrice * MaxDeviation);
                            else (BuyPrice < SellPrice) BuyPrice = SellPrice
                            break;
                        case 2:
                            SellPrice = (int)(SellPrice - ((OriginalPrice * (Inflation / 100)) * (amount / MaxStackSize)));
                            if (SellPrice < (OriginalPrice - (OriginalPrice * MaxDeviation)) BuyPrice = (OriginalPrice - (OriginalPrice * MaxDeviation);
                            else (SellPrice > BuyPrice) SellPrice = BuyPrice
                            break;
                    }
                }
    MaxDeviation could be defined as a number between 0 and 1 to represent a percent above or below the default price.

    else (SellPrice > BuyPrice) BuyPrice = SellPrice // my attempt at preventing the prices from passing eachother stopping people from taking advantage, or is there another caveat I am missing?

    Also: Do prices recover ever? and how long does it take?
     
  20. it would be nice if players could trade gold if that could be added to plugin via popup window trade gold system