Difference between revisions of "Protocol:Packet 0x06"
From Sylverant
Jump to navigationJump to searchm (Fix table of contents on page.) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 37: | Line 37: | ||
==Message Format== | ==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. | + | 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 [[Protocol:Language Codes|Language Codes]] that are present). |
[[Category:PSO Server Protocol]] | [[Category:PSO Server Protocol]] |
Latest revision as of 05:12, 13 December 2021
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).