Heartbeat
Prevents Steam lobbies from expiring during long sessions, fixing the "Couldn't connect to the lobby" error shown in-game.
CHANGELOG
Changelog
1.2.0
- Lobby config actually works now: The
[Lobby]options described back in 1.1.0 were never wired up in the shipped DLL. They exist for real in this version (ManageLobbyName,LobbyName,RefreshExistingData,TagFocus,TagMature,TagChill,TagBreak,TagModded). Tag overrides are optional — leave them empty to preserve whatever the game set. - Owner-aware: Only the lobby host writes heartbeats now (Steam only lets the owner update lobby data), so clients no longer waste calls.
- Per-lobby tracking: The immediate first heartbeat now fires again whenever you start or join a new lobby in the same session, not just once at startup.
- Safer lobby parsing: Lobby codes are parsed with
TryParse, so an unexpected value is skipped quietly instead of throwing. - Interval clamping: Interval is clamped to 0.25–10 minutes to match the documented range.
- Clearer logging: Logs when a lobby is detected, when it ends, when you're not the host, plus a per-lobby heartbeat counter.
- No hard game dependency: Game and Steam access now go through reflection, so the mod is more resilient to On-Together updates.
- Config moved:
LobbyHeartbeatEnabledandLobbyHeartbeatIntervalMinutesnow live in a[General]section (previously[Steam]).
1.1.0
- Immediate first heartbeat: Timer now fires instantly when a lobby is detected instead of waiting for the full interval.
- Lobby metadata refresh: Each heartbeat re‑sets lobby name and tags (focus, mature, chill, break, modded) so Steam doesn't drop the listing after 14+ hours.
- New config options:
LobbyName,TagFocus,TagMature,TagChill,TagBreak,TagModdedin the[Lobby]section. - Default interval lowered to 2 minutes for better reliability during very long sessions.
1.0.0
- Initial release of Heartbeat.
- Adds a periodic lobby heartbeat to keep Steam lobbies from expiring during long sessions.
- Config options:
LobbyHeartbeatEnabled,LobbyHeartbeatIntervalMinutes.