1. Names with spaces must be taken in quotes. "Bear Trap"
     
  2. Curious why this dosent shop up in the console with 0-logger?
     
  3. Has anyone got a price list that people can use as a guide? I ask this as personally wouldn't have a clue what to charge and I am still quite new to the game. Thanks
     
  4. I use Economy through Clanforge website, i don't know how to find the PriceList.jsom.

    Little help please.
    /thnx


    [​IMG]
     
    Last edited by a moderator: Dec 30, 2014
  5. shop no longer working for me after updating..

    Unknown commands when typing /bsl 1 or /buy

    using Oxide 2 build 97
     
  6. for me it works... Check config, if there:
    Code:
      "Commands": {
        "Buy": "",
        "Sell": "",
        "List": ""
      }
    then this cmds have been removed. Try to remove old config.
     
  7. I redownloaded, deleted config reinstalled several times now and it still comes up with unknown comand /bsl but yet it shows it in the help commands when I type /help

    Shop.json has this at the end:

    "Commands": {
    "Buy": "buy", -- Chat commands, u can change their.
    "Sell": "sell", -- To remove a command, leave it "" (for example "Sell": "")
    "List": "bsl"
    }
     
  8. With '-- To remove a command, leave it ""' (for example "Sell": "")?
     
  9. that is copied and pasted right from the config
     
  10. wow, such text break config
    just delete old, and plugin will create a new
     
  11. ok wow i deleted it and restarted the server now all that in the file is:

    {}
     
  12. Maybe the problem is hosting? Configuration should be created automatically ...

    Default config:
    Code:
    {
      "Commands": {
        "Sell": "sell",
        "Buy": "buy",
        "List": "bsl"
      },
      "Generate": {
        "FileName": "PriceList",
        "Generate_Ingredients": false,
        "New_Price_List": true,
        "List_Items_Per_Page": 10,
        "Sell_Modificator": 0.5
      },
      "Messages": {
        "Sell_Not": "This item can not be sold.",
        "Buy_Succes": "Thank you for your purchase! We are waiting for you again! (You spent: %s)",
        "Sell_Error": "You can't sell what you do not have!",
        "List_Beg": "------------------- PAGE %s -------------------",
        "Matches": "Found multiple items: %s",
        "List": "Name: {Name}, Purchase price: {PPrice}, Sale price: {SPrice}",
        "Buy_Error2": "You don't have enough space in your inventory!",
        "Help": [
          "/sell <item> -- Shows the sales price",
          "/sell <item> <amount> -- Sell item",
          "/buy <item> -- Shows the purchase price",
          "/buy <item> <amount> -- Buy item",
          "/bsl [<page>] -- Shows a list of the prices of a specific page"
        ],
        "ChatName": "[Shop]",
        "Buy_Error": "You do not have enough money (still need: %s)!",
        "Not_Find": "The item with this name can't be found in the store!",
        "List_End": "-------------------------------------------------",
        "Buy_Price": "The purchase price of this item: %s",
        "Sell_Succes": "You have successfully sold item for %s!",
        "List_No_Sale": "no",
        "Sell_Price": "Sale price of this item: %s",
        "Buy_Not": "This item can not be bought.",
        "List_No_Purchase": "no",
        "Syntax_Error": "Syntax Error! /%s <item> [<amount>]"
      }
    }
     
  13. I use to use this plugin before, all others i used still work so far this is the only one that stopped.

    Still same thing after I pasted that config in mine and restarted the server "unknown command bsl!"
     
  14. I have not idea what is problem *_*
    Maybe there is an error in the logs ?
     
  15. no errors in the log :(

    I do get this in the Rusty Rcon tool:

    ArgumentOutOfRangeException:Argument is out if range.
    Parameter name: startIndex
     
  16. weird... Try to remove all plugins, and reinstall shop.
    If that does not work reinstall oxide.
     
  17. ok I finially got it to show the list of items after doing a fresh reinstall of the server and updating to the new oxide however after it generated the new pricelist corse everything was 0 so i stopped the server and edited the pricelist and then it messed up again. So the problems is when I set prices in the file. I set all sell options to false, cause i don't want anyone selling anything and only set buy prices to certain items, rest i remove completly. I guess I am messing something up in the file and have to take my time, sucks lol.

    I tried setting the base price section and restarting the server, it did change the file and added each items base materials but the prices didn't update....
     
  18. U need to set new_price_list to true
     
  19. Oxide] 5:18 AM [Info] [Logger] TROY <0 LvL> ran chat command: /buy box 1
    [Oxide] 5:18 AM [Error] Shop: [string "Shop.lua"]:192: Object reference not set to an instance of an object
    at PlayerInventory.GiveItem (Int32 itemid, Int32 amount, Boolean sendNotification) [0x00000] in <filename unknown>:0