Difference between revisions of "Directory Client Protocol"

From ASSS Wiki
Jump to: navigation, search
(pings too!)
(encryption note)
Line 2: Line 2:
  
 
Continuum sends a sync request and SubSpace doesn't.
 
Continuum sends a sync request and SubSpace doesn't.
The list request is sent as reliable.
+
The list request is sent as reliable. On the traditional directory servers (not catid's), traffic is always encrypted, even if you send a null encryption key.
  
 
Directory servers listen on port 4990 for client connections, and 4991 for updates to each zone's data and pings.
 
Directory servers listen on port 4990 for client connections, and 4991 for updates to each zone's data and pings.

Revision as of 05:57, 28 September 2006

Core protocol is used as usual. Dirserv specific c2s/s2c protocol.

Continuum sends a sync request and SubSpace doesn't. The list request is sent as reliable. On the traditional directory servers (not catid's), traffic is always encrypted, even if you send a null encryption key.

Directory servers listen on port 4990 for client connections, and 4991 for updates to each zone's data and pings.

c2s

0x01 list request
offset size comment
0      1    type 0x01
1      4    minimum players

s2c

0x01 list data
offset size comment
0      1    type 0x01
1      4    ip
5      2    port
7      2    player count
9      2    billing (on 0x01 0x00)
11     4    version (0x86 0x00 0x00 0x00)
15     64   name
79     ?    description
packet repeats from offset 1 until end