Random Desync in Multiplayer
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact:
Random Desync in Multiplayer
Hy!
Last night everything was working fine, then suddenly from now on my friend keeps desyncing in MP, and even after looking through the log I can't find anything useful. Everything is the same version.
Desync log : https://pastebin.com/Uv5fhx3L
Can anyone help?
Last night everything was working fine, then suddenly from now on my friend keeps desyncing in MP, and even after looking through the log I can't find anything useful. Everything is the same version.
Desync log : https://pastebin.com/Uv5fhx3L
Can anyone help?
Re: Random Desync in Multiplayer
Since the desync is happening almost instantly you can try removing mods until the issue is resolved, start with the most uncommon mods. Without the desync report there is nothing else anyone could do.
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact:
Re: Random Desync in Multiplayer
What do you need from the desync report? I thought the log was enough, sorry.
Re: Random Desync in Multiplayer
See my signature, deactivating the mods will be faster though.
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact:
Re: Random Desync in Multiplayer
Crash is occured on friend's side too.
Friend's dump : https://drive.google.com/file/d/10mSElD ... sp=sharing
Friend's log : https://drive.google.com/file/d/1WTSTfR ... sp=sharing
My log after heavy mode: https://drive.google.com/file/d/120Etf3 ... sp=sharing
Friends desync report zip: https://drive.google.com/file/d/1iDZhT1 ... sp=sharing
We tried to estimate what is causing the desync, also tried to turn off specific mods, but we found nothing on this.
Friend's dump : https://drive.google.com/file/d/10mSElD ... sp=sharing
Friend's log : https://drive.google.com/file/d/1WTSTfR ... sp=sharing
My log after heavy mode: https://drive.google.com/file/d/120Etf3 ... sp=sharing
Friends desync report zip: https://drive.google.com/file/d/1iDZhT1 ... sp=sharing
We tried to estimate what is causing the desync, also tried to turn off specific mods, but we found nothing on this.
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact:
Re: Random Desync in Multiplayer
Friend hosted the save, I got desynced too. No desync in vanilla or in new game hosted with the same mods.
Desync occurs even if we stand still and don't do anything.
Desync occurs even if we stand still and don't do anything.
Re: Random Desync in Multiplayer
Desync is because of VoidChestPlus 2.2.2
chests variable is not local
There is also GhostPlacerExpress 0.1.6 issue
revived_entity variable is not local
Code: Select all
local function init_chests()
-- gather all void chests on every surface in case another mod added some
global.VoidChests = nil
for _, surface in pairs(game.surfaces) do
chests = surface.find_entities_filtered{ name = "void-chest" }
for _, chest in pairs(chests) do
chest.infinity_container_filters = {}
chest.remove_unfiltered_items = true
end
end
end
There is also GhostPlacerExpress 0.1.6 issue
Code: Select all
if items_removed == 1 then
_, revived_entity, __ = player_selected.revive{raise_revive = true}
if revived_entity == nil then
Re: Random Desync in Multiplayer
Having someone proofread my code is always helpful, thanks.
My Mods: mods.factorio.com
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact:
Re: Random Desync in Multiplayer
Thanks for letting me know which mod causes it! <3boskid wrote: ↑Wed Dec 25, 2019 8:39 am Desync is because of VoidChestPlus 2.2.2chests variable is not localCode: Select all
local function init_chests() -- gather all void chests on every surface in case another mod added some global.VoidChests = nil for _, surface in pairs(game.surfaces) do chests = surface.find_entities_filtered{ name = "void-chest" } for _, chest in pairs(chests) do chest.infinity_container_filters = {} chest.remove_unfiltered_items = true end end end
There is also GhostPlacerExpress 0.1.6 issuerevived_entity variable is not localCode: Select all
if items_removed == 1 then _, revived_entity, __ = player_selected.revive{raise_revive = true} if revived_entity == nil then
-
- Burner Inserter
- Posts: 11
- Joined: Tue Jun 27, 2017 8:10 am
- Contact: