Packet 0x81

From Sylverant
Jump to navigationJump to search

Clients send Packet 0x81 to the server to send a simple mail to a recipient. The server sends it to clients to deliver the mail. Note, a lot of this packet is pretty much not understood by me, but I do know enough to actually translate messages DC<->PC enough that they work.

It seems that the game doesn't clear the entire message buffer before sending a message, so some random data (probably meaningless) ends up in the sent packet. Simple Mail packets can be shortened by the server (to remove excess garbage), and clients will still accept them.

Dreamcast Packet Format

Bytes Meaning
0x0000 Packet Type (0x81)
0x0001 Flags (0x00)
0x0002-0x0003 Packet Size (0x0220)
0x0004-0x0007 Player Tag (0x00010000)
0x0008-0x000B Guildcard Number of Sender
0x000C-0x001B Name of Sender
0x001C-0x001F Guildcard Number of Destination
0x0020-0x00B0 Message to be sent
0x00B1-0x021F Unknown