Page 1 of 1

[Oxyd] [1.1.6] Replay data discontinue after save when using non-blocking save

Posted: Tue Dec 22, 2020 12:29 pm
by QuaBBy
Hey,

quite simple: Open a new game and enable replay data to be recorded.
After saving the game, open it once more continue playing for a little and save once again.

When you replay the two times saved gamestate, he replays until the first save and stops doing anything.

[edit] Sorry, it is not as easy as I thought. Just tried the above. The key seems so be to save twice without reloading. When loading the second save file, he runs until the first save and stops doing anything. He even gave me an error once:

14732.439 Error MainLoop.cpp:1281: Exception at tick 915: Unrecognized InputAction code 255

at the time of the first save during replay.

Greetings,
QuaB

Re: [1.1.6] Replay data discontinue after save

Posted: Mon Jan 04, 2021 6:03 pm
by Rseding91
Thanks for the report however I don't seem to be able to reproduce any issues.

Can you give the exact series of steps you're doing? Maybe record a video of it?

Re: [1.1.6] Replay data discontinue after save

Posted: Sun Jan 10, 2021 6:26 pm
by QuaBBy
Sure gladly,

I'll try to set up a video tomorrow. For now:

1. Create new game.
2. Play some seconds
3. Save game to a file.
4. Play some seconds
5. Save Game to a different file.
6. Quit Game.
7. Replay the saved game from 5.

It will replay until the the saved game from 3.
Just validated with 1.1.8 aswell.
Sometime i got an Error message popping up, with the same text as mentioned above.

Greetings,
Quabby

Re: [1.1.6] Replay data discontinue after save

Posted: Sun Jan 10, 2021 8:17 pm
by Rseding91
When I do exactly that; it works perfectly. See attached video.

Are you sure you aren't loading the replay from the first save? Do you have any mods installed?
uNRDorLYmX.mp4
(16.78 MiB) Downloaded 145 times

Re: [1.1.6] Replay data discontinue after save

Posted: Sun Jan 10, 2021 10:58 pm
by invisus
Tweak link for video:
Rseding91 wrote:
Sun Jan 10, 2021 8:17 pm

Re: [1.1.6] Replay data discontinue after save

Posted: Sun Jan 10, 2021 11:28 pm
by QuaBBy
Hey,

Thats weird!

You are doing everything correct.

I am on linux, no mods (activated) and starting it without steam.
save-bug.mp4
(14.56 MiB) Downloaded 113 times
factorio-current.log
(8.77 KiB) Downloaded 112 times

Re: [1.1.6] Replay data discontinue after save

Posted: Mon Jan 11, 2021 6:43 am
by Rseding91
Ah; you're doing it as a local-multiplayer game and you have non-blocking saving enabled. That's the difference. Testing it locally it works fine when not using non-blocking saving.

Re: [Oxyd] [1.1.6] Replay data discontinue after save when using non-blocking save

Posted: Mon Jan 11, 2021 8:13 am
by QuaBBy
True,
That works!

Thanks!

Re: [Oxyd] [1.1.6] Replay data discontinue after save when using non-blocking save

Posted: Tue Jan 12, 2021 4:22 pm
by Oxyd
Thanks, should be fixed in 1.1.9.