Skip to content

Conversation

@drazisil
Copy link
Collaborator

@drazisil drazisil commented Jan 21, 2026

Summary

  • Integrates room/game server protocol documentation directly into the main RFC (section 4.6)
  • Covers ports 9000-9014 (TCP) and 9500-9508 (UDP) for in-race communication
  • Bumps RFC version to 0.2.0 with changelog

Changes

New section 4.6 includes:

  • Room message opcodes (client→server and server→client)
  • Channel types and flags
  • Room channel data structure (256 bytes)
  • User data structure (64 bytes)
  • Game server state machine and state transitions
  • Room join flow with password handling
  • Game server startup sequence
  • Complete room session flow diagram
  • NPS error codes
  • String length constants

Also updates:

  • Introduction table to include Game/Room Servers
  • Section 2.3 with new terms (PLS, Riff, CommId, Channel)

Related Issues

Test plan

  • Verify RFC renders correctly in markdown viewer
  • Confirm section numbering is consistent
  • Review cleanroom methodology compliance

🤖 Generated with Claude Code


Note

Integrates detailed Room/Game Server Protocol into the main RFC and updates spec metadata.

  • New 4.6 Room/Game Server Protocol: port ranges (9000-9014 TCP, 9500-9508 UDP), client/server opcodes (0x1xx/0x2xx), channel types/flags, RoomChannelData (256B) and UserData (64B) structures, game server state machine, room join and server startup flows, full session diagram, NPS error codes, and string length constants
  • Introduces NPS_SEND_NOT_SINGLE (0x87) in game message routing
  • Updates Introduction table to list Game/Room Servers and rename lobby to Lobby Server (PLS); adds terms (PLS, Riff, CommId, Channel)
  • Bumps docs/MCO_PROTOCOL_RFC.md to version 0.2.0 with changelog and date

Written by Cursor Bugbot for commit b836be0. This will update automatically on new commits. Configure here.

Integrates room protocol documentation directly into the main RFC,
covering ports 9000-9014 (TCP) and 9500-9508 (UDP) for in-race
communication and game state synchronization.

New content includes:
- Room message opcodes (client→server and server→client)
- Channel types and flags
- Room channel data structure (256 bytes)
- User data structure (64 bytes)
- Game server state machine and state transitions
- Room join flow with password handling
- Game server startup sequence
- Complete room session flow diagram
- NPS error codes
- String length constants

Also updates Introduction table to include Game/Room Servers and
adds new terms (PLS, Riff, CommId, Channel) to section 2.3.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sonarqubecloud
Copy link

@deepsource-io
Copy link

deepsource-io bot commented Jan 21, 2026

Here's the code health analysis summary for commits 574fe37..b836be0. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.40%. Comparing base (574fe37) to head (b836be0).
⚠️ Report is 2 commits behind head on dev.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2807   +/-   ##
=======================================
  Coverage   32.40%   32.40%           
=======================================
  Files         288      288           
  Lines       20408    20408           
  Branches      366      366           
=======================================
  Hits         6613     6613           
  Misses      13791    13791           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drazisil drazisil added this pull request to the merge queue Jan 21, 2026
Merged via the queue into dev with commit aa89708 Jan 21, 2026
17 checks passed
@drazisil drazisil deleted the docs/room-protocol-rfc branch January 21, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC Gap: Document room/game server protocol (ports 9000-9020) and race integration

2 participants