Skip to content

Host game isolation - #190

Merged
demoth merged 47 commits into
mainfrom
host-game-isolation
Oct 29, 2026
Merged

demoth merged 47 commits into
mainfrom
host-game-isolation

Conversation

@demoth

@demoth demoth commented Oct 29, 2026

Copy link
Copy Markdown
Owner
  • Added map selection to multiplayer hosting and a player model preview to Player Setup.
  • Expanded resource previews with external player skins, text files, and streaming cinematics with thumbnails.
  • Reworked server internals around Kotlin ServerHost, separating host and per-game state.
  • Improved save/load validation, restored entity state, and recovery after failed loads or map transitions.
  • Improved connection cleanup, dedicated-server shutdown, and error handling.

demoth added 30 commits October 26, 2026 17:20
demoth added 17 commits October 26, 2026 23:09
Challenge eviction needs issuance order, not elapsed time. Global
clock resets or wrap can make newer entries appear older, while
requests issued within one tick can receive identical timestamps.

Use a Host-owned counter to order new challenges. Repeated requests
retain their existing token and position; session stop clears both
the cache and counter. Wire protocol behavior is unchanged.

Document the address-challenge handshake and its limited protection
against blind source-IP spoofing.

Validate eviction after global-clock reversal and existing-token
reuse through local UDP tests.
Consolidate legacy SV_* responsibilities into ServerHost and Game ownership.
Unify session preparation, save/load outcomes, and failure cleanup; fix level
revisits and component persistence. Contain Game failures, guarantee client
cleanup, and dispose dedicated Hosts reliably. Isolate Game rules, collision
scratch state, pause policy, and map reporting; remove obsolete timing state.
Validate rendered save/load, multiplayer networking, and dedicated stop/restart.
Execution-context and multi-Game persistence isolation remain deferred.
@demoth
demoth merged commit 7b524f1 into main Oct 29, 2026
1 check passed
@demoth
demoth deleted the host-game-isolation branch October 29, 2026 09:21
@demoth
demoth restored the host-game-isolation branch October 29, 2026 21:04
@demoth
demoth deleted the host-game-isolation branch October 29, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant