Did u change item id?
Shop [Unmaintained]
Discussion in 'Plugin Support' started by Bombardir, Nov 16, 2014.
-
I had a new list generated and it didn't create blueprints, it made the assault rifle, vagabon jacket and other item but no blueprints. Anyway BPs can be added or someone list the item numbers and name so they can be added?
-
-
Hello
Great plugin. "must have" for everyone!Have 2 problems.
First problem:
1. I am install a plugin
2. Generated a price list (doing all paragraphs in "How to generate a price list?") and stop the server.
3. Tunn "New_Price_List": false
4. Open and edit ...data/PriceList.json and forming my own shop. I am just don't wanna sells walls, stairs or something like that.
Remove some lines in the "base" part with a goods which one i don't wanna see in shop.
Remove some lines in the "generated" part with a goods which one i don't wanna see in shop.
5. Start server and my file PriceList.json fully rewrited by plugin.
Can you add a option don't do that? Don't auto-generation a PriceList.json after every restart. And just use a file PriceList.json which one already lay in data folder.
Second problem:
In config ill find "Sell_Modificator": 0.5,
Can you add a option for turn off that? I want see in shop items with same price for buy/sell, like 4/4 and adjust buy/sell part by myself. Atm if ill change "Sell_Modificator": 0, all sell prices turn on "0"
I am using 1179 build. Plugin work without errors. Sorry for my english -
P.S. You need to set 'Sell_Modificator':1 (1 = 100%, 0 = 0% , 0.5 = 50%)
[DOUBLEPOST=1421775350][/DOUBLEPOST]Also, read 'How to edit a price list?' pls -
Is there a way to sell blueprints instead of just the item, or maybe an option to force learn a blueprint recipe with your shop?
-
-
Bombardir updated Shop with a new update entry:
Blueprints support, new config, new pricelist...
-
It's not accepting the new pricelist after i change it, everything remains 0,0,0
[DOUBLEPOST=1421858735][/DOUBLEPOST]NVM, lol won't work on hot load, have to restart the server... -
-
Thanks for this update, really needed to get the blueprint support ASAP because I feel that airdrops are too overpowered right now so I have them disabled on my server, but this helps with a viable way to earn blueprints now
-
This popped up in rusty rcon a few mins ago:
Code:[Oxide] 2:53 PM [Error] Shop: [string "Shop.lua"]:274: bad argument #2 to 'gsub' (string/function/table expected) 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 Slow Packet: 69.138.103.221:59010/685572/129/89 -> 0.37 seconds
-
[Oxide] 3:07 PM [Error] Shop: [string "Shop.lua"]:274: bad argument #2 to 'gsub' (string/function/table expected)
at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
[DOUBLEPOST=1421870849][/DOUBLEPOST]Its when they use the /bsl command
[DOUBLEPOST=1421870992][/DOUBLEPOST]also get this
[Oxide] 3:10 PM [Info] [Logger] UgetDeltWit <48 LvL> ran chat command: /buy large wooden box blueprint
[Oxide] 3:10 PM [Error] Shop: [string "Shop.lua"]:75: attempt to index field '?' (a nil value)
[Oxide] 3:10 PM [Info] [Logger] UgetDeltWit <48 LvL> ran chat command: /buy help
[Oxide] 3:10 PM [Error] Shop: [string "Shop.lua"]:75: attempt to index field '?' (a nil value)
ok i know what it is
you need to use /buy "large wooden box blueprint"
instead of /buy large wooden box blueprint
but it shouldnt spam a error though its annouying...
[DOUBLEPOST=1421871145][/DOUBLEPOST]Blaw even that way it still spams errors :/ -
[DOUBLEPOST=1421872302][/DOUBLEPOST] -
I did
-
it's only some items, so far lanterns and 5.56 rifle cartrides while testing it
if you put:
/buy "code lock_bp" 1
it works
but if you put
/buy "5.56 rifle cartridge_bp" 1
you get the errors -
-
[Oxide] 3:46 PM [Info] [Logger] Axeman <40 LvL> ran chat command: /buy "large wood box_bp" 1
[Oxide] 3:46 PM [Error] Shop: [string "Shop.lua"]:75: attempt to index field '?' (a nil value)