Skip to content

Releases: LetsStarveTogether/dst-server

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 22:41
381dfe1

The SDK core and room Agent now run in Rust, with bindings for CPython 3.14.

  • Each room uses one container and one resident Agent to supervise all configured shards.
  • The Agent owns opening hours, Mod updates, idle regeneration and recovery, while the host SDK manages room configuration and services.
  • This release includes a Linux x86_64 executable, a CPython 3.14 Linux x86_64 wheel, a source distribution and artifact hashes in build-manifest.json.

The Python API, CLI and deployment layout have changed.
Existing installations need their policies and per-shard Pod deployments converted before starting the new image.
See the migration guide and installation instructions.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 11:38
8593a53

v0.5.0 makes each room container follow one game run, with openings managed by an external scheduler.

  • Normal shutdown and scheduled closure now stop every shard and exit the Agent and container with code 0.
    Shutdown sends one c_shutdown() per shard and lets the game complete its native save and exit sequence.
  • Restart and Mod maintenance request a fresh container with exit code 76; runtime faults use code 75 and preserve recovery state.
    Startup checks opening hours and resumes pending maintenance and recovery before starting games.
  • call restart acknowledges the completed stop and requested replacement.
    call update_mods persists the request and returns queued: true; the next container performs the update.
    These replies do not confirm completion of the next startup.
    With restart: false, maintenance finishes with the room closed.
  • host status now reports saved policy, current schedule, maintenance, and recovery after the Agent exits.
    Host operations can update Mods while a room is offline and report maintenance failures or exhausted or unsafe recovery.
  • RPC shutdown flushes final replies before disconnecting, and repeated client or subscription closure is safe.
  • Lua rollback accepts a target found at the 6,400-entry catalog limit, and telemetry avoids reading positions from retired entities.
  • The indexed native script snapshot advances from build 756039 to 757748.
    All 84 index pages were checked against the source, with corrected runtime, gameplay, AI, world-generation, and frontend descriptions and complete inventories of 4,099 files.

Upgrade existing rooms

  1. Stop each room service and confirm its container has exited, then upgrade the SDK and runtime image.

  2. Update the existing Quadlet's [Service] section to include all three directives below.
    Newly generated Quadlets already include them; existing files without both 76 directives fail deployment validation.

    Restart=on-failure
    SuccessExitStatus=76
    RestartForceExitStatus=76
  3. Run systemctl daemon-reload and configure an independent opening timer for each scheduled room.
    Keep its opening times and timezone aligned with the room policy; policy changes do not update the timer.
    Both call stop and host stop leave that timer enabled, so disable it separately to suspend future openings.

  4. Use host start to open a stopped room and host start, host restart, or host wait when readiness confirmation is required.
    Startup outside opening hours exits successfully with the room closed.

See the migration guide and opening timer example.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 21:24
cf343f6

Full Changelog: v0.2.2...v0.3.0

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 09 Sep 02:12
e83058c

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Sep 23:16
3ccaaef

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 22:36
611faa7

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 20:34
38d57d0