Navigation

Console
Generate Code: All packets
Packets

Chat Statstrings


User Statstrings


These strings appear in the TEXT field of S > C [0x0F] SID_CHATEVENT for user events.

They are always in the format:

ProductID + \" \" + Statstring
ProductID: Reversed four-letter product ID, appears \"like\" the DWORD as sent during logon.
Statstring: Depends on product. Specified below:
Diablo

Diablo statstrings contain 9 fields, delimited with spaces.

Note that this product allows the client to specify whatever statstring it calculates, so bots may not follow this format!
1 Character Level
2 Character Class
\"0\": Warrior
\"1\": Rogue
\"2\": Sorcerer
3 Number of dots
\"0\": Has yet to kill Diablo
\"1\": Killed Diablo on Normal difficulty
\"2\": Killed Diablo on Nightmare
\"3\": Killed Diablo on Hell
4 Character's Strength
5 Character's Magic
6 Character's Dexterity
7 Character's Vitality
8 Character's Gold
9 Unknown (\"0\")
StarCraft, StarCraft Japanese, Brood War, and WarCraft II

These products all have 9 fields separated by space, like Diablo.
1 Ladder Rating
The player's current ladder rating.
2 Ladder Rank
The player's rank on the ladder.
3 Wins
The amount of wins the player has in normal games.
4 Spawned
\"1\" if the client is spawned [STAR/JSTR/W2BN], \"0\" otherwise.
5 Unknown (\"0\")
6 High Ladder Rating
The player's \"highest ever\" ladder rating.
7 Unknown (\"0\")
8 Unknown (\"0\")
9 Icon
This value should be matched against the product values of each icon in each Battle.net Icon file that is loaded. If a match is found, the client should use this icon when displaying the user.
WarCraft III, WarCraft III: TFT

These products have 2 or 3 fields separated by space.

There is a possibility that there can be 0 fields, meaning that the user was not assigned their stats before joining the channel (often appears with bots who join channel automatically and not waiting until the user clicks "Enter Chat").
1 Icon
Normal Format: Level + Tier + \"3W\" (special icons may not follow this format)
Level: The \"win level\" of the icon \"1\" through \"5\" (\"6\" on TFT). \"1\" is always peon.
Tier: The race \"tier\" of the icon.
\"R\" Random
\"H\" Human
\"U\" Undead
\"N\" Night Elf
\"O\" Orc
\"D\" Tournament (TFT)
This value should be matched against the product values of each icon in each Battle.net Icon file that is loaded. If a match is found, the client should use this icon when displaying the user.
2 Level
Level of the player. (Highest out of all possible game types that the user has played.) "0" means no ladder games on record.
3 Clan tag [OPTIONAL]
Reversed clan tag, appears only if the player is in a clan.

Diablo II, Diablo II: LoD

These products do not have the same format.
If the player is on Open, the format is just:
ProductID
otherwise it follows the format:
ProductID + RealmName + \",\" + CharacterName + \",\" + Bytes
ProductID: \"PX2D\" or \"VD2D\".
RealmName: The realm the character is on.
CharacterName: The name of the character.
Bytes: 33 bytes of non-textual data about the character. Each byte is between 0x01 and 0xFF and is explained below. 0xFF generally means the field is empty or not available.
[1] Unknown (0x84)
[2] Unknown (0x80)
[3] Equipment: Head
[4] Equipment: Torso
[5] Equipment: Legs
[6] Equipment: Right Arm
[7] Equipment: Left Arm
[8] Equipment: Right Weapon
[9] Equipment: Left Weapon (Typically Bows)
[10] Equipment: Left Shield
[11] Equipment: Right Shoulder Pad
[12] Equipment: Left Shoulder Pad
[13] Left Item (Heads)
[14] Character Type:
0x01: Amazon
0x02: Sorceress
0x03: Necromancer
0x04: Paladin
0x05: Barbarian
0x06: Druid
0x07: Assassin
[15] Color: Head
[16] Color: Torso
[17] Color: Legs
[18] Color: Right Arm
[19] Color: Left Arm
[20] Color: Right Weapon
[21] Color: Left Weapon
[22] Color: Shield
[23] Color: Right Shoulder Pad
[24] Color: Left Shoulder Pad
[25] Unknown
[26] Level (0x01 to 0x63, 1 to 99)

[27] Flags
0x04: Hardcore
0x08: Dead
0x20: Expansion

[28] Current act (Currently no way to tell IV from V!)
Original:
0x80: Normal Act I
0x82: Act II
0x84: Act III
0x86: Act IV
0x88: Nightmare Act I
0x8A: Act II
0x8C: Act III
0x8E: Act IV
0x90: Hell Act I
0x92: Act II
0x94: Act III
0x96: Act IV
0x98: All Acts (completed)
Expansion:
0x80: Normal Act I
0x82: Act II
0x84: Act III
0x86: Act IV/V
0x8A: Nightmare Act I
0x8C: Act II
0x8E: Act III
0x90: Act IV/V
0x94: Hell Act I
0x96: Act II
0x98: Act III
0x9A: Act IV/V
0x9E: All Acts (completed)
[29] Unknown (0x80 or 0xFF)
[30] Unknown (0x80 or 0xFF)

[31] Ladder
0xFF: Non-ladder
Other: Ladder
Seems to be the season number, currently 0x05.
[32] Unknown (0xFF)
[33] Unknown (0xFF)


User Comments


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

No comments were made. Be the first to contribute!

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.