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: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:
[blank]
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 Battle.net Research Forum

No comments were made. Be the first to contribute!

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.