Basically I added a bunch of new models to the point shop, same as usual, stuff worked for a while and then the map changed. All the sudden everyones items, points, and karma gets reset even though karma is set to persist, any idea where I should look to get a good idea of whats wrong?
EDIT: The models and everything don't go missing its just points and stuff, just thought i'd clarify a little better.
[QUOTE=Handsome Matt;45393380]When you edited the files you probably triggered auto reload which reset the players data tables or something. Pointshop wasn't realllly designed to be modified in a production environment.[/QUOTE]
Would you happen to know where I could check to see if that's the case? I did a quick Google search and couldn't find anything on the subject. Secondly what do you mean by production environment? I assume you meant something along the lines of the server still being on (which it wasn't).
Sorry im still really new to this whole business.
He meant that if you were working while the server was on, you would require to restart the server, because pointshop wasn't made for work while you are editing stuff
[QUOTE][ERROR] addons/pointshop-master/lua/providers/pdata.lua:2: bad argument #1 to 'J
SONToTable' (string expected, got boolean)
1. JSONToTable - [C]:-1
2. GetData - addons/pointshop-master/lua/providers/pdata.lua:2
3. GetPlayerData - addons/pointshop-master/lua/sv_pointshop.lua:262
4. PS_LoadData - addons/pointshop-master/lua/sv_player_extension.lua:106
5. unknown - addons/pointshop-master/lua/sv_player_extension.lua:38
Timer Failed! [Simple][@addons/pointshop-master/lua/sv_player_extension.lua (lin
e 35)][/QUOTE]
That's what I see in the command prompt, any idea what could be wrong, I understand its in the player extensions but I personally cannot make out what is wrong.
How did you get the error? Make sure you're doing what gonzalong said not to do..
[QUOTE=crazyscouter;45395077]How did you get the error? Make sure you're doing what gonzalong said not to do..[/QUOTE]
Basically what happened on a step by step basis was I turned off the server, downloaded a bunch of models via workshop, extracted into addons, created paths to mdl in point shop and then turned the server back on. Everything worked pretty well all the way up until a map change.
EDIT: I only get that error when I join my server, error-less all the way up until then.
Reinstall your Pointshop. You don't get that error from just adding model item files; you've obviously touched the core files somewhere and messed up playerdata saving.
[QUOTE=code_gs;45396628]Reinstall your Pointshop. You don't get that error from just adding model item files; you've obviously touched the core files somewhere and messed up playerdata saving.[/QUOTE]
Still showing up as the same errors, im just going to delete the server and start from square one, might be for the best, Thanks though guys.
Sorry, you need to Log In to post a reply to this thread.