Page 1 of 1

[kovarex] [0.16.45] Replays desync with console commands

Posted: Sun May 27, 2018 11:35 pm
by DaveMcW
Steps to reproduce:

1. Start a new game with replays enabled.
2. Run a console command:

Code: Select all

/c game.print("Hello world")
3. Save the game and load it as a replay.
4. The command runs successfully, but the replay stops with a desync notice.

Re: [kovarex] [0.16.45] Replays desync with console commands

Posted: Mon May 28, 2018 11:33 am
by kovarex
I tried it and there was no desync.

Re: [kovarex] [0.16.45] Replays desync with console commands

Posted: Mon May 28, 2018 3:03 pm
by DaveMcW
I'm running Ubuntu 18.04, does that have something to do with it?
factorio-current.log
Here is a replay that desyncs:

Re: [kovarex] [0.16.45] Replays desync with console commands

Posted: Mon May 28, 2018 3:17 pm
by kovarex
Do you also have it when you write:

Code: Select all

/c game.player.print("Hello world")
?

Re: [kovarex] [0.16.45] Replays desync with console commands

Posted: Mon May 28, 2018 4:00 pm
by DaveMcW
Yes, every command I tried desynced.

Even this:

Code: Select all

/silent-command x = 1 + 2

Re: [kovarex] [0.16.45] Replays desync with console commands

Posted: Mon May 28, 2018 4:01 pm
by Oxyd
Thanks, fixed in 0.16.46. It was related to the “running commands will disable achievements” message.