Difference between revisions of "Protocol:Packet 0x02"

From Sylverant
Jump to navigationJump to search
(Add page about Packet 0x02.)
 
(Add note about Packet 0x17.)
Line 1: Line 1:
The server sends Packet 0x02 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.
+
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.
 +
 
 +
Packet 0x02 is used for ship/block ports, and 0x17 is used for the login server.
  
 
==Dreamcast Packet Format==
 
==Dreamcast Packet Format==
Line 18: Line 20:
 
|}
 
|}
  
The Copyright Message that must be included in the above copyright message field is the following (padded by zeroes, without quotes):
+
The Copyright Message that must be included in the above copyright message field is one of the two following things:
"DreamCast Lobby Server. Copyright SEGA Enterprises. 1999"
+
* For Ship/Block Servers: "DreamCast Lobby Server. Copyright SEGA Enterprises. 1999"
 +
* For the Login Server: "DreamCast Port Map. Copyright SEGA Enterprises. 1999"
  
 
[[Category:PSO Server Protocol]]
 
[[Category:PSO Server Protocol]]

Revision as of 16:23, 28 December 2009

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.

Packet 0x02 is used for ship/block ports, and 0x17 is used for the login server.

Dreamcast Packet Format

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

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"