Hello,
I installed this plugin the day it came out. One of my players spent ALL of their RP on Skins, which eneded up being close to 100 skins. The skins were lost due to the issue with the OG version of the plugin and restarting the Server.
Thankfully I have a backup of the data folder, as I frequently backup my Server. I'm attempting to restore the data to the players new Skin Shop data file, though the plugin is not seeing this. I have tried unloading the plugin, updating the users data file, then reloading the plugin. When I do this, the player is not able to see any of their purchased skins. If they purchase a new skin, the data file updates and removes all of the data copied from the old file. Is there something that's blocking the data to be restored?
Restore Skins data
Make sure you restore the plugin is unloaded before restoring the data file; and make sure the data file is named "STEAMID_items.json". Then load the plugin. If you are still having issues then upload the datafile to pastebin or somewhere so I can have a look.
Merged post
Also try setting your loglevel (in plugin config) to "info"....because if the file is 100s of skins that's a lot of data to be dumping into console...maybe it's having issues with that.
Rustoholics
Make sure you restore the plugin is unloaded before restoring the data file; and make sure the data file is named "STEAMID_items.json". Then load the plugin. If you are still having issues then upload the datafile to pastebin or somewhere so I can have a look.
Merged post
Also try setting your loglevel (in plugin config) to "info"....because if the file is 100s of skins that's a lot of data to be dumping into console...maybe it's having issues with that.
Hello,
I am unloading the plugin, restoring the file then reloading the plugin with no luck. I've also changed the loglevel to "info" and tested, though the player is not seeing anything in their Skins list. I've tried restoring the data to my file as well and experience the same issue. Here's a link to the Datafile. Thanks
https://www.dropbox.com/s/li4ljs93cqz97yb/76561199155240922_items.json?dl=0
Did you make some manual edits to the category list?
Because for some reason this datafile contains jacket skins which is in the "Vagabond Jacket" category, but in the datafile the text is changed to just "Jacket", but i don't see how this can occur unless you have manually edited the list?
So this error is because "Jacket" does not align to any category in the list. Changing all the "Jacket" categories in the json file to "Vagabond Jacket" would fix the error.
If you want to change the display name in the menus then edit the language file instead.
Rustoholics
Did you make some manual edits to the category list?
Because for some reason this datafile contains jacket skins which is in the "Vagabond Jacket" category, but in the datafile the text is changed to just "Jacket", but i don't see how this can occur unless you have manually edited the list?
So this error is because "Jacket" does not align to any category in the list. Changing all the "Jacket" categories in the json file to "Vagabond Jacket" would fix the error.
If you want to change the display name in the menus then edit the language file instead.
Ah yes, I did change the "Vagabond Jacket" category to 'Jacket', as players were getting confused what the Vagabond Jacket was. I have since changed the categories back to Vagabond (in the Lang File and data file for the player), though the issue persists. Are you able to restore the datafile to your player? The datafile erases and starts from scratch as soon as the player purchases a new item from the Skin Shop.
Thank you,
You would need to change every instance of "Category": "Jacket" to "Category": " "Vagabond Jacket" in the items.json file in order to make that file work again for the user
Yes, this is exacly what I'm doing. Unload the plugin > Restore the users Datafile and make sure "Category": "Vagabond Jacket" is set > Reload the pluginRustoholics
You would need to change every instance of "Category": "Jacket" to "Category": " "Vagabond Jacket" in the items.json file in order to make that file work again for the user
The Players Data File remains intact when reloading the plugin, though the player doesnt see anything in their Skins List. Once the player purchases a new skin or pack, the data file is then reset, showing just that one item that was purchased. Have you tried replicating this?
Send me the updated user data file (the one where you already changed all the categories), and i'll take a look. I'm guessing that there are still some items which have an incorrect category name in the data file.
Rustoholics
Send me the updated user data file (the one where you already changed all the categories), and i'll take a look. I'm guessing that there are still some items which have an incorrect category name in the data file.
https://www.dropbox.com/s/li4ljs93cqz97yb/76561199155240922_items.json?dl=0
Thank you
Merged post
Oh, I got it to work.. Weird, not sure what changed haha. Thanks for your help!