Navigation

Console
Generate Code: All packets
Packets

Game Statstrings


Starcraft/Brood War Game Statstrings:

These statstrings are comma delimited, with the following fields:
1 Map size
2 digit number, first digit X, 2nd digit Y, as multiplier of 32.
Example: 44 = 4*32 x 4*32 = 128x128
2 Unknown
3 Game Speed
0x00: Slowest
0x01: Slower
0x02: Slow
0x03: Normal
Blank: Fast
0x05: Faster
0x06: Fastest
4 Approval
0x00: Not Approved
0x01: Blizzard Approved
0x02: Ladder Approved
0x03: PGL Approved
0x04: KBK Approved
0x05: CompUSA Approved
5 Game Type
0x02: Melee
0x03: FFA
0x04: 1v1
0x05: CTF
0x06: Greed
0x07: Slaughter
0x08: Sudden Death
0x09: Ladder
0x0A: UMS
0x0B: Team Melee
0x0C: Team FFA
0x0D: Team CTF
0x0F: TvB
6 Parameter; The value of this parameter depends on the game type.
7 Checksum; This is a checksum of the map file.
The checksum is a DWORD hex string
8 Tileset
Blnk: Badlands
0x01: Platform
0x02: Installation
0x03: Ash
0x04: Jungle
9 Unknown
10 Creator/Map name
These are separated by a 0x0D byte
Warcraft II:
1 Unknown
2 Unknown
3 Game Speed
0x00: Slowest
0x01: Even Slower
0x02: Slower
0x03: Slow
0x04: Normal
0x05: Fast
0x06: Faster
0x07: Even Faster
0x08: Fastest
4 Approval
0x00: Not Approved
0x01: Blizzard Approved
0x02: Ladder Approved
0x03: PGL Approved
0x04: KBK Approved
0x05: CompUSA Approved
5 Game Type
0x02: Melee
0x03: FFA
0x04: 1v1
0x09: Ladder
0x0A: UMS
0x0F: TvB
0x10: Iron man ladder
6 Parameter; The value of this parameter depends on the game type.
7 Checksum; This is a checksum of the map file.
8 Starting Resources
9 Creator/Map name
These two values are separated by a 0x0D byte


User Comments


For detailed questions and discussion, visit the Battle.net Research Forum

Jailout2000
Mar 27, 2008
08:30 AM

If the map name has a 0x0D or a 0x0A, then others will not be able to join.
They will receive a "Unable to join game." message from Battle.net and the information screen will be blank.
(Tested on Starcraft Broodwar)

Im going to play safe and assume that this is because Starcraft cannot parse the invalid statstring.

ansichart
Oct 03, 2008
07:29 AM

I have done some packet analyzing and I found out the first unknown value. It is the number of players allowed on the map. If the value is blank, then it is an 8 player map, values 12-17 are 2 player maps - 7 player maps.

And #7 does not seem to be the checksum of the map, since it seems to be the same value for me no matter what map I pick.

The other unknown value is set to 1 for a replay game, and set to blank if not.

Also, there is a parameter that lies before the map size... before the first comma and after the game password. The field contains a DWORD in it only when you host a saved game. I am not sure what this data means.

Jailout2000
Aug 23, 2009
04:51 AM

The statstring format for Starcraft needs to be updated... I made my bot send the SID_STARTADVEX3 following these specifications and it had the blank info come up.

Now, that is not saying I do not have a working statstring, because I do. I may find time later on to update this with my working statstring, and ansichart's findings.

RealityRipple
Apr 09, 2010
02:24 PM

Got this info regarding Starcraft Shareware games. Will be doing the rest of them soon as well:

Game Statstring: ,33,12,6,,2,1,2ac374b3,,RealityRipple(0x0D)Byways(0x0D)
Map Size: 33 3*32,3*32 96x96
Players: 12 2 players
Game Speed: 6 Fastest
Approval: - Not Implemented/No Approval/Unknown
Game Type: 2 Melee
Parameter: 1 See above Parameter
Checksum: 2ac374b3
Tileset: blank Badlands
Creator: RealityRipple
MapName: Byways

As for the checksum, http://forum.valhallalegends.com/index.php?topic=17702.msg182264#msg182264 will explain how it is created.

Jailout2000
Jun 29, 2010
11:07 PM

That looks about right.

Sixen
Sep 02, 2010
03:11 PM

Going to check back on these, it's from old research of mine.
DRTL:
Status: 0
Game Type: 7
Language ID: 67698688
Address Family: 0
Port: 2
Host IP: -1290215401
???: 0
???2: 0
Game Status: 0
Time Elapsed: 101580800
Game Name: asdf
Game Pass:
Game Statstring: 0
Host: UssRustolium16 LTRD 19 0 0 101 16 79 105 19312 0

BNLS Server Status
vps.clan-warp.net:
phix.no-ip.org:
bnls.mattkv.net:
knight.mattkv.net:
bnls.anubisdev.net:
pyro.no-ip.biz:
bnls.net:
jbls.clanbnu.net:

= Online       = Offline

Battle.net Server Status
uswest.battle.net:
useast.battle.net:
asia.battle.net:
europe.battle.net:

= Online       = Offline

Advertisements
Sponsor Us; Advertise here!



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.