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


Generate Code: All packets

Packet Information

Message ID:0x4F
Message Name:SCGP_MAP
Direction:Client -> Client (P2P)
Used By:Starcraft Shareware, Starcraft Broodwar, Starcraft, Starcraft Japanese
Format:(BYTE) ID (0x4F)
(WORD) Lengh of payload (discluding this value)
(WORD) Event
Event 0x00:
(WORD) 0x100
(DWORD) File Position
Event 0x01:
(DWORD) File Lengh
(DWORD) File Checksum
(STRING) File Name
Event 0x02:
(BYTE) Player ID
(DWORD) File Position
Event 0x03:
Event 0x04:
(BYTE) 0x00
(DWORD) File Position
(WORD) Data Block Lengh
(VOID) File Data Block
Event 0x05:
(BYTE) 0x00
(DWORD) File Position
Remarks:Packet CLS 1.

This packet is used to manage map downloading.
Some important things to note:
Players don't just download the map from the host. The host can request other ingame players send it, if they already have it.
Data blocks are send in blocks of 128 bytes at a time, but you can get away with 256 blocks with out issue.

Event 0x00 [C>H]:
Tells the host if you have the map or not.
For example, the map positon tells the host where to start sending the file from.
If you already have the map, then the Map position should be the lengh of the file.

Event 0x01 [H>C]:
Asks a player if they have the given map.
Players should respond to this, with event 0x00.

Event 0x02 [H>C]:
Tells the receiving player, to send the map to another player.

Event 0x03 [H>C]:
I'm not to sure about this one.
This is send to a player who has just finished sending the map to another player, and also when the game is starting.

Event 0x04 [C>C]:
Used to send a block of the map to another player.
Receiving players should verify the block of data, by sending event 0x05.
Any breaks in the UDP stream should be managed with standard resend requests.

Event 0x05 [C>C]:
Verifies the position of the map you are currently at.
This should be sent as a respone to event 0x04.
Related:[0x3D] SCGP_MAPPERCENT (C->C), Storm UDP Protocol

User Comments

For detailed questions and discussion, visit the Research Forum

No comments were made. Be the first to contribute!

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

Get Firefox
BNLS Server Status

= Online       = Offline Server Status v1 v2




= Online       = Offline


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.