dmitrys wrote: ↑February 26th, 2021, 5:14 pm
That means there is a frame where you can do a quick save just before kid dies.
True...
dmitrys wrote: ↑February 26th, 2021, 5:14 pm
That can most likely be fixed with
[...]
Yes, but it's difficult to test... Some kind of code does that on behalf of us? For example, some code which would be Quicksaving with every tick or something, so that we can just focus on dying?
And then stop that Quicksaving code and check the last file which was Quicksaved.
Re: Bug in Level 13 during Jaffar music
Posted: February 26th, 2021, 8:36 pm
by dmitrys
I have a PoP2 like Shift-K cheat combo in my mod for testing those scenarios that takes a hit point from the kid. It makes it easy to reproduce the issue.
A possible solution could be to allow multiple save states, like in most emulators.
That way, even if your last save is right before death, you can continue from an earlier save.
David wrote: ↑February 27th, 2021, 2:09 pm
A possible solution could be to allow multiple save states, like in most emulators.
That way, even if your last save is right before death, you can continue from an earlier save.
Yes, that's a good idea...
Re: Quicksave right before the Prince died
Posted: February 28th, 2021, 5:04 am
by dmitrys
I did implement an auto-save in the beginning of each level (except # 1) in my mod. But it would be cool to have Shift-F6/Shift-F9 allow multiple named quick saves similar to the PoP2 save/load menu.
Re: Quicksave right before the Prince died
Posted: April 18th, 2021, 4:35 am
by atrueprincefanfrom18
If this is not yet fixed, it seems there's another bug. If you Quickload and die, after a few seconds, the game would restart thinking that you have died. I guess it's done here. The game thinks the kid is not alive, so it forces to press the button and restart the game.
Here's a sample Quicksave file. I believe I had this issue without using Quicksave too. Somehow pressing CTRL + A at a precise timing doesn't process the variables or something like that, and the game get's confused.
The game should not quick save if "Char.alive >= 0 || hitp_curr == 0".
"Char.alive" can act as a counter that asks for the player to press the key after prince dies.
Re: Quicksave right before the Prince died
Posted: April 18th, 2021, 10:49 am
by David
atrueprincefanfrom18 wrote: ↑April 18th, 2021, 4:35 am
If this is not yet fixed, it seems there's another bug. If you Quickload and die, after a few seconds, the game would restart thinking that you have died. I guess it's done here. The game thinks the kid is not alive, so it forces to press the button and restart the game.
Here's a sample Quicksave file. I believe I had this issue without using Quicksave too. Somehow pressing CTRL + A at a precise timing doesn't process the variables or something like that, and the game get's confused.
The Quicksave is for level 14.
When the prince dies on level 14, Ctrl+A doesn't stop the "Press Button to Continue" timer.
Ah, I did not look at the quicksave. Those 2 "text_time" variables have 2 magic values that can cause level restarts. And one of them is 36 (3 sec) which is easy to pick if you want to display a custom text message. Then all of the sudden the level restarts.