Page 1 of 1

BUG? Load saved game loses record state

PostPosted: 30 Jul 2012, 08:48
by acme_pjz
When load saved games, the record state (including player's record and shadow's movings) are not restored. This will cause out of sync in level replay :( For example, press space then walk to checkpoint, press down, then press F3 to load saved game, you'll find that black dots are missing. Walk a bit and press space again then go to exit you'll find that level replay does not match the actual game :( This bug already exists in V0.3 :(

[EDIT] Checked the SVN history, looks like it already exists in the first time checkpoint introduced...

Re: BUG? Load saved game loses record state

PostPosted: 30 Jul 2012, 10:12
by Edward_Lii
Hello acme_pjz,

acme_pjz {l Wrote}:When load saved games, the record state (including player's record and shadow's movings) are not restored. This will cause out of sync in level replay :( For example, press space then walk to checkpoint, press down, then press F3 to load saved game, you'll find that black dots are missing. Walk a bit and press space again then go to exit you'll find that level replay does not match the actual game :( This bug already exists in V0.3 :(

This doesn't sound good. :(

We can't do anything about the bug in the releases any more, but we should fix this bug.
Simply adding playerButtonSaved should do the trick, the line vector is purely for visual feedback to the player.
We'd still need a lineSaved vector because reconstructing it from the playerButton vector will be a massive pain.

EDIT: Fixed in svn rev. 493. ;)

Re: BUG? Load saved game loses record state

PostPosted: 30 Jul 2012, 10:40
by acme_pjz
Another aspect of this bug left unfixed: When shadow is moving, save the game then press F3 to load game, then shadow will not continue to mimic remaining moves :| This also needs to save...

Re: BUG? Load saved game loses record state

PostPosted: 30 Jul 2012, 10:54
by Edward_Lii
Hello acme_pjz,

acme_pjz {l Wrote}:Another aspect of this bug left unfixed: When shadow is moving, save the game then press F3 to load game, then shadow will not continue to mimic remaining moves :| This also needs to save...

Sorry, missed that, it should be fixed in svn rev. 494. ;)

Re: BUG? Load saved game loses record state

PostPosted: 30 Jul 2012, 11:43
by acme_pjz
Yes, it looks like fixed. ;)