Closed nicholasveronico closed 3 years ago
Can you log into your database and send me the table structure that you are currently using for the rollbacks?
Can you log into your database and send me the table structure that you are currently using for the rollbacks?
Is this what you mean?
Yes, that is almost it. I need the structure of one of the tables. Like for example, backup_deaths. Once viewing the table, click on this tab and show me what you see there.
Yes, that is almost it. I need the structure of one of the tables. Like for example, backup_deaths. Once viewing the table, click on this tab and show me what you see there.
Oh my bad. Here's all of them: Force Backups Joins Quits World Changes Deaths
Yes, this is what I guessed hence why I asked for the table structure: you have been using the plugin since before the latest update which fixed this potential issue. The inventory saves now use LONGTEXT instead of TEXT when creating a table. (reference commit: https://github.com/TechnicallyCoded/Inventory-Rollback-Plus/commit/e65f1e2181e25e28203938e597fc4dfa67eef1ca).
If you know how to modify table structures you can switch them over. Otherwise, makes sure you have a backup of all important data and you can delete the tables for the IRP plugin. Upon creation you should see that the main_inv, armour, ender_chest, etc.. are now LONGTEXT.
Yes, this is what I guessed hence why I asked for the table structure: you have been using the plugin since before the latest update which fixed this potential issue. The inventory saves now use LONGTEXT instead of TEXT when creating a table. (reference commit: e65f1e2).
If you know how to modify table structures you can switch them over. Otherwise, makes sure you have a backup of all important data and you can delete the tables for the IRP plugin. Upon creation you should see that the main_inv, armour, ender_chest, etc.. are now LONGTEXT.
Alright I have altered the tables and I think that fixed it. I should also mention that my backups still save with the GMT timezone when I have it set to EST in the config. Any idea why?
All backups should save using universal unix timestamps. However, when displaying the time to the user, it should translate that. Make sure there is no mention of defaulting back to GMT in your log file. (Search for GMT in latest.log)
Getting this in the logs:
[07:59:43] [Server thread/WARN]: [InventoryRollbackPlus] Time zone ID "EST" in config.yml is not valid. Defaulting to "GMT"
Edit: Didn't realize it was GMT+/-# for the timezone. Figured it out now. Thanks so much for all the help! :)
Didn't realize it was GMT+/-# for the timezone
I think this should be made more clear (maybe a little note in the config). @TechnicallyCoded
Bug description:
Whenever a player joins, quits, etc. or when I try to force save a player, I get the following error:
Server details:
How to reproduce:
A player having an ender chest filled with all shulkers, which causes a sql error in the console whenever they leave, join, die or they are force saved.
What was expected:
I expect there not to be a sql error and for the inventories, as well as the ender chests to be saved when the player leaves, joins, dies, or is force saved.
Screenshots, logs & other:
https://pastebin.com/BjJHj4Fd
Additional info:
N/A