Transport Layer:Transmission Control Protocol (TCP)
Application Layer:W3GS Messages (W3GS)
Message Id:0x43
Message Name:W3GS_MAPPART
Direction:Server to Client
Used By:Warcraft III Reign of Chaos, Warcraft III The Frozen Throne
Message Format:
(does not include protocol header)
(UINT8) To player number
(UINT8) From player number
(UINT32) Unknown (0x01)
(UINT32) Chunk position in file
(UINT32) CRC-32 encryption
(UINT8)[1442] Data


This is received when you are downloading a map from the host.

You can calculate how many more chunks you have left based on the file size and the chunk position in file. You are done downloading when the chunk position in file (plus the size of the chunk) matches the file size received in 0x42 W3GS_MAPSIZE.

If the data does not match the CRC-32, you should send the host 0x45 W3GS_MAPPARTNOTOK, otherwise you should always send 0x44 W3GS_MAPPARTOK in reply to this packet.



no one has commented yet.