|

Message ID: |
0x0F |
Message Name: |
SID_CHATEVENT
|
Direction: |
Server -> Client (Received) |
Used By: |
All Products |
Format: Help
Hint: Field names highlighted in blue will display a definition if you hover over the text. |
(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 Starcraft & Starcraft: Brood War, Text is UTF-8 encoded (WIDESTRING). See [Notational Conventions] for more information.
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 | [0x17] | EID_EMOTE: | Emote |
View consts: [pas cpp vb]
Notes on some EIDs follow. Those not mentioned below are self-explanatory.
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_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 always sends this event for every user in the channel, even if only one user's flags have changed. This behaviour can be exploited to detect invisible users, by performing an action (such as an unignore) to illicit 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 occured. 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_WHISPER & EID_WHISPERSENT:
The Flags and Ping fields in these packets are 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. |
|
Printable Version
|
User Comments:
Posted by raylu on 29/04/05 07:52 |
What are invisible users?
I heard a rumor that Blizzard Reps can become invisible and monitor channels.
|
#292 |
Posted by Arta (Administrator) on 04/09/04 05:25 |
That's incorrect. Only one user will be in any one SID_CHATEVENT packet. Battle.net will send one EID_SHOWUSER event for each user when you join a channel.
|
#200 |
Posted by Iarn on 21/07/04 08:45 |
I would like to point out that it does not state that more then one user can be sent to you in 0x0f. This didn't help me out much when I found that only about 1-2 people showed up in the channel when there was a lot more actually there.
|
#189 |
Posted by UserLoser (Editor) on 09/11/03 02:02 |
Actually, the flags are the person that you're whispering to/whispered from, not your own flags.
|
#134 |
|
|
|