Protocol:Packet 0x01

From Sylverant
Revision as of 00:27, 29 December 2009 by BlueCrab (talk | contribs) (Add mention of Packet 0xB0.)
Jump to navigationJump to search

The server sends Packet 0x01 or 0xB0 to send clients a message.

For Packet 0x01, this message shows up in a small box on the right hand side of the screen. Sylverant uses this message type to show errors when trying to join a lobby.

For Packet 0xB0, this message shows up in the middle of the right hand side of the screen without any borders or anything else (so use an appropriate color so people can see it). Sylverant uses this message type to show results when doing a chat command (such as /save), as well as to show global messages.

Dreamcast Packet Format

Bytes Meaning
0x00 Packet Type (0x01 or 0xB0)
0x01 Flags (0x00)
0x02-0x03 Packet Size (Variable)
0x04-0x0B Padding (all zeroes)
0x0C... Message to send, usually preceded by a Language Code