delete old PriceList and generate new
Shop [Unmaintained]
Discussion in 'Plugin Support' started by Bombardir, Nov 16, 2014.
-
yup did everything at least ten times fresh
same errors
[Oxide] 4:01 PM [Info] [Logger] lorandoz2001 <4 LvL> ran chat command: /buy
[Oxide] 4:01 PM [Info] [Logger] INVINCIBLEDREAD <20 LvL> ran console command: inventory.endloot
[Oxide] 4:01 PM [Info] [Logger] Axeman <40 LvL> ran chat command: /buy "gunpowder_bp"
[Oxide] 4:01 PM [Error] Shop: [string "Shop.lua"]:75: attempt to index field '?' (a nil value) -
yeah same, some items are working fine, others aren not and the pricelist file isn't missing anything when i look at the items that don't work. All regular items are working it seems to be just some of the blueprints
[DOUBLEPOST=1421874427][/DOUBLEPOST]ok i notice it give the same error it you get the name wrong or forget the quotes on item names now instead of telling you theres more than one item with that name or something, ingame it does nothing just blank action -
-
it errors when I tried that true
[DOUBLEPOST=1421875084][/DOUBLEPOST]wait its only when when i did this
"New_Price_List": true,
"List_Items_Per_Page": 10,
"Generate_Ingredients": true,
[DOUBLEPOST=1421875134][/DOUBLEPOST][Oxide] 4:21 PM [Info] [Logger] Axeman <40 LvL> ran chat command: /home axe1776
[Oxide] 4:21 PM [Info] [Logger] kuyheat <2 LvL> ran chat command: /bsl 5
[Oxide] 4:21 PM [Info] [Logger] kuyheat <2 LvL> ran chat command: /bsl 6
[Oxide] 4:21 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 -
Bombardir updated Shop with a new update entry:
fix2
[DOUBLEPOST=1421875261][/DOUBLEPOST]
Try to just 'Stop Server -> remove PriceList and Config -> Start server'
[DOUBLEPOST=1421875337][/DOUBLEPOST] -
so far its:
5.56 rifle cartridge_bp
lantern_bp
gunpowder_bp
salvaged icepick
large wood box_bp
bolt action rifle
bolt action rifle_bp
[DOUBLEPOST=1421876587][/DOUBLEPOST]wow the AK assult Rifle_bp works but not the AK Assault Rilfe itself lol
[DOUBLEPOST=1421876715][/DOUBLEPOST]yeah, its all weird, some of the items that use to work are not working and some new item are working -
Man IDK I tried everything and error after error is all I get
even on wood
[Oxide] 5:01 PM [Info] [Logger] prophecylike <0 LvL> ran chat command: /buy "wood" 1000
[Oxide] 5:01 PM [Error] Shop: [string "Shop.lua"]:75: attempt to index field '?' (a nil value)
I think ill go back to the old version for now -
yeah I turned it off for now until this can be fixed, will try to get the old version back on before the busy hours come up. until then it's off on mine
-
Ok I know what it is
you need to capitalize each work otherwise you get these errors. -
we tried that several times before posting, it nevr made a difference -
/buy "5.56 Rifle Cartridge" 10
some onse see if that works?? -
Is there a way to sell the blueprints only and not give players the option to buy the item OR the blueprint?
-
[DOUBLEPOST=1421884127][/DOUBLEPOST]oh well didn't think about that for a second, are blueprints sellable? -
It's rly weird and the problem is with your price list
try to upload my price list (default)Attached Files:
-
-
-
ok, i stayed up till 4am last night and finially got it working.... so far that we can tell.
I installed over and over with default files and it just didn't want to work but then I removed everything with the shop, stopped the server, waited a few mins and made sure the shops files were gone, started the server and made sure shop was not in it, stopped the server, uploaded the shop.lua and started the server, it made the pricelist file but it was blank so i did the oxide.reload command and reloaded the shop and it then remade the pricelist and everything was 0, so i stoppped the server, edited the pricelist one by one (btw i have all selling false, shop is buy only), and upload the edit pricelist to the server, I then started the server this time and boom, it finially worked -
You need to wait for a message from the console 'Price List Generated!' -
OK I re installed shop using all fresh settings including your data download you offered and players can still exploit it useing
just bought 1000000 wood
without having the money -
Bombardir help me please.
Have 1179 server version. Have Shop 0.8.3
In inventory have Stone Hatchet. Trying sell it to the shop, getting that.
Maybe ill doing something wrong?
P.S.
I am not making that hatchet, get it on start with a Starter gifts. Maybe that a problem?
Collect some "Stones" and sell it without problems with /sell stones 100
Thank you.