Syntax highlighting of server-protocol/4d9cc76 ~( Packet_0x9C)

# Packet 0x9C

Packet 0x9C is sent by PSOv2 Clients as a response to a [Packet 0x9A](server-protocol/Packet_0x9A) that tells them that they are a new user. This is mostly analogous to [Packet 0x92](server-protocol/Packet_0x92) that is sent by PSOv1. The client then expects a response packet 0x9C.

## Dreamcast/PC/Gamecube Packet Format (Client->Server)
| Bytes | Meaning |
| --- | --- |
| 0x00-0x03 | [Packet Header](server-protocol/Packet_Headers) (Type: 0x9C, size: 0xA4) |
| 0x04-0x0B | Unknown/Junk (Probably Player Tag + Guildcard, but neither are set) |
| 0x0C | [Version Code](server-protocol/Version_Codes) |
| 0x0D-0x10 | Unused |
| 0x11 | [Language Code](server-protocol/Language_Codes) |
| 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](server-protocol/Packet_Headers) (Type: 0x9C, Size: 0x04, 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](server-protocol/Packet_0x9D) (DCv2/PC) or [Packet 0x9E](server-protocol/Packet_0x9E) (GC) next) |