Skip to content

[Bug] Desync due to HASH / Different mod order #105

Description

@Evilhelder

Area

Mod loading

Severity

Minor

What happened?

My friends and I are unable to play using mods that modify events—such as "Aram:Mayhem," which adds runes with specific effects; when using it, a desync occurs immediately and automatically after card selection. I initially suspected the mod itself, but we encounter the same issue even with simpler mods (like character mods that only add their own cards without introducing new mechanics or events):

For some reason—unlike in my game, where the mod order and hash remain consistent—my friends' games generate a random mod order and a different hash. Even after correcting the order (both in-game via Ritsu and on Steam) and restarting, the game refuses to save the mod order and reverts to the previous random hash. To complete a match, we have to disable the "Enable ModelDB Sorting" option in Ritsulib every time we play, yet the supposedly incorrect order continues to cause constant, random desyncs.

Here are my game logs.
PC 1 godot.log
PC 1 ritsulib_state_divergence_20260907_013524_3929756_checksum_1_4d0c02b2_8d3a83f0fc6f4ac780128e1f22ec8595.zip

And here are the game logs, my friend.
PC 2 godot.log
PC 2 ritsulib_state_divergence_20260907_013524_8132270_checksum_1_bf6ef57c_aaa33421ab204b7181aeb1d34c2c2a7c.zip

Steps to reproduce

1- Download the mods from steam
2 - Open the game
3 - Create a room
4 - Play the game

Expected behavior

The game synchronizes the hash and mod order.

Logs / stack trace

RitsuLib version

v0.5.19 (compat 0.107.1)

Environment

Windows 10 Pro

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mod-loadingInitialization, assembly loading, content registration, or patch lifecycle.priority/p3Low priority or backlog.severity/minorMinor defect, polish issue, or low-impact bug.status/needs-triageNeeds maintainer or analyzer triage.type/bugDefect or incorrect behavior in RitsuLib.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions