|Transport Layer:||Transmission Control Protocol (TCP)|
|Application Layer:||Battle.net v1 TCP Messages (SID)|
|Direction:||Server to Client|
|Used By:||Warcraft III Reign of Chaos, Warcraft III The Frozen Throne|
(does not include protocol header)
This message is still being researched!
This message is used for multiple purposes on Warcraft III. Known and validated purposes are listed here.
The following UINT32 identifiers are similar to Product IDs and clan tags, 4-byte strings reversed by endian.
Icon IDs are the identifiers used in icons-WAR3.bni (an MPQ file) and found reversed in user statstrings (for example 'W3O1' is Orc Peon).
Ladder type ID(WID_USERRECORD):
'FFA '(where the last character is a space, 0x20).
Team type ID(WID_USERRECORD):
Ladder type ID(WID_CLANRECORD):
* The field was formerly labeled as "Hours until XP decay", but as no evidence to support this claim has ever been verified (and through personal testing has been found to be altogether false), it has been renamed as unknown for the time being. More information on this value would be appreciated.
** This is the name of the unit for which this icon should be displayed for. The names can be found in the war3.mpq/Units/UnitData.slk.
I'd like to submit a couple updates to this based on the PvPGN source.
- the second DWORD is the ID of the currently selected icon
- the second DWORD of each icon is the W3 unit ID - these IDs are listed in war3.mpq\Units\UnitData.slk
- last BYTE of each icon is 0 if disabled in user icon selection, 1 if enabled
There's also several other subcommands related to setting up PG and AT games. The packet structures can be found in the PvPGN source files that I listed above.
They apply to both. This is how the official client interprets the 0x09 response fields, regardless of the server implementation (BNet or PvPGN). I've tested these out with my own server.
these IDs are listed in war3.mpq\Units\UnitData.slk
Or War3x.mpq respectively.
What should this mean?
0x00 (WID_GAMESEARCH): 0x00000004: Banned CD-Key
What compression algorithm is used here?
For WID_GAMESEARCH, a status of 0x00000006 means you have reached the maximum games (~200 or so is the limit) and you have to wait a period of time before playing again.