learuis
3
Tested via the following steps:
- Generated a new world with serverruntime configured properly
- Created a new character
- Placed thralls in creative mode
- Shut down the server, took a backup as backup_game.db
- Restarted the server
- Logged in, deleted that character
- Created a new character, verified that I don’t own those thralls.
- Shut down the server
- Restarted the server.
- Log in to see that thralls have been decayed in the world.
- Shut down the server.
- Downloaded the game.db to inspect: Saw that all those thralls had been deleted (eventType 179).
- (Deleting the character simulated decay from time, which is the same eventType whether its time decay or char deletion decay)
- Modified this script to attach the backup_game.db from proper file path
- Executed script line by line
- Wrote changes to game_db.
- Reuploaded game.db to the server
- Crossed fingers
- Restarted server
- Thralls have been restored.
- Shut down server again to verify that the properties table for impacted thralls had reset DecayStartingTime to a reasonable value
2 Likes