Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BETA - Potential issue with trace logging #368

Open
Feliphysics opened this issue Feb 10, 2023 · 3 comments
Open

BETA - Potential issue with trace logging #368

Feliphysics opened this issue Feb 10, 2023 · 3 comments

Comments

@Feliphysics
Copy link

Feliphysics commented Feb 10, 2023

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).

@Zetrith
Copy link
Member

Zetrith commented Feb 10, 2023

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).

@Feliphysics
Copy link
Author

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.

@Feliphysics
Copy link
Author

Feliphysics commented Feb 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants