Protocol:Packet 0x01

From Sylverant
(Redirected from Packet 0x01)
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/Gamecube 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

PC Packet Format

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

Blue Burst Packet Format

Bytes Meaning
0x00-0x01 Packet Size (Variable)
0x02-0x03 Packet Type (0x0001 or 0x00B0)
0x04-0x07 Flags (0x00000000)
0x08-0x0F Padding (all zeroes)
0x10... Message to send, usually preceded by a Language Code