Skip to content

Fix join point stuck state on dedicated server#942

Merged
notfood merged 2 commits into
rwmt:masterfrom
Kuinox:fix/dedicated-server-join-point-abort
May 30, 2026
Merged

Fix join point stuck state on dedicated server#942
notfood merged 2 commits into
rwmt:masterfrom
Kuinox:fix/dedicated-server-join-point-abort

Conversation

@Kuinox
Copy link
Copy Markdown
Contributor

@Kuinox Kuinox commented May 29, 2026

Fixes #941.

Kuinox and others added 2 commits May 30, 2026 01:12
On a dedicated server no player is ever IsHost (hostUsername is never
set), so AbortJoinPointCreation was never called on disconnect. When a
client drops mid-join-point creation the server was left stuck in
CreatingJoinPoint forever, blocking all subsequent connections at
WaitJoinPoint().

Fix: also abort when no joined players remain after a disconnect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@notfood notfood added fix Fixes for a bug or desync. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). standalone server Fix or bugs relating to the standalone server. labels May 30, 2026
@notfood notfood moved this to In review in 1.6 and Odyssey May 30, 2026
@notfood
Copy link
Copy Markdown
Member

notfood commented May 30, 2026

Looks fine. Thanks!

@notfood notfood merged commit 0425aba into rwmt:master May 30, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In review to Done in 1.6 and Odyssey May 30, 2026
notfood added a commit that referenced this pull request May 30, 2026
* Fix join point stuck state on dedicated server

On a dedicated server no player is ever IsHost (hostUsername is never
set), so AbortJoinPointCreation was never called on disconnect. When a
client drops mid-join-point creation the server was left stuck in
CreatingJoinPoint forever, blocking all subsequent connections at
WaitJoinPoint().

Fix: also abort when no joined players remain after a disconnect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update log message

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Meru <notfood@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). fix Fixes for a bug or desync. standalone server Fix or bugs relating to the standalone server.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

pauseOnJoin = true deadlock dedicated server

2 participants