Protocol:Packet 0x60

From Sylverant
Revision as of 20:49, 5 January 2010 by BlueCrab (talk | contribs) (Add page about Packet 0x60.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Clients send Packet 0x60 to the server to forward a "game command" to all clients in the lobby. This is used for various things in game, including telling clients what items are dropped when a box is opened (clients "ask" the party leader what should be dropped with a form of Packet 0x62 and the party leader replies with a Subcommand 0x5F).

Main Packet Format

Dreamcast

Bytes Meaning
0x00 Packet Type (0x60)
0x01 Flags
0x02-0x03 Packet Size (Variable)
0x04 Subcommand Type
0x05 Subcommand Size (in 32-bit increments)
0x06-0x07 Unused?
0x08... Subcommand Data


Subcommands

Various subcommands are sent with this packet, and this is not necessarily meant to be an exhaustive list of them (although, I'd love it if it were eventually).

Subcommand 0x5F

Subcommand 0x5F is used to tell clients what item dropped from an opened box.

Bytes Meaning
0x00 Area of the Drop
0x01 What kind of thing are we asking about?
0x02-0x03 Request ID (might only be one byte)
0x04-0x07 X Coordinate
0x08-0x0B Y Coordinate
0x0C-0x0F Unknown (0x00000010 works)
0x10-0x1B Item Code (first 3 32-bit values)
0x1C-0x1F 0x06010100) seems to work)
0x20-0x23 Item Code (last 32-bit value)
0x24-0x27 Unknown (0x00000002)