Skip to content
Youx edited this page Sep 13, 2010 · 1 revision

Type of a message

Value Action Value of the ID field
0 Send message to all players on the server 0
1 Send message to all players in the channel The ID of the channel
2 Send message to a player The ID of the player

Client : sending a message (0xf0beae01)

Size Format Description
4 bytes 32 bit unsigned integer Color of the message in hexadecimal
1 byte 8 bit value Type of the message
4 bytes 32 bit unsigned integer ID
* Null terminated string Message to send

Server : sending a message (0xf0be8200)

Size Format Description
4 bytes 32 bit unsigned integer Color of the message in hexadecimal
1 byte 8 bit value Type of the message
1 byte 8 bit value Length of the sender name
29 bytes Static string (not null terminated) Sender name (can be “SERVER” if we send a kick notification)
* Null terminated string Message to send
Clone this wiki locally