S>C 0x04 W3GS_SLOTINFOJOIN

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Warcraft III In-Game Messages (W3GS)
Message Id:0x04
Message Name:W3GS_SLOTINFOJOIN
Direction:Server to Client
Used By:Warcraft III Reign of Chaos, Warcraft III The Frozen Throne
Message Format:
(does not include protocol header)
 (UINT16)    Length of Slot data
 (UINT8)    Number of slots
 (UINT8) [] Slot data
(UINT32)    Random seed
 (UINT8)    Game type
 (UINT8)    Number of player slots without observers
 (UINT8)    Player number
(UINT16)    AF_INET (2)
(UINT16)    Port
(UINT32)    External IP
(UINT32)    Unknown (0)
(UINT32)    Unknown (0)

For each slot:
   (UINT8) Player number
   (UINT8) Download status
   (UINT8) Slot status
   (UINT8) Computer status
   (UINT8) Team
   (UINT8) Color
   (UINT8) Race
   (UINT8) Computer type
   (UINT8) Handicap

Remarks

This is sent to tell the client about the game slots, upon entry of the lobby.

Download status:

  • This is a percentage of their download progress. As such, this value can only be between 0 and 100.

Slot status:

0x00 Open
0x01 Closed
0x02 Occupied

Computer status:

0x00 Human
0x01 Computer

Race:

0x01 Human
0x02 Orc
0x04 Night Elf
0x08 Undead
0x20 Random
0x40 Fixed

Computer type:

0x00 Easy
0x01 Normal / Human
0x02 Hard
| Edited: Caaaaarrrrlll

Comments

cen

Update on 8.3.2020: Port is uint16, the other 2 bytes before that are AF_INET