Skip to content

v0.8.14 — Netcode & Matchmaking Reliability Update

Choose a tag to compare

@summers-aaron summers-aaron released this 29 Nov 03:07
· 1 commit to master since this release

What's New in v0.8.14

Matchmaking Reliability Fix (No More "Reboot to Find a Match" Limbo)

  • Fixed Live XNet key leak in XSessionDelete: Deleting Live sessions now unregisters the session's XNet key (for both hosts and clients, refcount-guarded for shared keys) instead of leaking all 10 cfgKeyRegMax slots over a play session. Previously, after ~10 matchmaking sessions/kicks/timeouts, every join failed synchronously (Possible Matches: 0) and hosted lobbies failed XNetQosListen until the game was rebooted.
  • Fixed XSessionMigrateHost key & server sync: Preserves the Live sessionID across host migration so /sessions/:id/migrate succeeds instead of returning 404, rotates keyExchangeKey, and keeps XNet key registration in sync.
  • Hardened XSessionCreate: Checks XNetRegisterKey return codes and cleans up cleanly on exhaustion instead of returning a broken handle.
  • Verified with a new automated regression test (test_session_key_lifecycle: 292 assertions across 25+ host/client/migration cycles with cfgKeyRegMax = 10).

Tier 1 Netcode Improvements (100% Wire-Compatible)

  • Preserve PC broadband netcode settings on SlopBox Live: Downloading network_configuration_125.bin no longer clobbers PC observer/bandwidth/entity-relevance defaults back to 2007 Xbox 360 limits (12 Hz / 23–71 kbps), while keeping Live hopper, rank, and banhammer tables intact.
  • Full 30 Hz Client → Host upload: Removed the unconditional 15 Hz client packet-rate halving (preserving client→host stream priority and HUD ping reporting), cutting perceived input/co-op ack latency by ~33 ms.
  • Higher broadband bandwidth ceiling & instant 30 Hz ramp: Lifted the hardcoded 1 Mbps bandwidth clamp to 16 Mbps, raised initial stream minimum to 64 kbps (instant 30 Hz on join instead of 3 Hz cold-start), hardened 64-bit bandwidth/elapsed arithmetic against 32-bit overflows, and fixed carry-phase packet pacing.
  • 512 KB LAN/XNet receive inbox: Raised the internal UDP receive queue from 8 KB / 64 slots to ≥ 512 KB / 512 slots to eliminate silent burst drops on busy hosts.
  • 1 ms monotonic Windows timer: Replaced coarse 15.6 ms GetTickCount() with QPC-backed 1 ms monotonic timing on Windows so 30 Hz packet pacing no longer drops to ~21 Hz.
  • Smoother remote orientation interpolation: Fixed a signed angle bug in simulation_update_object_interpolated_orientation that caused instant rotation snaps on remote bipeds.

UI

  • Fixed bottom/top floating menu edge gap on partial-height anchored panels (including the Main Menu bottom strip).