Abort Events After Load

UPDATE:

I have saved games with old event instances that are ruining the saves. If there was a script that just aborts the current event as soon as a game is loaded, I think that would completely solve my problem. It wouldn't need to be all that complex - it can abort events indiscriminately. I only need to recover one set of saved games and I can design around this problem in the future.

ORIGINAL POST:

This is either an odd problem, or I can't find the right terms to search.

I am releasing a game in installments and players transfer their save files from game to game. The previous version of the game ended in a cliffhanger and players had a chance to save mid-event. Now when I test loading from that save, what runs is the previous version of the event. This occurs regardless of if I change the event or delete it entirely. And unfortunately, this prevents the player from progressing, meaning their last save is stuck.

I have no idea what to do here, but I would like to make those saves workable if at all possible. Players probably have other saved games, but I'm sure some won't and they'll be angry.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


A save file contains the current map instance, which includes all the current (as at time of save) events, which includes their list of commands and position in that list. When you load a save file, it picks up where it left off. It processes the rest of the commands that were in the event that was mid-way through running when the save was made.


If you don't want this to happen, you would need a script mod that will cancel any in-progress events when a save file is loaded. But then that could cause other issues if you have any events in your new game that open the save screen then continue to process commands.
Try this:

http://forums.rpgmakerweb.com/index.php?/topic/44566-post-game-events/?p=442149

Edit:

Just realise you are using an old saved file and not trying to build a new one. The informations is already saved in the old version so i am not sure if the new one will work even with that script.

But it's still worth a try(if you copied your map from the old version using the same map id and event ids), and at least with that script set up, your future game saves will not run into this problem any more.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

A save file contains the current map instance, which includes all the current (as at time of save) events, which includes their list of commands and position in that list. When you load a save file, it picks up where it left off. It processes the rest of the commands that were in the event that was mid-way through running when the save was made.

If you don't want this to happen, you would need a script mod that will cancel any in-progress events when a save file is loaded. But then that could cause other issues if you have any events in your new game that open the save screen then continue to process commands.
Okay, if this needs to be done by script, I've changed my title and the OP to better reflect what I need. Thank you for helping me figure it out. ^^ It's fine if the script cancels any in-progress events, I can event around that.

Try this:

http://forums.rpgmakerweb.com/index.php?/topic/44566-post-game-events/?p=442149

Edit:

Just realise you are using an old saved file and not trying to build a new one. The informations is already saved in the old version so i am not sure if the new one will work even with that script.

But it's still worth a try(if you copied your map from the old version using the same map id and event ids), and at least with that script set up, your future game saves will not run into this problem any more.
Thank you for the suggestion, but yeah, your script is doing a slightly different thing. It was worth trying, though, and I definitely won't make this mistake again.
Well.. it's do-able (aborting ALL events after load)

But since this is just a hot-fix it can cause future problem like disallow you to do continuous battle/story-line in between event saves.

Only distribute the hot-fix copies to your players that has problem, ask them to use the hot-fix copy to make new saves, then transfer to your normal copy, and use the script above for your normal copies in future to avoid this kind of problem.

Hot-fix Script:

Code:
#==============================================================================# ■ Meow Face Abort Events after Load (Hot-Fix)#------------------------------------------------------------------------------# Abort all running events after loading#==============================================================================# How to Use:# Plug & Play, Put this script below Material and above Main#==============================================================================class Game_Interpreter  attr_reader   :list  attr_accessor   :indexendclass Scene_Load < Scene_File  alias meowface_load on_load_success  def on_load_success    meowface_load    $game_map.interpreter.index = $game_map.interpreter.list.size  endend
Ah, that seems to work! Many thanks!
You're welcome! 😉

Original thread: https://forums.rpgmakerweb.com/threads/abort-events-after-load.45006/