dxx-rebirth/tracker/Protocol.txt
kiplingw 94e47b14f9 Added: Minor improvement and fix to dl_list code...
Added: More work on tracker code base and protocol documentation...
2008-08-19 04:50:47 +00:00

27 lines
1.2 KiB
Plaintext

DXX-Rebirth Tracker Protocol:
Purpose: Establish dialogue without advertising vernacular in use
via port scanner.
Server State: Awaiting_Greeting
Client: MATERIAL <protocol version >= 1>
Server: DEFENDER | (disconnect)
Server Next State: Awaiting_User_Agent
Purpose: Find out what they are connecting with and determine
whether it is permitted or not.
Server State: Awaiting_User_Agent
Client: USERAGENT <d1x-rebirth|d2x-rebirth> <major> <minor>
Server: OK | FAIL [reason] (disconnect)
Server Next State: Refreshing | (n/a)
Purpose: Send client latest game data.
Server State: Refreshing
Client: (null)
Server: GAME_ADD <address> <port> "<description>"
GAME_ADD <address> <port> "<description>"
GAME_REM "<description>"
GAME_ADD <address> <port> "<description>"
ALERT anything here can be displayed as a popup box
Notes: The preceding server lines may arrive in any order.