Page 1 of 1

[0.11.22] Recurring desync issues in modded multiplayer

Posted: Fri Jun 12, 2015 4:33 pm
by Berserker55
Hello, a friend and me play modded multiplayer factorio. For some long stretches of time all works perfectly, othertime we get stuck in desync loops or get every-once-in a while desyncs. We have clocked over 15 hours, but desync issues seem to increase as time goes on, we're now at a point of barely playable.
We both run Factorio 64 Bit 0.11.22; one on ubuntu, one on windows 7

Modlist:

Code: Select all

Factorio\mods

12.06.2015  16:49    <DIR>          .
12.06.2015  16:49    <DIR>          ..
12.06.2015  16:00    <DIR>          AdvancedEquipment_0.3.9
12.06.2015  16:00    <DIR>          air-filtering_0.1.1
12.06.2015  16:00    <DIR>          AlienPlant_0.1.2
12.06.2015  16:00    <DIR>          BetterElectricPole_0.0.3
12.06.2015  16:00    <DIR>          bobassembly_0.1.8
12.06.2015  16:00    <DIR>          bobelecoveride_0.1.3
08.06.2015  22:35         3.571.263 boblogistics_0.1.7.zip
12.06.2015  16:00    <DIR>          bobmodules_0.2.9
12.06.2015  16:00    <DIR>          bobores_0.6.7
12.06.2015  16:00    <DIR>          bobplates_0.7.11
12.06.2015  16:00    <DIR>          bobpower_0.1.8
12.06.2015  16:00    <DIR>          bobwarfare_0.1.4
12.06.2015  16:00    <DIR>          bulldozer_1.0.5
12.06.2015  16:00    <DIR>          Compression Chests_1.3.6
12.06.2015  16:00    <DIR>          CORE-DyTech-Core_1.1.3
12.06.2015  16:48           160.498 CyberChest_0.9.0.zip
12.06.2015  16:00    <DIR>          Equalizer_Chests_1.0.0
12.06.2015  16:00    <DIR>          Explosive Termites_1.1.5
12.06.2015  16:00    <DIR>          FARL_0.2.91
12.06.2015  16:00    <DIR>          Fluid Void_1.0.0
12.06.2015  16:00    <DIR>          Force Fields_1.0.1
12.06.2015  16:00    <DIR>          Landfill_2.1.4
12.06.2015  16:00    <DIR>          Larger Inventory_1.0.0
12.06.2015  16:00    <DIR>          MAIN-DyTech-Machine_1.0.3
12.06.2015  16:00    <DIR>          MAIN-DyTech-Power_1.0.1
12.06.2015  16:00    <DIR>          MAIN-DyTech-War_1.0.2
12.06.2015  17:05             4.033 mod-list.json
21.01.2015  16:11        10.711.636 RailTanker_0.0.8.zip
12.06.2015  16:00    <DIR>          recyclingplant_1.0.0
12.06.2015  16:00    <DIR>          replacer_1.0.3
12.06.2015  16:00    <DIR>          replicators_1.0.26
08.06.2015  22:39            25.089 rso-mod_1.0.19.zip
12.06.2015  16:00    <DIR>          Smart-Circuit-Systems_0.3.8
08.06.2015  22:43         2.719.836 SupremeWarfare_1.0.3.zip
12.06.2015  16:00    <DIR>          TGPlayers_0.0.2
12.06.2015  16:00    <DIR>          TGWindDisplay_0.0.1
12.06.2015  16:00    <DIR>          ThunderGui_0.2.3
12.06.2015  16:00    <DIR>          Treefarm-AC_0.1.5
12.06.2015  16:00    <DIR>          Treefarm-Caffeine-Addon_0.3.2
12.06.2015  16:00    <DIR>          Treefarm-Lite_0.1.5
12.06.2015  16:00    <DIR>          tree_collision_0.2.0
12.06.2015  16:00    <DIR>          yi_engines_0.1.2
12.06.2015  16:00    <DIR>          yi_pfw_0.0.4
I have 404 MB of desync reports. Here a recent one:
https://www.dropbox.com/s/iesfswoquwi2m ... 09.7z?dl=0

Also, how to detect which mod might be causing a desync?


Additionally, here the mods:
https://www.dropbox.com/s/oq6sxrh2kcb8e ... ar.gz?dl=0
Slightly outdated; Cyberchests is older than we use in there, I believe.
Mod"pack" only for debugging purposes, I do not have permissions to release these mods as an official pack, nor do I own any content.

Re: Recurring desync issues in modded multiplayer

Posted: Sun Jun 14, 2015 2:33 pm
by bobingabout
Desyncs at this stage of development would most likely be caused by scripts, so you can probably rule out my mods, because I don't use scripts. I know for a fact that some of the mods in that list do use scripts. It's likely just one, or two from that whole list that are causing issues.
Another possibillity would be related to different versions of factorio (Linux vs Windows versions), though those bugs are supposed to have been ironed out already.

The only real way to track down the issue at the moment with the information you've provided is if the devs were to play your game, with the same setup, a savegame would significantly speed up the bug finding progress.
narrowing down the cause (playing with only a couple of mods at a time, instead of that whole mod pack) would also help track it down.

Re: Recurring desync issues in modded multiplayer

Posted: Sun Jun 14, 2015 11:27 pm
by Berserker55
I did include more data, as an edit, but messed that edit up a bit. Should be fixed now.
Savegame currently resides on my friend's machine, but I should get a hold of that soon.

Re: Recurring desync issues in modded multiplayer

Posted: Mon Jun 15, 2015 2:27 pm
by Berserker55
Found one definite trigger; placing tanks (the drivable kind) results in a desync within 3 seconds. And results in a desync loop.
Additionally, loading a world with tanks in, also desync loops. Cars and trains work though.

Dytech Laser Tank has the same problem.

Similarly, using CTRL-clicks with any inventory (chests, trains, cars) can randomly cause a desync - not always. But that doesn't create a loop.

Also, here's the savegame:
https://www.dropbox.com/s/4fw4pwsc0zjai ... d.zip?dl=0

Re: Recurring desync issues in modded multiplayer

Posted: Fri Jun 19, 2015 10:53 pm
by Kluie
I have found that if you or your friends are using either the 32 or 64 bit versions you might have Desync problems I have found this to be the case My friend was running the 64 bit version and I was running the 32 bit and we kept getting the Desnc problem I have duplicated the problem using two computers running the 32 and 64 bit versions and it desynced not once but every time during muti-play. the best thing I can tell you is to see if you or your friend are running the 32 or 64 bit versions and change it to one or the other by downloading the appropriate one. Hope this helps

Re: Recurring desync issues in modded multiplayer

Posted: Sun Jun 21, 2015 9:21 pm
by Berserker55
As is stated in the OP, we both run 64 Bit

Re: Recurring desync issues in modded multiplayer

Posted: Mon Jun 22, 2015 9:29 am
by Berserker55
We found that the main problem was Equalizer Chests. We still get desyncs from tanks and can't pin that down though, but the every so often random desyncs are gone since equalizer chests is gone.

Re: [0.11.22] Recurring desync issues in modded multiplayer

Posted: Wed Jul 29, 2015 4:42 pm
by kovarex
As we fixed and change huge amount of things since 0.11 Let me move this bug to won't fix, as there is very big chance it is not relevant anymore.