BUG? Load saved game loses record state

BUG? Load saved game loses record state

Postby acme_pjz » 30 Jul 2012, 08:48

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...
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: BUG? Load saved game loses record state

Postby Edward_Lii » 30 Jul 2012, 10:12

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. ;)
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Re: BUG? Load saved game loses record state

Postby acme_pjz » 30 Jul 2012, 10:40

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...
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: BUG? Load saved game loses record state

Postby Edward_Lii » 30 Jul 2012, 10:54

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. ;)
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Re: BUG? Load saved game loses record state

Postby acme_pjz » 30 Jul 2012, 11:43

Yes, it looks like fixed. ;)
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Who is online

Users browsing this forum: No registered users and 1 guest