Errors in replays of reloaded games
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 876
- Joined: November 28th, 2008, 6:18 pm
Errors in replays of reloaded games
this is the original text, obsolete
The problem:
Replays of some scenarios produce OOS errors if they were saved and reloaded in the middle of the game:
you save in point (A) then load it and save in point (B). Then you try to replay (B) but you get errors.
(It happens especially (but not only) with add-ons that create random variables by "rand=")
Edit: It looks like a clear and simple bug:you save in point (A) then load it and save in point (B). Then you try to replay (B) but you get errors.
(It happens especially (but not only) with add-ons that create random variables by "rand=")
I ran this test: I saved a game (let's name the savefile save_1), loaded it and saved immediately (save_2). As I said above, the replay of save_1 works, the replay of save_2 doesn't work.
One would suppose save_1 and save_2 should be almost identical, but they aren't:
- in save_1 the container
replay_start.variables
is empty - in save_2 the container
replay_start.variables
is not empty (and contains all variables probably)
replay_start.variables
then the replay of save_2 works correctly.(tested with 1.8.5 + 1.9.3, Win XP Pro)
More info: https://gna.org/bugs/?19258
for scenario creators - how to prevent this bug has any effect
Last edited by SlowThinker on February 1st, 2012, 1:28 am, edited 2 times in total.
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
-
- Posts: 876
- Joined: November 28th, 2008, 6:18 pm
Re: Errors in replays of reloaded games
For players:
Edit: added info in the starting post
How to correct a savefile of a reloaded game, so that the replay works
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
Re: Errors in replays of reloaded games
This can be fixed very easily. Please fix it someone.
Playing a local game, there were a few times my friend and I stopped and reloaded later.
I manually did it:
1. gunzip replay
2. Find [replay_start] and find [variables], note start line number (Line 13448 in the example file)
3. Now find [/replay_start] and go backwards, finding [/variables], note end line number (Line 27426 in the example file)
4. Delete everything in between start and end lines.
5. gzip replay text
Start watching replay and it works.
Undo previous changes, re-watch replay, OOS appears on turn 1 after pressing start.
Playing a local game, there were a few times my friend and I stopped and reloaded later.
I manually did it:
1. gunzip replay
2. Find [replay_start] and find [variables], note start line number (Line 13448 in the example file)
3. Now find [/replay_start] and go backwards, finding [/variables], note end line number (Line 27426 in the example file)
4. Delete everything in between start and end lines.
5. gzip replay text
Start watching replay and it works.
Undo previous changes, re-watch replay, OOS appears on turn 1 after pressing start.
- Attachments
-
- SXRPG_EvilDead_Zeus_MCP_Expert_replay.gz
- Original file
- (367.53 KiB) Downloaded 190 times
-
- SXRPG_EvilDead_Zeus_MCP_Expert_replay_good.gz
- Manually correct file
- (335.21 KiB) Downloaded 186 times
-
- Posts: 876
- Joined: November 28th, 2008, 6:18 pm
Re: Errors in replays of reloaded games
The bug is waiting for a fix already, see a link to gna.org in my first post.MCP wrote:This can be fixed very easily. Please fix it someone.
(Also Mabuse can prevent the bug in the SXRPG add-on.)
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums