Skip to content

v0.1.0 — realm server feature-complete

Choose a tag to compare

@jaenster jaenster released this 10 Aug 08:50
· 372 commits to main since this release

The realm server (realmd) reaches feature-completeness against what a real 1.14d client
actually sends, verified against the game binary rather than assumed.

Highlights of this release:

  • Join-screen truth: live player counts (the GS reports them, because realmd only ever
    sees joins and never leaves), game descriptions, and a working detail panel.
  • Join errors the client can actually render. Two codes were swapped, so a game that did
    not exist was reported as a bad password; one code was not in the client's switch at
    all, which showed nothing and left the screen dead. Full/invalid-name/hardcore/
    expansion/ladder rejections implemented, plus the Nightmare and Hell progression gates
    at the engine's own thresholds.
  • Chat lobby names people by their character, not their account — and everything that
    takes a name accepts what the player can see.
  • Characters persist properly: CHARUPGRADE converts the save, the ladder ranks on real
    experience, friends survive a restart, and the GS is told a character's real create
    time and ladder flag.
  • Banner ads served end to end, and SID_GETFILETIME stops denying files it holds.
  • Hardening found by load: a bounds-checked packet writer (an oversized reply used to be
    a panic, not a truncation) and a member leak on disconnect.

Formats come from libd2 (d2-formats, d2-util) rather than second copies living here.

33 end-to-end scenarios, 26 unit tests.