The International Simutrans Forum

 

Author Topic: Losses of synchronisation in online play  (Read 3081 times)

0 Members and 1 Guest are viewing this topic.

Online Phystam

  • Devotee
  • *
  • Posts: 490
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
Re: Losses of synchronisation in online play
« Reply #105 on: September 14, 2020, 01:08:38 PM »
Ah yes, I have observed the same issue related to the override settings...
I thought that the desync is specification then...

Offline Vladki

  • Devotee
  • *
  • Posts: 3407
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Losses of synchronisation in online play
« Reply #106 on: September 14, 2020, 07:25:10 PM »
Stephenson Siemens is running with override = 0
It disconnects immediately, debug says:
Code: [Select]
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

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1389
Re: Losses of synchronisation in online play
« Reply #107 on: September 14, 2020, 08:03:59 PM »
Server set for 4 threads, client 6...

Offline Vladki

  • Devotee
  • *
  • Posts: 3407
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Losses of synchronisation in online play
« Reply #108 on: September 14, 2020, 08:23:04 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?