Skip to content

another round of fixes for multiplayer server issues - #2087

Merged
Robosturm merged 4 commits into
Robosturm:masterfrom
TheMasterCreed:work/multiplayer-server-issues-1f6d5a
Nov 12, 2026
Merged

Robosturm merged 4 commits into
Robosturm:masterfrom
TheMasterCreed:work/multiplayer-server-issues-1f6d5a

Conversation

@TheMasterCreed

Copy link
Copy Markdown
Collaborator

No description provided.

The My games, Open games and Observable buttons had a typo-level bug
(missing the GameEnums prefix), so clicking them threw an error and the
list never switched. That's why nobody could find their game to rejoin.
When someone's connection timed out, the server closed the socket but
never took them off its list. Their slot stayed taken and the host had
to kick them. Now a timeout goes through the normal disconnect.
The host waits for every player to answer before letting someone join
or rejoin. If one of them dropped right then, it waited forever. Now
it skips players who are gone.

Also the reconnect sound played even when the joiner had dropped. It
only plays when they actually made it in.
If the game process didn't start, the server only wrote a debug line.
The host sat on "Launching game on server" for five minutes and the
port was never given back. Now the server logs an error, frees the
port and tells the host right away.
@Robosturm
Robosturm merged commit 1fa414f into Robosturm:master Nov 12, 2026
2 checks passed
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.

2 participants