Difference between revisions of "Protocol:Packet 0x06"

From Sylverant
Jump to navigationJump to search
(Add page about Packet 0x06.)
 
m (Fix table of contents on page.)
Line 1: Line 1:
[[toc]]
+
{| align="right"
 +
| __TOC__
 +
|}
 
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.
 
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)==
 
==Dreamcast Packet Format (Client->Server)==

Revision as of 16:44, 27 December 2009

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.