Difference between revisions of "Directory Client Protocol"

From ASSS Wiki
Jump to: navigation, search
(added port info)
m ("clinet" connections)
Line 4: Line 4:
 
The list request is sent as reliable.
 
The list request is sent as reliable.
  
Directory servers listen on port 4990 for connections, and 4991 for updates to zone's data.
+
Directory servers listen on port 4990 for client connections, and 4991 for updates to zone's data.
  
 
<pre>
 
<pre>

Revision as of 01:16, 24 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.

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

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