Difference between revisions of "GameData Query"
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
GameData updates can be requested by sending the following byte values in a TCP packet to the server. | GameData updates can be requested by sending the following byte values in a TCP packet to the server. | ||
− | {| class="wikitable | + | {| class="wikitable" |
! Data || Type || Comment | ! Data || Type || Comment | ||
|- | |- | ||
Line 18: | Line 18: | ||
|- | |- | ||
| Count || byte || Number of MD5 Checksums | | Count || byte || Number of MD5 Checksums | ||
+ | |- | ||
+ | | Checksum || byte * 16 || Bytes of the MD5 Checksum - Repeat 'Count' Times | ||
|} | |} |
Latest revision as of 00:16, 29 June 2008
Request format
GameData updates can be requested by sending the following byte values in a TCP packet to the server.
Data | Type | Comment |
---|---|---|
Header | byte | Should be equal to 'A' |
Type | byte | Should be equal to 'G' |
Version | short | Current SourceMod version number (1) |
Major | short | Current Major release version |
Minor | short | Current Minor release version |
Build | short | Current build number |
Count | byte | Number of MD5 Checksums |
Checksum | byte * 16 | Bytes of the MD5 Checksum - Repeat 'Count' Times |