rwmt / Multiplayer

Zetrith's Multiplayer mod for RimWorld

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BETA - Potential issue with trace logging

Feliphysics opened this issue · comments

Since another beta user reported this issue on the discord I tried to test it a bit better and post here.
For all I know this could be an issue, or be intended.

When the same exact desync* happens (in this case, I was dev spawning an ibex, but I've seen it happen in non-devmode related cases) on the 0.7.3 beta and the 0.7.2 stable:

  • 0.7.2 desync log "correctly" (could be confirmation bias) shows the desynced trace related to the animal's agecurve / healthtracker trace

  • 0.7.3 desync log indicates no differences.

In case of the BETA, the ibex is not referred in either the client's nor the host's traces.

Desync-0.7.3-BETA.zip
Desync-0.7.2-STABLE.zip

*In my case, any animal spawning randomly or through dev mode causes a desync a couple of seconds later, but that happens in both versions (0.7.2 and 0.7.3).

Can't reproduce, how were you testing it? I tried in vanilla, spawned an ibex using dev mode (I'm assuming the desync is the ibex spawning on only one client, this can be triggered using an undocumented mp feature: if you use a dev tool while holding shift, it doesn't sync).

I'll preface that right now you should probably ignore / close / delete this issue.

The desyncs were most likely caused by a mod (animals and events would correctly spawn on both host and client, but the client would desync right after anyway, same for new map generation; this happened both "naturally" and through dev mode), and deleting our (empty) third colony fixed the issue. The issue was identical between 0.7.2 and 0.7.3, but the beta didn't show any trace as different, while a lot of other desyncs work correctly on both versions.

Another beta user posted a log with similar behaviour on the traces, while having a much shorter mod list with which I only share an handful of mods, so I'll see if I can get his save and go from there.

I also can't seem to get the feature you were talking about to work, but it could be because I'm accessing my pc remotely and the software I use passes key strokes in a weird way.

After testing it out on my save, and two other people's saves (that showed the same traces issue on their logs), it seems like hugslib sometimes causes desyncs even when there are no active mods that depend on it, and those desyncs show as "equal traces" on the beta.
This is still quite hard to reproduce as hugslib doesn't always cause issues, but, when it does, removing it consistently fixes the desyncs.

Anyway, for now it looks to be limited to this case, so not related to the multiplayer mod itself.

Edit: same happens with the desyncs caused by the teaching interaction of vanilla social interactions expanded, on 0.7.2 the traces obviously show that as the issue, while on 0.7.3 the traces are "equal". I've still not found a reliable way to reproduce it, and it seems to be limited to mods, but it could make troubleshooting modded desyncs quite problematic.