8000 bug: random multiplayer desyncs with mods [need-info] · Issue #292 · bahrmichael/factorio-tycoon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
bug: random multiplayer desyncs with mods [need-info] #292
Open
@winex

Description

@winex

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... :(

mods

patched:

  • actual-craft-times-remade_1.0.8.zip (my fork: winex:testing)
  • janky-quality_0.1.32.zip (v+=0.0.100 with simple ... ~= nil; .item fix to load)
  • tycoon winex:rbgen

full list:

BottleneckLite_1.2.8.zip
ChangeMapSettings_5.0.1.zip
ChunkyChunks_1.5.1.zip
DeleteEmptyChunks_0.4.3.zip
DoingThingsByHand_1.2.2.zip
DoubleSpeedBelts_1.1.9.zip
Noxys_Waterfill_0.4.4.zip
PickerAtheneum_1.2.5.zip
PickerBeltTools_1.2.6.zip
PickerDollies_1.2.6.zip
PickerExtended_4.1.4.zip
PickerInventoryTools_1.1.15.zip
PickerTweaks_2.2.7.zip
SchallUncraft_1.1.0.zip
Warehousing_0.5.7.zip
WireShortcuts_1.1.13.zip
actual-craft-times-remade_1.0.8.zip  ### patched
chunk-aligned-roboports_1.0.0.zip
deadlock-beltboxes-loaders_2.4.2.zip
deep-storage-unit_1.3.5.zip
eradicators-library_4.2.6.zip
eradicators-vram-saver_0.1.7.zip
flib_0.13.0.zip
fluid-memory-storage_1.4.6.zip
janky-quality_0.1.132.zip  ### patched
mining-patch-planner_1.5.8.zip
stdlib_1.4.8.zip
tycoon  ### (winex:rbgen)

label: [question] [help wanted], w/e...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0