Jeustice-MapSyncFix icon

MapSyncFix

Fixes the empty map soft lock online: the player who isn't hosting sees an empty map and the game freezes after the point.

Last updated 2 hours ago
Total downloads 96
Total rating 0 
Categories
Dependency string Jeustice-MapSyncFix-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_ROUNDS-5.4.1901 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1901
willis81808-UnboundLib-3.2.14 icon
willis81808-UnboundLib

This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.

Preferred version: 3.2.14

README

Map Sync Fix

Fixes a bug in online games where the player who isn't hosting sees an empty map: no ground, no platforms, nothing. When that point ends, the game is stuck and you have to leave.

It happens with any maps, modded or not, as soon as you use map toggles. It can hit either player, whoever hosts, and only on some maps, which makes it look random.

Every player in the game needs this mod. Install it and forget it: no settings.

What's going on

The game doesn't tell the other players which map comes next by its name. It sends a number: the map's position in a list each computer keeps on its own side.

UnboundLib (the map toggles) has a bug: when a map gets switched back on, it ends up at the end of that list instead of its sorted spot. Maps get switched back on all the time without you doing anything: joining a game copies the host's toggles, and leaving restores yours. After that, the two computers number the maps differently. The host says "map number 37", the other player waits for its own number 37, which never comes, and sees an empty map.

This mod puts the list back in the same order on every computer right before each map loads, so the numbers match again. If the list is already in order, it does nothing.

In BepInEx/LogOutput.log, Map order fixed (N maps) means it just corrected an out-of-order list.

Changelog

1.0.0

  • Fix for the empty map soft lock in online games.