Skip to content

reLCS launcher v0.3.6 (2,000 players held: per-tick state coalescing)

Choose a tag to compare

@nobody71004 nobody71004 released this 28 Oct 20:30
· 34 commits to main since this release

reLCS launcher v0.3.6 — 2,000 players held, honest server browser

The launcher is rebuilt from the commit where a 2000-player fleet finally held instead of
shedding players, and the server browser stops dressing up a private LAN fleet as the internet
list. Protocol is unchanged (v9), so a v0.3.6 launcher joins the same servers as v0.3.5.

What changed

  • Net: one staged client state per tick, not per packet. MSG_PLAYER_STATE used to be
    validated and adopted the moment it arrived, so a client whose packets clumped inside one
    tick (jitter, or catching up after a stall) paid the movement validator, the wallet ledger
    and the anti-cheat bookkeeping twice. Arriving states now decode into a per-client slot that
    the tick drains once, before respawns/gamemode/relay — exactly the freshest frame is
    validated and adopted, with arrival timestamps kept so a client pacing below the tick rate
    still gets an honest dt. netstats gained states_in/s, states_apply/s, coalesced/s.

    Measured with 2000 bots on Windows, 8x250 loadgen shards, spread 1500 m, 60 s, 35
    one-second samples at >=1900 players:

    pre-change binary   2000/2000, tick 27.5 ms mean (max 49.6), 0 kicks
    coalescing run 1    2000/2000, tick 27.7 ms mean (max 46.7), 0 kicks
    coalescing run 2    2000/2000, tick 33.2 ms mean (max 48.8), 0 kicks
    

    The tick stays at a steady 20 Hz - one state per client per 50 ms already arrives - while
    7-14 % of the ~40.5k inbound states/s are superseded before validation.

  • Launcher: a configured master that does not answer is reported, not papered over.
    QueryMaster collapsed "the master did not answer" and "the master listed no servers" into
    an empty list, and the browser fell back to a LAN-discovered master whenever that list was
    empty — so on a machine with the public master configured, an unreachable master silently
    showed a dev fleet as if it were the internet list. Connect and answer are now separate:
    the LAN fallback runs only when no master is configured (empty or loopback), an unanswered
    master produces a note naming it and the reason, "answered but lists no servers" is its own
    state, and rows advertising a different protocol than this build are hidden with the count
    shown (the join path refuses them anyway).

  • Client: the RCON login is sent after the spawn instead of with the handshake, so the
    in-game admin panel (F6) authenticates instead of sitting unauthenticated.

  • Anti-cheat: the EOS platform is released through Shutdown when initialisation fails,
    instead of leaking a half-initialised platform into the next launch.

  • Proxmox fleet: servers advertise 2000 players, the protocol ceiling, instead of 32.

  • Relay: a relayed record is quantized once per tick, not once per receiver.

Verified for this build

net-tests                        3579 checks, 0 failures - PASS
state coalescing net test        two states in one tick -> 1 validated, 1 superseded,
                                 no correction on the stale frame, freshest position relayed;
                                 negative control (single illegal frame) still corrected
2000-bot load test               2000/2000 held, 0 kicks, tick 27.7 / 33.2 ms mean
packaged launcher (staged dir)   [SELFTEST] RESULT: PASS
                                 master -> 5 servers, all 0/2000 (freeroam + 4 survivor)
                                 cef dll=1 page_loaded=1 host<->page roundtrip=1
                                 username, favorites and probe checks all 1

The zip is 174.3 MB, 35 files, sha256 7d6cfb0489da87e3fc7348f09ec20545ae3d46dc482111dc04d69a5cc1badaa9.
It unzips over an existing reLCS-launcher folder without touching launcher.ini,
favorites.ini, usernames.ini or eos.ini.

If you run a server

This package is the launcher only. The coalescing fix is server-side: rebuild the servers
from commit cda3abfb (net/build-linux.sh on Linux, net/build/reLCS-net.sln on Windows)
and switch the running instances over with the usual stop -> swap net/bin ->
start-servers.sh procedure to get the 2000-player behaviour. Keep the pre-update
relcs-backup-*.tgz. Client protocol is unchanged, so no client needs rebuilding for a
server update.