Skip to content

Support Teeworlds 0.7 game and master servers - #23

Merged
needs merged 1 commit into
masterfrom
support-0.7-game-servers
Aug 14, 2026
Merged

Support Teeworlds 0.7 game and master servers#23
needs merged 1 commit into
masterfrom
support-0.7-game-servers

Conversation

@needs

@needs needs commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Teerank only spoke the 0.6 protocol, so 0.7 servers were invisible. 0.7 changed the wire format: masters moved to port 8283, every connless request now needs a token handshake first, and server info packs ints as varints with new fields. The worker now polls every master and game server with both protocols — the 0.7 request fires as soon as the token reply arrives — and merges responses into the unified game server info, keeping version as a plain attribute with no schema change. Verified end to end against the real masters and game servers: 0.7 masters return 774+ servers, dual-stack DDNet servers merge without duplicating clients, and pure 0.7 vanilla servers produce snapshots. Adds unit tests for varint decoding, the token handshake, and 0.7 info/list parsing.

🤖 Generated with Claude Code

0.7 uses a token handshake before answering connless requests, varint
packed ints in server info, and masters on port 8283. Every server and
master is polled with both protocols and responses merge into the
unified game server info, version staying a plain attribute.

Co-Authored-By: Claude Fable 5 <[email protected]>
@needs
needs merged commit 7f12b4b into master Aug 14, 2026
1 check 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.

1 participant