News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Losses of synchronisation in online play

Started by freddyhayward, August 19, 2020, 09:59:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Phystam

Ah yes, I have observed the same issue related to the override settings...
I thought that the desync is specification then...

Vladki

Stephenson Siemens is running with override = 0
It disconnects immediately, debug says:

Warning: karte_t:::do_network_world_command:    disconnecting due to checklist mismatch:
server=[ss=88 st=11 nfc=0 rand=391693251 halt=4135 line=1 cnvy=2049
        ssr=1212207547,0,1212207547,1212207547,4173020357,4173020357,4173020357,0
        str=4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,618531044
        exr=618531044,391693251,391693251,0,0,0,0,0
        sums=1593254915,2629383893,284093,25440,4,49,14971,14982]
client=[ss=88 st=11 nfc=0 rand=391693251 halt=4135 line=1 cnvy=2049
        ssr=1212207547,0,1212207547,1212207547,4173020357,4173020357,4173020357,0
        str=4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,4173020357,618531044
        exr=618531044,391693251,391693251,0,0,0,0,0
        sums=1593254915,2629383893,284093,25440,6,49,14971,14982]

Warning: karte_t::network_disconnect(): Lost synchronisation with server. Random flags: 0

Diffference is in 5th field of sums: 4 vs 6

TurfIt


Vladki

Quote from: TurfIt on September 14, 2020, 08:03:59 PM
Server set for 4 threads, client 6...

Oh, thanks that helped... I'm just wondering if that was not checked before, as I have not touched threads config for long time.
However - would it be possible to send this value from server to clients and override clients setting with server config?