RichardNixon's avatar

RichardNixon

Member for 16 years, 3 months, 29 days User #348

Comments 2

On a packet ·

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.

On a packet ·

I'd like to submit a couple updates to this based on the PvPGN source.

(http://svn.berlios.de/svnroot/repos/pvpgn/trunk/pvpgn/src/bnetd/handle_anongame.cpp)

(http://svn.berlios.de/svnroot/repos/pvpgn/trunk/pvpgn/src/common/anongame_protocol.h)

Subcommand 0x09:

  • 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.