Difference between revisions of "Protocol:Packet 0x02"
From Sylverant
Jump to navigationJump to searchm (Reference the bb packet too.) |
m (BlueCrab moved page Packet 0x02 to Protocol:Packet 0x02) |
(No difference)
|
Revision as of 05:06, 13 December 2021
The server sends Packets 0x02 and 0x17 to non-Blue Burst clients to verify that a server is in place where the client is connecting, as well as to communicate the encryption vectors that will be in use for the rest of the connection. For PSO Blue Burst, Packet 0x03 is used for this purpose.
Packet 0x02 is used for ship/block ports, and 0x17 is used for the login server.
Sending an 0x17 to a GameCube client will cause it to reply with an 0xDB, but only for the first 0x17 received in the client's session.
Dreamcast/Gamecube Packet Format
Bytes | Meaning |
---|---|
0x00 | Packet Type (0x02 or 0x17) |
0x01 | Flags (0x00) |
0x02-0x03 | Packet Size (At least 0x004C, everything after byte 0x4B will be ignored) |
0x04-0x43 | Copyright Message (see below) |
0x44-0x47 | Server Encryption Vector |
0x48-0x4B | Client Encryption Vector |
PC Packet Format
Bytes | Meaning |
---|---|
0x00-0x01 | Packet Size (At least 0x004C, everything after byte 0x4B will be ignored) |
0x03 | Packet Type (0x02 or 0x17) |
0x04 | Flags (0x00) |
0x04-0x43 | Copyright Message (see below) |
0x44-0x47 | Server Encryption Vector |
0x48-0x4B | Client Encryption Vector |
The Copyright Message that must be included in the above copyright message field is one of the two following things:
- For Ship/Block Servers: "DreamCast Lobby Server. Copyright SEGA Enterprises. 1999"
- For the Login Server: "DreamCast Port Map. Copyright SEGA Enterprises. 1999"