BNETDocs
C>S 0x1C SID_STARTADVEX3
Message Id:0x1C
Message Name:SID_STARTADVEX3
Direction:Client to Server
Flags: In Research
Used By:Starcraft Original, Starcraft Broodwar
Starcraft Shareware, Starcraft Japanese
Diablo Retail, Diablo Shareware
Diablo II, Diablo II Lord of Destruction
Warcraft II BNE, Warcraft III Reign of Chaos
Warcraft III The Frozen Throne
Format:

 (UINT32) Game State
 (UINT32) Game Uptime in seconds
  (UINT16) Game Type
  (UINT16) Sub Game Type
 (UINT32) Provider Version Constant (0xFF)
 (UINT32) Ladder Type
(STRING) Game Name
(STRING) Game Password
(STRING) Game Statstring

Remarks

Used by clients to inform the server that a game has been created, or that the state of a created game has changed.

Previous incarnations of this message are SID_STARTADVEX and SID_STARTADVEX2.

Bitwise flags for State:

0x01: Game is private
0x02: Game is full
0x04: Game contains players (other than creator)
0x08: Game is in progress
0x10: Disconnect counts as loss (Ladder?)
0x80: Game is a replay

Possible values for Game Type (and Sub Game Type): **

0x02: Melee
0x03: Free for All
0x04: 1 vs 1
0x05: Capture The Flag
0x06: Greed (Resources, 0x01: 2500, 0x02: 500, 0x03: 7500, 0x04: 10000)
0x07: Slaughter (Minutes, 0x01: 15, 0x02: 30, 0x03: 45, 0x04: 60)
0x08: Sudden Death
0x09: Ladder (Disconnects, 0x00: Not a loss, 0x01: Counts as a loss)
0x10: Iron Man Ladder (W2BN only)
0x0A: Use Map Settings
0x0B: Team Melee (Number Of Teams, 0x01: 2 Teams, 0x02: 3 Teams, etc.)
0x0C: Team Free For All (Number Of Teams, 0x01: 2 Teams, 0x02: 3 Teams, etc.)
0x0D: Team Capture The Flag (Number Of Teams, 0x01: 2 Teams, 0x02: 3 Teams, etc.)
0x0F: Top vs. Bottom (Number Of Teams, 1-7 specifies the ratio of players belonging to both teams)
0x20: PGL

Provider Version Constant: The current version of the game (1.16.1) uses 0xFF, previous versions have used 0x1F, but this may vary depending on game version.

Possible values for Ladder: *

0x00: Game is Normal (Non-Ladder)
0x01: Game is Ladder
0x03: Game is Iron Man Ladder (W2BN only)

* It could be that the Ladder is bitwise as well, and that 0x02 means Iron Man and 0x03 just means Iron Man + Ladder.

** Sub Game Type appears to be 0x01 for all game types except Top vs Bottom, where it seems to depend on the size of each team. More research will be needed to confirm.

| Edited:
Comments

no one has commented yet.