Doom 3 Protocol

Status Query

Query

FF FF 67 65 74 49 6E 66 6F                      ;ÿÿgetInfo

Key

(int16) Header
(string) getInfo

Response

FF FF 69 6E 66 6F 52 65 73 70 6F 6E 73 65 00 FF ;ÿÿinfoResponse.ÿ
FF FF FF 21 00 01 00 66 73 5F 67 61 6D 65 00 00 ;ÿÿÿ!..fs_game..
73 69 5F 76 65 72 73 69 6F 6E 00 44 4F 4F 4D 20 ;si_version.DOOM 
31 2E 30 2E 31 32 36 32 20 77 69 6E 2D 78 38 36 ;1.0.1262 win-x86
20 4A 75 6C 20 20 38 20 32 30 30 34 20 31 36 3A ; Jul  8 2004 16:
34 36 3A 33 37 00 73 69 5F 6D 61 78 50 6C 61 79 ;46:37.si_maxPlay
65 72 73 00 38 00 73 69 5F 73 70 65 63 74 61 74 ;ers.8.si_spectat
6F 72 73 00 31 00 73 69 5F 75 73 65 70 61 73 73 ;ors.1.si_usepass
00 30 00 73 69 5F 77 61 72 6D 75 70 00 31 00 73 ;.0.si_warmup.1.s
69 5F 74 65 61 6D 44 61 6D 61 67 65 00 31 00 73 ;i_teamDamage.1.s
69 5F 74 69 6D 65 4C 69 6D 69 74 00 33 30 00 73 ;i_timeLimit.30.s
69 5F 66 72 61 67 4C 69 6D 69 74 00 30 00 73 69 ;i_fragLimit.0.si
5F 6D 61 70 00 67 61 6D 65 2F 6D 70 2F 64 33 64 ;_map.game/mp/d3d
6D 33 00 73 69 5F 67 61 6D 65 54 79 70 65 00 64 ;m3.si_gameType.d
65 61 74 68 6D 61 74 63 68 00 73 69 5F 6E 61 6D ;eathmatch.si_nam
65 00 5E 31 2D 2D 5E 34 53 6B 79 73 20 64 65 64 ;e.^1--^4Skys ded
69 63 61 74 65 64 20 53 65 72 76 65 72 5E 31 2D ;icated Server^1-
2D 00 73 69 5F 70 75 72 65 00 31 00 67 61 6D 65 ;-.si_pure.1.game
6E 61 6D 65 00 62 61 73 65 44 4F 4F 4D 2D 31 00 ;name.baseDOOM-1.
00 00 00 3D 00 10 27 00 00 5E 35 2D 5E 31 43 5E ;...=.'..^5-^1C^
32 68 5E 34 61 5E 33 6F 5E 36 73 5E 35 2D 00 01 ;2h^4a^3o^6s^5-.
62 00 10 27 00 00 65 78 63 61 6C 69 62 75 72 00 ;b.'..excalibur.
02 65 00 10 27 00 00 50 6C 61 79 65 72 5F 00 03 ;e.'..Player_.
56 00 10 27 00 00 59 6F 64 61 00 04 7C 00 10 27 ;V.'..Yoda.|.'
00 00 44 6F 4F 6D 00 05 5A 00 10 27 00 00 63 30 ;..DoOm.Z.'..c0
30 6C 33 72 32 30 30 34 00 06 4D 00 10 27 00 00 ;0l3r2004.M.'..
5E 64 6E 65 6F 5E 33 29 5E 37 61 6C 6D 00 20 01 ;^dneo^3)^7alm. 
00 00 00                                        ;...

Key

(int16) Header
(string) infoResponse
(string) Key
(string) Value
(string) Key
(string) Value
(strings) Empty Key/Value (end of key/value pairs)
(byte) Player Number
(int16) Player Ping
(int16) Player Rate
(string) Unknown (empty string?)
(string) Unknown (empty string?)
(string) Player Name
(byte) Player #32 (end of packet?)

Comments

All strings are null-terminated. An empty string will be a single null (0x00) byte.
Get Firefox! int64.org - When 4GiB of RAM just isn't enough. SourceForge.net Logo
Creative Commons License
This work is licensed under a Creative Commons License.