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:0x0F
  
Message Name:SID_CHATEVENT
  
Direction:Server -> Client (Received)
  
Used By:Starcraft Shareware, Starcraft Broodwar, Diablo Shareware, Diablo II, Warcraft II, Warcraft III: The Frozen Throne, Starcraft, Starcraft Japanese, Diablo, Diablo, Warcraft III
  
Format:(DWORD) Event ID
(DWORD) User's Flags
(DWORD) Ping
(DWORD) IP Address (Defunct)
(DWORD) Account number (Defunct)
(DWORD) Registration Authority (Defunct)
(STRING) Username
(STRING) Text *
  
Remarks:Contains all chat events.

For STAR/SEXP/SSHR/JSTR, Text is UTF-8 encoded (WIDESTRING).

* Text should be no longer than 255 characters. Game clients should only be able to send 224 characters.
Event IDs:
[0x01] EID_SHOWUSER: User in channel
[0x02] EID_JOIN: User joined channel
[0x03] EID_LEAVE: User left channel
[0x04] EID_WHISPER: Recieved whisper
[0x05] EID_TALK: Chat text
[0x06] EID_BROADCAST: Server broadcast
[0x07] EID_CHANNEL: Channel information
[0x09] EID_USERFLAGS: Flags update
[0x0A] EID_WHISPERSENT: Sent whisper
[0x0D] EID_CHANNELFULL: Channel full
[0x0E] EID_CHANNELDOESNOTEXIST: Channel doesn't exist
[0x0F] EID_CHANNELRESTRICTED: Channel is restricted
[0x12] EID_INFO: Information
[0x13] EID_ERROR: Error message
[0x15] EID_IGNORE: Notifies that a user has been ignored (DEFUNCT)
[0x16] EID_ACCEPT: Notifies that a user has been unignored (DEFUNCT)
[0x17] EID_EMOTE: Emote
EID_SHOWUSER:
This is sent for each user who is already in a channel when you join it, as opposed to EID_JOIN, which is sent when a user joins a channel you have already joined. It is also sent when logged on using D2XP/D2DV and a user requires an update to their statstring - for example, by logging a different character onto a realm.
EID_JOIN:
This is sent when a user enters the channel you are currently in.
EID_LEAVE:
This is sent when a user exits the channel you are currently in.
EID_WHISPER:
This is sent when a user whispers you.
EID_TALK:
This is sent when a user (excluding self) in chat speaks.
EID_BROADCAST:
The username supplied for this event is now always 'Battle.net'. Historically, username contained the name of the Battle.net Administrator who sent the broadcast.
EID_CHANNEL:
The flags field for this event is used and indicates what special conditions exist for the channel in question. See [Battle.net Flags] for more information.
EID_USERFLAGS:
This is sent to inform the client of an update to one or more user's flags. Battle.net usually sends this event for every user in the channel, even if only one user's flags have changed. This behavior can be exploited to detect invisible users, by performing an action (such as an unsquelch) to provoke a flags update. Users included in the flags update whose presence has not been indicated by EID_JOIN or EID_SHOWUSER can then be added to the userlist as invisible. Care should be taken, however, to account for the possibility that an asynchronous send error has occurred. Should an EID_JOIN or EID_SHOWUSER event occur for an invisible user, they should be marked as a normal user, not readded to the userlist.
EID_WHISPERSENT:
The Flags and Ping fields in this packet is equal to the originating user - the one who sent the whisper. In other words, EID_WHISPERSENT contains your flags & ping, not those of the person you whispered.
EID_CHANNELDOESNOTEXIST:
See info on NoCreate Join in SID_JOINCHANNEL.
EID_CHANNELRESTRICTED:
This is sent when attempting to join a channel which your client is not allowed to join.
EID_INFO:
This is information supplied by Battle.net. This text is usually displayed by clients in yellow.
EID_Error:
This is error information supplied by Battle.net. This text is usually displayed by clients in red.
EID_Emote:
This is sent when any user (including self) uses the emote feature in chat.
  
Related:[0x0E] SID_CHATCOMMAND (C->S), [0x0C] SID_JOINCHANNEL (C->S), Platform & Product IDs & VerBytes, Chat Flags, Chat Statstrings, Notational Convention (Sizes & Types)

User Comments


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

Heinermann
Jul 01, 2010
07:22 PM

Event IDs:

[0x15] EID_IGNORE: (Starcraft) notifies that a user has been ignored
[0x16] EID_ACCEPT: (Starcraft) notifies that a user has been unignored

Jailout2000
Jul 01, 2010
11:47 PM

Where's your packet logs for these Event ID's?

Heinermann
Aug 08, 2010
02:19 AM

They are defunct and were tested through packet interception and modification.

I was testing each event for a universal text display (recv hook) in Starcraft and discovered it there.

Sixen
Sep 02, 2010
09:28 PM

Added EID_IGNORE and EID_ACCEPT.

Heinermann
Sep 04, 2010
04:09 AM

Enum in wc3tft beta:

0x04 CHATEVENT_ID_WHISPER
0x05 CHATEVENT_ID_TALK
0x06 CHATEVENT_ID_BROADCAST
0x0A CHATEVENT_ID_WHISPERSENT
0x12 CHATEVENT_ID_INFORMATION
0x17 CHATEVENT_ID_EMOTE
default CHATEVENT_ID_ERROR

There's an event 0x0B in Diablo Beta, unable to test it out or find out what it does

Sixen
Sep 18, 2010
10:13 AM

Random stuff... Color codes for each game:

WC3: |c
|c00ff0000red |c0000ff00green |c000000ffblue |r0

D2: ÿc
ÿc11 ÿc22 ÿc33 ÿc44 ÿc55 ÿc66 ÿc77 ÿc88 ÿc99 ÿc00

SC: Á
ÁQQ ÁRR ÁZZ ÁYY ÁVV ÁTT ÁW0

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.