Difference between revisions of "Launcher Protocol"
From OdaWiki
Line 2: | Line 2: | ||
This is the Odamex Launcher protocol, which will help developers develop custom launchers in other programming languages | This is the Odamex Launcher protocol, which will help developers develop custom launchers in other programming languages | ||
+ | This protocol uses UDP Datagram sockets | ||
==Types used== | ==Types used== | ||
Line 57: | Line 58: | ||
|} | |} | ||
+ | |||
+ | Keywords: | ||
+ | '''->''' = Sent to | ||
+ | '''*'''' = Array of information | ||
==Specifications== | ==Specifications== | ||
'''Master''' | '''Master''' | ||
+ | |||
+ | {|border=1 | ||
+ | |||
+ | !Type !!Data !!Description | ||
+ | |||
+ | |- | ||
+ | | Launcher -> Master | ||
+ | |||
+ | |- | ||
+ | | int | ||
+ | | 777123 | ||
+ | |(Request packet) | ||
+ | |||
+ | |- | ||
+ | | Master -> Launcher | ||
+ | |||
+ | |- | ||
+ | | int | ||
+ | | 777123 | ||
+ | | Response | ||
+ | |||
+ | |- | ||
+ | | short | ||
+ | | X | ||
+ | | Server count | ||
+ | |||
+ | |- | ||
+ | | byte | ||
+ | | X | ||
+ | | *IP Address 1 | ||
+ | |||
+ | |- | ||
+ | | byte | ||
+ | | X | ||
+ | | *IP Address 2 | ||
+ | |||
+ | |- | ||
+ | | byte | ||
+ | | X | ||
+ | | *IP Address 3 | ||
+ | |||
+ | |- | ||
+ | | byte | ||
+ | | X | ||
+ | | *IP Address 4 | ||
+ | |||
+ | |- | ||
+ | | short | ||
+ | | X | ||
+ | | *Server Port | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |} |
Revision as of 07:20, 25 September 2006
Overview
This is the Odamex Launcher protocol, which will help developers develop custom launchers in other programming languages This protocol uses UDP Datagram sockets
Types used
These are the types used in this specification
Type name | Range | Size |
---|---|---|
Signed Integers | ||
char | -128 to 127 | 8-bit |
short | -32768 to 32767 | 16-bit |
int | -2147483648 to 2147483647 | 32-bit |
Unsigned integers | ||
byte | 0 to 255 | 8-bit |
word | 0 to 65535 | 16-bit |
long | 0 to 4294967295 | 32-bit |
Strings | ||
String | ASCIIZ | null terminated |
Keywords: -> = Sent to *' = Array of information
Specifications
Master
Type | Data | Description |
---|---|---|
Launcher -> Master | ||
int | 777123 | (Request packet) |
Master -> Launcher | ||
int | 777123 | Response |
short | X | Server count |
byte | X | *IP Address 1 |
byte | X | *IP Address 2 |
byte | X | *IP Address 3 |
byte | X | *IP Address 4 |
short | X | *Server Port
|