Page 1 of 1

[1.1.77] Desync

Posted: Sat Mar 18, 2023 6:14 pm
by Raphtalia935
2 players were on the server, i joined and then things started to desync for everyone, anyone who tries to join the server after will get desynced, at first we thought restarting the server fixed it, but when one player joined the desync happened, they have tried reinstalling the game and the problem persists

Re: [1.1.77] Desync

Posted: Wed Jun 28, 2023 11:19 am
by boskid
I have no idea how to proceed with this, there are 2 completly separate desyncs visible there, one is related to fluidbox min_temperature and max_temperature where there is a floating point number desync in at least 2 separate fluid systems, server had -3.4e+38 while client had -inf suggesting some issue with floating point math, there are also some differences about fluid speed values where server would store -0 while a client had +0, also floating point math error. I do not think those would trigger a desync on its own.
There is also a second difference related to "WGTaP" character's personal roboports as there is a construction robot range difference on a least significant bit of a float causing server to see radius of 21.213205 while the client saw a radius of 21.213203. This is definitely able to trigger a desync as characters are part of heuristc crc checks.

I would really like to know if you can reproduce this issue because other than that it looks like the server had some cpu brain fart causing various floating point errors.