Page 1 of 1

[0.12.4][posila] Desync-prone map on headless server

Posted: Thu Aug 20, 2015 4:40 am
by Narc
  • The save: [link removed]
  • The mods: [link removed]
It seems to go into an eternal desync loop whenever:
  1. The save is loaded into a headless server
  2. Only one player connects
I've apparently managed to rescue it by loading it into single-player and resaving it, then pushing that back up for the server to serve, but something's clearly wonky. I hope it's not my mod's fault.

Re: [0.12.4 Modded] Desync-prone map when used with headless server

Posted: Thu Aug 20, 2015 7:27 am
by ReijMan
My ShadowMega server had the same desync problem.
Was fixed after I went from the 3.8 to 4.0 version of the pack.... See if you can update your mods?

Re: [0.12.4 Modded] Desync-prone map when used with headless server

Posted: Thu Aug 20, 2015 9:33 am
by Narc
I wasn't too attached to the world, and 5dim's isn't that excellent, so I settled for dropping the world. Nonetheless, it was relatively easy to work around by the process I already mentioned: load the world into a single-player game, then resave it and upload it to the server.

Re: [0.12.4][posila] Desync-prone map on headless server

Posted: Fri Aug 28, 2015 12:19 pm
by posila
Thanks for the report and for including save and your mods. I got desync almost immediately, but I didn't experience desync loop (that may be because of our debug version detected the desync earlier that normal release does). The problem seems to be roboport wagon from 5dim-trains mod. It creates invisible entities "electric-pole-trans" and "roboport-trans" and on server those entities were duplicated (there were two copies of them) and on client side there were no duplicates. I'll investigate it some more sometime but right now this doesn't have high priority.

Re: [0.12.4][posila] Desync-prone map on headless server

Posted: Fri Aug 28, 2015 3:31 pm
by Narc
posila wrote:[...]I'll investigate it some more sometime but right now this doesn't have high priority.
Fully understandable, thank you for looking into it. I'm somehow unsurprised to learn what the problem was. Either way, it's not a problem -- that world is now abandoned.

Re: [0.12.4][posila] Desync-prone map on headless server

Posted: Tue Sep 08, 2015 2:18 pm
by posila
I investigated more and there is definitely something wrong in 5dim-trains. There is probably bug in tracking special 5dim wagons, because single roboport wagon is tracked as two wagons and that causes all sorts of problems to the mod, which eventually results to desync.
Moving the thread to "Won't fix" as it is not a bug in Factorio.

Re: [0.12.4][posila] Desync-prone map on headless server

Posted: Tue Sep 08, 2015 4:21 pm
by Narc
posila wrote:Moving the thread to "Won't fix" as it is not a bug in Factorio.
Works for me, I'm gonna reclaim my disk space now.