Difference between revisions of "Packet 0x9C"

From Sylverant
Jump to navigationJump to search
(Add page about Packet 0x9C.)
 
m (Add error number to bad password on GC.)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
| 0x1C-0x43 || Unused
 
| 0x1C-0x43 || Unused
 
|-
 
|-
| 0x44-0x4B || Access Key (ASCII)
+
| 0x44-0x4F || Access Key (ASCII) (8-bytes on PC)
 
|-
 
|-
| 0x4C-0x73 || Unused
+
| 0x50-0x73 || Unused
 
|-
 
|-
 
| 0x74-0xA3 || E-mail Address (PC) or Password (Gamecube) (May be shorter -- Padded by 0-bytes)
 
| 0x74-0xA3 || E-mail Address (PC) or Password (Gamecube) (May be shorter -- Padded by 0-bytes)
Line 41: Line 41:
 
! Flag !! Meaning
 
! Flag !! Meaning
 
|-
 
|-
| 0 || User Registration Failed (DCv2/PC) or Bad Password (GC)
+
| 0 || User Registration Failed (DCv2/PC) or Bad Password (GC -- No.127)
 
|-
 
|-
 
| 1 || Ok (Client sends a [[Packet 0x9D]] (DCv2/PC) or [[Packet 0x9E]] (GC) next)
 
| 1 || Ok (Client sends a [[Packet 0x9D]] (DCv2/PC) or [[Packet 0x9E]] (GC) next)

Latest revision as of 15:20, 1 March 2010

Packet 0x9C is sent by PSOv2 Clients as a response to a Packet 0x9A that tells them that they are a new user. This is mostly analogous to Packet 0x92 that is sent by PSOv1. The client then expects a response packet 0x9C.


PC/Gamecube Packet Format (Client->Server)

Bytes Meaning
0x00-0x03 Packet Header (Type: 0x9C, size: 0xA4)
0x04-0x0B Unknown/Junk (Potentially Player Tag + Guildcard, but neither are set)
0x0C Version Code
0x0D-0x10 Unused
0x11 Language Code
0x12-0x13 Unused
0x14-0x1B Serial Number (ASCII)
0x1C-0x43 Unused
0x44-0x4F Access Key (ASCII) (8-bytes on PC)
0x50-0x73 Unused
0x74-0xA3 E-mail Address (PC) or Password (Gamecube) (May be shorter -- Padded by 0-bytes)


Dreamcast/PC/Gamecube Packet Format (Server->Client)

Bytes Meaning
0x00-0x03 Packet Header (Type: 0x9C, Size: 0x0004, Flags: Login Response; see below)

Login Responses

Flag Meaning
0 User Registration Failed (DCv2/PC) or Bad Password (GC -- No.127)
1 Ok (Client sends a Packet 0x9D (DCv2/PC) or Packet 0x9E (GC) next)