Page 1 of 1
[boskid][0.18.32] Map desync after loading replay
Posted: Wed Jun 24, 2020 9:42 am
by Vainock
When I try to load the replay of my game I directly get a prompt that the map desynced.
- Desync.PNG (727.37 KiB) Viewed 4260 times
Re: [0.18.32] Map desync after loading replay
Posted: Thu Jul 02, 2020 7:26 pm
by boskid
Thanks for the report. I was able to reproduce this desync with following steps:
1/ New map in SP with replay
2/ save file
3/ transfer file to MP server for hosting
4/ host that save file. I was using auto_pause=false but should not be important. My player name was NOT in adminlist.
5/ as a client, join MP. This should make replay continue
6/ Save game from a client
7/ Run replay - it will desync shortly after player joins.
From what i found, issue is around admin flag. When map is hosted, server synchronizes admin permissions but this does not produce required input actions for a replay. That way during play first player is considered to be non admin (server removed that permission), but when trying to replay, there are no traces player lost admin flag (there is in PlayerJoinGame but is ignored and its already late) and so there is desync. By updating admin flag when player joins i was able to run replay of that file. However i do not want to touch replay system, maybe other dev will want to fix that particular issue.
Re: [boskid][0.18.32] Map desync after loading replay
Posted: Mon Aug 17, 2020 9:51 am
by JD-Plays
Can we get a BUMP please as we just encountered this same issue with 1.0
Re: [boskid][0.18.32] Map desync after loading replay
Posted: Wed Aug 26, 2020 3:56 pm
by boskid
Ok. Issue is now fixed for 1.1.0.