Protocol:Packet 0x06

From Sylverant
(Redirected from Packet 0x06)
Jump to navigationJump to search

Both clients and the server send Packet 0x06, which is used to send messages to the current lobby (chat bubbles). There are slight differences between the packets that are sent to the server and sent from the server, which are detailed below.

Dreamcast Packet Format (Client->Server)

Bytes Meaning
0x00 Packet Type (0x06)
0x01 Flags (0x00)
0x02-0x03 Packet Size (Variable)
0x04-0x0B Padding (all zeroes)
0x0C... Message to send

Dreamcast Packet Format (Server->Client)

Bytes Meaning
0x00 Packet Type (0x06)
0x01 Flags (0x00)
0x02-0x03 Packet Size (Variable)
0x04-0x07 Padding (all zeroes)
0x08-0x0B Guild Card Number
0x0C... Message to send in a somewhat odd format (see below)

Message Format

The message for Dreamcast clients (as well as PC clients) is formed in the following manner on Sylverant: First the character's name who sent the message, then a tab character, then the message that's sent (stripping away any Language Codes that are present).