Also to warn the player on the title screen. I'd love for , after game is updated, for a simple popup to come up on the title to just say "Old saves are not compatible with new version. Old saves have been deleted".
Plugin to delete a save if game was updated!
JS Plugin RequestsHow are you updating the game? Why not just warn players that old saves will be incompatible with the new updates? I'd be spewin' if I took a game update and it deleted all my saved games without giving me any warning! Give me the choice to NOT take the update and finish the game I've already started.
The game has a splash screen at start up that says updates will remove old saves. I just am trying to figure out how to do that. I dont want to delete old saves when updating but the game errors out when trying to load a save from a previous update. It's being made for iOS. (iPhone)
well thanks for the help.. 🙁
Double-post notice: ninetendowii111
I suspect that your second post was meant a little sarcastically. If that is the case, please remember that no one is obliged to help, people do it in their 'free' time, if they want to and if they can. If Shaz has not deployed a game to Android, then she would not have any detailed knowledge of how to avoid this. She was simply suggesting an alternative approach to the problem, because by the time the splash screen comes up with that information, the player no longer has the option to decline the update until they have finished their current game. That is unlikely to be universally popular.
Have you tried identifying why save files are deleted? It might be better to solve that problem, rather than search for a splash screen telling the player that there is one.
I suspect that your second post was meant a little sarcastically. If that is the case, please remember that no one is obliged to help, people do it in their 'free' time, if they want to and if they can. If Shaz has not deployed a game to Android, then she would not have any detailed knowledge of how to avoid this. She was simply suggesting an alternative approach to the problem, because by the time the splash screen comes up with that information, the player no longer has the option to decline the update until they have finished their current game. That is unlikely to be universally popular.
Have you tried identifying why save files are deleted? It might be better to solve that problem, rather than search for a splash screen telling the player that there is one.
This generally means you have added a plugin that sets up its own data and saves it with the player's game progress. In the updated version, the plugin expects all saved games to have this data, and in earlier saves, it's not there.
There are two other solutions to this ...
The first is to not release your game then continue to make updates, or especially to not add new plugins after releasing your game.
The second is if you do release your game then continue to make updates, including adding new plugins, make sure the plugins can cater for save files created before the plugins were added. Most plugin authors probably don't do this, but you could get patches made for each of those that check a save file to see if the contents include the data for the plugin, and if it's not there, create it.
And yes, you gave me 24 hours after your reply before complaining that I hadn't given you a solution. I simply asked some questions and gave my opinion of how I think your idea will be received. I never said I would give you a solution. I have a job, and a family, and a life outside of this forum, and I don't appreciate your comment. As Kes said, everyone here does stuff in their own free time. Please be more patient with people. Sometimes they don't have the knowledge or skills. Sometimes they just don't have the time.
i apologize..
Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-delete-a-save-if-game-was-updated.115923/