might be related to #245, but it's harder to reproduce. i'll just put all the findings here as a memo...
using v0.4.5 + :main/winex:rbgen branch, 2-host 1-person multiplayer factorio-1.1.105
after adding janky-quality mod (=> 41k recipes, yay!), but it might not be the root cause!
i'm now getting weird/random desyncs sometimes: it can happen in 2+ hours or like 3 times in a row (after reconnecting, ofc) and their cause i'm unable to track or link to anything for a couple of days already:
blueprint editing/pre-placement
cut/paste/delete bot orders
opening chests
sometimes it's similar to prev. issue, but sometimes random-generator differs in level_with_tags_tick_*.dat:
same: tycoon-house-{1,2}
same: tycoon-excavation-pit-{1,2}
first-and-once: janky-quality.migration-0.1.4.json</prototype-migration-list><next-unit-number> {0xD8, 0xD9}
note: this data is after migrations and placed just before <map-mod-settings>..., but idk what it is and had no desyncs before this one.
new: <random-generator>...
looks like something else triggers random_generator() in some unsafe way.
maybe 2+ players can trigger this more frequently (or just hack a fast city growth :P). some more code/flow understanding is required.
it seems very strange that even 1-person multiplayer desyncs as i never had it previously with #289 applied - probably that was not enough... :(
might be related to #245, but it's harder to reproduce. i'll just put all the findings here as a memo...
using
v0.4.5
+:main
/winex:rbgen
branch, 2-host 1-person multiplayerfactorio-1.1.105
after adding
janky-quality
mod (=> 41k recipes, yay!), but it might not be the root cause! i'm now getting weird/random desyncs sometimes: it can happen in 2+ hours or like 3 times in a row (after reconnecting, ofc) and their cause i'm unable to track or link to anything for a couple of days already:blueprint editing/pre-placementcut/paste/delete bot ordersopening chestssometimes it's similar to prev. issue, but sometimes
random-generator
differs inlevel_with_tags_tick_*.dat
:tycoon-house-{1,2}
tycoon-excavation-pit-{1,2}
janky-quality.migration-0.1.4.json</prototype-migration-list><next-unit-number> {0xD8, 0xD9}
note: this data is after migrations and placed just before<map-mod-settings>...
, but idk what it is and had no desyncs before this one.<random-generator>...
looks like something else triggers
random_generator()
in some unsafe way.maybe 2+ players can trigger this more frequently (or just hack a fast city growth :P). some more code/flow understanding is required. it seems very strange that even 1-person multiplayer desyncs as i never had it previously with #289 applied - probably that was not enough... :(
mods
patched:
v+=0.0.100
with simple... ~= nil; .item
fix to load)winex:rbgen
full list:
label: [question] [help wanted], w/e...