Project

General

Profile

Protocol » History » Version 5

Andreas Schneider, 11/20/2013 02:30 PM

1 1 Andreas Schneider
h1. Protocol
2
3 3 Andreas Schneider
The following packets are used for the communication between [[server]] and [[CentrED|client]].
4 1 Andreas Schneider
5 2 Andreas Schneider
|_. Packet |_. Client |_. Server |
6 1 Andreas Schneider
| $01 |\2. Compressed Packet (containing another packet) |
7 3 Andreas Schneider
| $02 |\2. [[Protocol#Connection-Handling|Connection Handling]] |
8 1 Andreas Schneider
| $03 |\2. Admin Handling |
9 2 Andreas Schneider
| $04 | Request Blocks | Send Blocks |
10 1 Andreas Schneider
| $05 |\2. Cancel Subscription |
11
| $06 |\2. Draw Map |
12
| $07 |\2. Insert Static Item |
13
| $08 |\2. Delete Static Item |
14
| $09 |\2. Elevate Static Item (set Z value) |
15
| $0A |\2. Move Static Item (set coordinates) |
16
| $0B |\2. Hue Static Item |
17 5 Andreas Schneider
| $0C |\2. [[Protocol#Client-Handling|Client Handling]] |
18 3 Andreas Schneider
| $0D |\2. [[Protocol#Radar-Map|Radar Map]] |
19 1 Andreas Schneider
| $0E |\2. Large Scale Commands |
20
| $FF | No Operation (idle) | -- |
21 3 Andreas Schneider
22
h2. Connection Handling
23
24
|_. Packet |_. Client |_. Server |
25
| $01 | -- | Send Version |
26
| $03 | Send Login Info | Send State and Map Info |
27 1 Andreas Schneider
| $04 | -- | Update State |
28 5 Andreas Schneider
29
h2. Client Handling
30
31
|_. Packet |_. Client |_. Server |
32
| $01 | -- | Report Client Connected |
33
| $02 | -- | Report Client Disconnected |
34
| $03 | -- | Refresh Client List |
35
| $04 | Update Client Pos | Set Client Pos |
36
| $05 | Chat Message | Chat Message |
37
| $06 | Goto Client Pos | -- |
38
| $07 | -- | Access(Level) Changed |
39
| $08 | Change Password | Report Password Change Status |
40 2 Andreas Schneider
41
h2. Radar Map
42
43
|_. Packet |_. Client |_. Server |
44
| $01 | Request Checksum | Send Checksum |
45
| $02 | Request Full Map | Send Full Map |
46
| $03 | -- | Send Radar Update |