BNETDocs
C>S 0x0A SID_ENTERCHAT
Message Id:0x0A
Message Name:SID_ENTERCHAT
Direction:Client to Server
Used By:Starcraft Original, Starcraft Broodwar
Starcraft Shareware, Starcraft Japanese
Diablo Retail, Diablo Shareware
Diablo II, Diablo II Lord of Destruction
Warcraft II BNE, Warcraft III Reign of Chaos
Warcraft III The Frozen Throne
Format:

(STRING) Username *
(STRING) Statstring **

Remarks

Joins Chat.

* Null on WAR3/W3XP.

** Null on CDKey Products, except for D2DV and D2XP when on realm characters..

| Edited:
Comments
LordVader

Appears this is not always null for cdkey products, just logged this while on D2XP: ff 0a 1b 00 46 61 72 43 72 61 70 00 55 53 45 61 73 74 2c 46 61 72 43 72 61 70 00 ...FarCrap.USEast,FarCrap.

(DWORD) Protocal Header: ff 0a 1b 00 (STRING) CharacterName: 46 61 72 43 72 61 70 00 (STRING) Realm, Character: 55 53 45 61 73 74 2c 46 61 72 43 72 61 70 00

This would be logging into USEast on D2XP with the realm character "FarCrap" on my account, no account info is seen in the packet. The account in use is Boredom and it is logged into the realm character FarCrap.

1337D00D

Perhaps, but in WAR3 and W3XP its always a null five-character string with the last two bytes being "W3" (then a null char")

LordVader

Yah the extra data relates to realm characters, for only D2DV and D2XP it seems. Can you post a full log of 0x0A that contains bytes you are refering to? For both war3 and w3xp I am getting: ff 0a 06 00 00 00