Project

General

Profile

Protocol » History » Version 3

Andreas Schneider, 04/12/2009 04:02 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
| $0C |\2. 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
| $03 | -- | Update State |
28 2 Andreas Schneider
29
h2. Radar Map
30
31
|_. Packet |_. Client |_. Server |
32
| $01 | Request Checksum | Send Checksum |
33
| $02 | Request Full Map | Send Full Map |
34
| $03 | -- | Send Radar Update |