Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Savegame made with EasyRPG can contain invalid “battleanim_target” id and will crash RPG_RT.exe #2597

Closed
florianessl opened this issue Jul 26, 2021 · 2 comments · Fixed by #2708
Milestone

Comments

@florianessl
Copy link
Member

florianessl commented Jul 26, 2021

Name of the game:

Sternenkindsaga (1.1.3)

Player platform:

Windows

Attach files (as a .zip archive or link them)

Sternenkindsaga - Version 1.1.3 - Saves.zip

Describe the issue in detail and how to reproduce it:

(Original thread with more details can be found here: https://community.easyrpg.org/t/save-game-made-with-easyrpg-contains-invalid-battleanim-target-id-and-will-crash-rpg-rt-exe/992)

This seems to be caused by a map transition while a BattleAnimation is playing. A currently running BattleAnimation from a previous map might be saved into the .lsd with battleanim_active=T and the battleanim_target is set to an Event ID from the previous map. After loading the save, RPG_RT.exe will try to execute the animation on the given ID and will crash with “Invalid event specified” if no Event is found..
Steps to reproduce:
In Sternenkindsaga, enter the Map 0109 "Vorplatz" from the west and immediately go through the door north, go into the custom menu and save your game. If done quickly enough, this will create a corrupt save file which cannot be loaded in RPG_RT.exe. The game is trying to display the fountain animation inside with an event target that doesn't exist.

@Ghabry
Copy link
Member

Ghabry commented Nov 14, 2021

@fmatthew5876

As the RPG_RT.exe internals expert:
Do you know anything about the behaviour of Battle Anims on map change?
Are they just set to 0?

@CherryDT
Copy link

CherryDT commented Dec 3, 2021

battleanim_active is simply set to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants