New price list is not working its saying:-
[Error] Failed to load plugin 'shop' (no source found)
when I reload it?
Shop [Unmaintained]
Discussion in 'Plugin Support' started by Bombardir, Nov 16, 2014.
-
After setting the new price list to true and setting my prices, the oxide.reload command rewrites everything back to default... what am I doing wrong?
-
-
Don't suppose anyone has got a config with prices i could use?
-
Hi, the plugin works perfecly since long time for my server, i want to know, how i can add Sign BP in shop list?
-
if I remove the "Sell": "sell" part of the config, will that disable selling. Im looking for a way to allow buying but not selling.
-
-
Hi Bombardir!
I Installed Shops & Economics on my clanforge server but I cant figure out where the price list is to change the prices on items. Everything is set to zero and I cant figure out how to change themAny incite would be greatly appreciated.
-Astro -
REMEMBER do not copy mine bcs i've made my prices manualy one by one not by generating..
Instructions!
set the prices on Base List and then you have to find a string "at the top or at the bottom of the file" where it saysCode:"New_Price_List": false,
the "New_Price_List": true, will change to false after reloading
Code:"PriceList": { "base": { "Animal Fat": 20, "Anti-Radiation Pills": 100, "Apple": 50, "Battery - Small": false, "Bear Meat": false, "Bed": false, "Black Raspberries": false, "Blood": false, "Blueberries": false, "Bone Fragments": false, "Burned Chicken": false, "Burned Human Meat": false, "Burned Wolf Meat": false, "Can of Beans": false, "Can of Tuna": false, "Charcoal": false, "Chocolate Bar": false, "Cloth": 20, "Cooked Chicken": 50, "Cooked Human Meat": 100, "Cooked Wolf Meat": 100, "Door Key": false, "Empty Can Of Beans": false, "Empty Tuna Can": false, "Flare": false, "Granola Bar": false, "Human Skull": false, "Metal - Refined": false, "Metal Fragments": 10, "Metal Ore": 5, "Raw Chicken Breast": false, "Raw Human Meat": false, "Raw Wolf Meat": false, "Rock": false, "Rotten Apple": false, "Small Water Bottle": false, "Spoiled Chicken": false, "Spoiled Human Meat": false, "Spoiled Wolf Meat": false, "Stones": 2, "Sulfur": 10, "Sulfur Ore": 10, "Wolf Skull": false, "Wood": false
-
For some reason I dont see anything for Base List anywhere.
-
-
I hope this helps, this shows the cfg_shop.json file, the categoryunder shops only has this in it. Do I have to make the Basic pricelist from scratch? I imagine its pulling something though because when I am on my server I can use "/bsl 1" and it tells me all the buy and sell info but it's all 0 - or no for certain BP's. Thank you so much for the assistance PaiN!
Attached Files:
-
-
you have to find a file named Shop.json I've wrote the instructions earlier...
TIP: You can change the /bsl command to /shop by searching at the bottom of the file that i gave u replace the "List":"bsl",
Code:"Commands": { "Sell": "sell", "List": "bsl", "Buy": "buy" }TO "List": "shop", }
Attached Files:
-
-
Just Paste this default cfg:
+ If it will not work, then contact multiplay support to update this plugin.Attached Files:
-
-
Ok sweet I'll give this a shot, thank you for your patience guys! I'm still learning so I really appreciate the help
[DOUBLEPOST=1428364186,1428351620][/DOUBLEPOST]Just finished up with clanforge support, they were able to fix the issue. Something on their end wasnt allowing the shop.json file to load. serious thumbs up to their tech support! and thank you to everyone on here for the help as well!
[DOUBLEPOST=1428412812][/DOUBLEPOST]Hey guys me again, no complaints or issues this time don't worry, program works great and everyone on the server loves it! I did have a question though, would there be any way to implement this with the bounty system mod? I think it would be cool to place a bounty on people's head using the economics system. -
I'm sorry if this has come up already, but when I type any of the commands into the chat, it doesn't recognise them. I can type "/help" but then I get this error:
Code:[Oxide] 4:22 PM [Error] Failed to call hook 'SendHelpText' on plugin 'Shop' File: Shop.lua Line: 155 attempt to get length of field 'Help' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 7, 2015 -
Last edited by a moderator: Apr 7, 2015
-
Where would I find that? Thank you for your speedy response
Did you mean this?
Code:"Help": [ "/sell \"item\" -- Shows the sales price", "/sell \"item\" <amount> -- Sell item", "/buy \"item\" -- Shows the purchase price", "/buy \"item\" <amount> -- Buy item", "/buy \"item_bp\" <amount> -- Buy item blueprint", "/bsl [<page>] -- Shows a list of the prices of a specific page" ],
Last edited by a moderator: Apr 7, 2015