BNETDocs: Redux is no longer updated, this subdomain exists for archival purposes only. Visit the main site.

Navigation

Generate Code: All packets
Packets

Packet Information


Message ID:0x44
  
Message Name:SID_WARCRAFTGENERAL
  
Message Status:MORE RESEARCH NEEDED
  
Direction:Server -> Client (Received)
  
Used By:Warcraft III: The Frozen Throne, Warcraft III
  
Format:(BYTE) Subcommand ID

0x00 (WID_GAMESEARCH):
(DWORD) Cookie
(DWORD) Status

0x00000000: Search Started
0x00000004: Banned CD-Key

0x02 (WID_MAPLIST):
(DWORD) Cookie
(BYTE) Number of responses

For each reponse:
(DWORD) ID
(DWORD) Checksum
(WORD) Decompressed Length
(WORD) Compressed Length
(VOID) Compressed Data
(BYTE) Remaining Packets

0x03 (WID_CANCELSEARCH):
(DWORD) Cookie from WID_GAMESEARCH

0x04 (WID_USERRECORD):
(DWORD) Cookie
(DWORD) Icon ID (based on identifier; for example, "Orc Peon" is 'W3O1')
(BYTE) Number of ladder records to read; this will be between 0 and 3.

For each ladder record:
(DWORD) Ladder type; valid types are 'SOLO', 'TEAM', or 'FFA ' (where the last character of 'FFA ' is a space, 0x20).
(WORD) Number of wins
(WORD) Number of losses
(BYTE) Level
(BYTE) Unknown*
(WORD) Experience
(DWORD) Rank (will be 0 if unranked)
(BYTE) Number of race records to read; this will be 5 for WAR3 and 6 for W3XP.

For each race record:
(WORD) Wins
(WORD) Losses
(BYTE) Number of team records to read.

For each team record:
(DWORD) Type of team; valid types are '2VS2', '3VS3', and '4VS4'.
(WORD) Number of wins
(WORD) Number of losses
(BYTE) Level
(BYTE) Unknown*
(WORD) Experience
(DWORD) Rank (will be 0 if unranked)
(FILETIME) Time of last game played
(BYTE) Number of partners
(STRING)[] Names of partners

0x07 (WID_TOURNAMENT):
(DWORD) Cookie
(Byte) Status

0x00: No Tournament
0x01: Starting Soon
0x02: Ending Soon
0x03: Started
0x04: Last Call
(FILETIME) Last Status Update Time
(WORD) Unknown
(WORD) Unknown
(BYTE) Wins
(BYTE) Losses
(BYTE) Draws
(BYTE) Unknown
(BYTE) Unknown
(BYTE) Unknown
(BYTE) Unknown

0x08 (WID_CLANRECORD):
(DWORD) Cookie
(BYTE) Number of ladder records to read; this will be between 0 and 4.

For each ladder record:
(DWORD) Ladder type; valid types are 'CLNS' (solo), 'CLN2' (2v2), 'CLN3' (3v3), or 'CLN4' (4v4).
(DWORD) Number of wins
(DWORD) Number of losses
(BYTE) Level
(BYTE) Unknown*
(DWORD) Experience
(DWORD) Rank (will be 0 if unranked)
(BYTE) Number of race records to read; this will be 5 for WAR3 and 6 for W3XP.

For each race record:
(DWORD) Wins
(DWORD) Losses

0x09 (WID_ICONLIST):
(DWORD) Cookie
(DWORD) Selected Icon
(BYTE) Tiers
(BYTE) Count

For each Icon:
(DWORD) Icon
(DWORD) Unit ID**
(BYTE) Race
(WORD) Wins required
(BYTE) Enabled
  
Remarks:This message is still being researched!

This message is used for multiple purposes on Warcraft III. Known and validated purposes are listed here.

* 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.
  
Related:[0x44] SID_WARCRAFTGENERAL (C->S)

User Comments


For detailed questions and discussion, visit the Battle.net Research Forum

RichardNixon
Jul 19, 2010
03:40 AM

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

RichardNixon
Jul 19, 2010
03:40 AM

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.

Jailout2000
Jul 19, 2010
03:40 AM

Updated. Thanks for your addition, RichardNixon.

xpeh
Sep 10, 2011
02:12 PM

>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



xpeh
Sep 27, 2011
06:04 PM

What compression algorithm is used here?

Edit: nevermind.

BNi-PoweR.
Mar 13, 2012
07:24 AM

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.

ALERT
We recommend you use Firefox to view this site. This site has been optimized for Firefox.

Get Firefox
BNLS Server Status
bnls.bnetdocs.org:
bnls.net:
bnls.mattkv.net:
phix.no-ip.org:
pyro.no-ip.biz:
bnls.war-lords.net:
bnls.anubisdev.net:
knight.mattkv.net:

= Online       = Offline

Battle.net Server Status

Battle.net v1

uswest.battle.net:
exodus.battle.net:
useast.battle.net:
asia.battle.net:
europe.battle.net:
ustest.battle.net:
beta.battle.net:
classicbeta.battle.net:
demo.war3.battle.net:

Battle.net v2

us.logon.battle.net:
eu.logon.battle.net:
kr.logon.battle.net:
cn.logon.battle.net:
us.patch.battle.net:
eu.patch.battle.net:
kr.patch.battle.net:
cn.patch.battle.net:
public-test.logon.battle.net:
public-test.patch.battle.net:

emNet

cali.emwar.com:
dallas.emwar.com:
kc.emwar.com:
ny.emwar.com:

PvPGN

server.eurobattle.net:
rubattle.net:
sc.theabyss.ru:
wc3.theabyss.ru:
bnetd.fishbattle.net:

RBNETD

server.bnetdocs.org:

= Online       = Offline



Copyrights

Site scripts and design copyrights reserved to Don Cullen.
Contents copyrighted to Blizzard and their parent corporation, Vivendi.
Main credits for contents goes to Arta. View the rest of credits.
Demented Minds copyrights reserved to Don Cullen 2003-present.
Copyright infringements will be prosecuted to the fullest extent allowable by law.
Please view our legal disclaimer and terms of service.