Jump to content

Protocol:Packet 0x60: Difference between revisions

From Sylverant Wiki
No edit summary
No edit summary
Line 4: Line 4:
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#Subcommand 0x60|Packet 0x62]] and the party leader replies with a [[Packet 0x60#Subcommand 0x5F|Subcommand 0x5F]]).
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#Subcommand 0x60|Packet 0x62]] and the party leader replies with a [[Packet 0x60#Subcommand 0x5F|Subcommand 0x5F]]).


PSO v3 (GameCube, Xbox, Blue Burst) sometimes used packet 0x6C, which has exactly the same format and function as 0x60.
PSO v3 (GameCube, Xbox, Blue Burst) sometimes uses packet 0x6C, which has exactly the same format and function as 0x60.
 
PSO Episode 3 sometimes uses packets 0xC9 and 0xCB in games, which also behave exactly like 0x60. Sending an 0xC9 or 0xCB to a non-Episode 3 client would cause that client to disconnect.


==Main Packet Format==
==Main Packet Format==

Revision as of 05:01, 12 January 2010

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).

PSO v3 (GameCube, Xbox, Blue Burst) sometimes uses packet 0x6C, which has exactly the same format and function as 0x60.

PSO Episode 3 sometimes uses packets 0xC9 and 0xCB in games, which also behave exactly like 0x60. Sending an 0xC9 or 0xCB to a non-Episode 3 client would cause that client to disconnect.

Main Packet Format

Dreamcast

Bytes Meaning
0x00 Packet Type (0x60 or 0x6C)
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)