Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
VH1 heroine hangs when you go through the East Gate #1132
Name of the game:
Linux, Kubuntu 16.10
Attach files (as a .zip archive or link them)
Describe the issue in detail and how to reproduce it:
Load the saved game, then travel left a few squares. What should happen is that you pass through the gate.
What happens instead is that it soft locks up.
gdb only says:
Hi, thanks for the bug report. Unfortunately the gdb trace is useless here.
Well, with the savegame, rpg maker 2000 and the debugger we will likely be able to identy what causes the softlock.
Relevant events are ID: 160 (at (49,49), in the fountain) and ID: 102 (at (73,55), graphic is 移, page 7).
Basically E160 is a parallel event that checks if the player is in a certain location and writes a number representing the location to a variable, then turns itself off by turning off a switch. E102 is an auto-start event enabled by the variable that waits 0.1 s, does some stuff (essentially nothing for passing through the dirt path) and then turns itself off and E160 back on.
In RPG_RT, it looks like
but in Player the events run on the same frame
So the player never gets a chance to move? Somehow event 102 needs to start the next frame and not the same frame.
(Btw, if you delete the condition IsAnyEventStarting() from here you can keep playing.)
Based on @scurest observation I made a small test in the event tracer (parallel process that toggles a switch to enable autorun and does a wait), here is the output:
Frame 1 can be ignored, that's just switch-toggling to enable the PP.
For Parallel process with ID1 and Autorun ID2:
For parallel process with ID3 and autorun with ID2:
Result: The ID matters, only higher IDs will run this frame.