From The Mana World
Line 17: Line 17:
|description=
|description=
Sent to the Character Server immediately after connecting. After this packet is sent to the server, it immediately replies with a 4-byte packet containing whatever was sent as the Account ID. The client shall perform a read of 4 bytes and ignore (or verify) the returned value.
Sent to the Character Server immediately after connecting. After this packet is sent to the server, it immediately replies with a 4-byte packet containing whatever was sent as the Account ID. The client shall perform a read of 4 bytes and ignore (or verify) the returned value.
The server shall respond with [[Packet:0x006C|Refuse Connection]] if the server is over-populated, otherwise:
* [[Packet:0x2716|Request Email and Time Limit]] if a login server exists.
* [[0x006B|Update Character List]]


===Note===
===Note===

Revision as of 05:49, 2 February 2013

< Back

Character Server Connection Request

Packet ID:0x0065
Packet Length:17
Client Defined:CMSG_CHAR_SERVER_CONNECT
Sent Location(s):src/net/tmwa/charserverhandler.cpp:345
Parsed Location(s):src/char/char.cpp


Fields

Offset Length Contents
0 2 Packet ID
2 4 Account ID
6 4 Session ID (Part 1)
10 4 Session ID (Part 2)
14 2 Client Protocol Version
16 1 Gender


Description

Sent to the Character Server immediately after connecting. After this packet is sent to the server, it immediately replies with a 4-byte packet containing whatever was sent as the Account ID. The client shall perform a read of 4 bytes and ignore (or verify) the returned value.

The server shall respond with Refuse Connection if the server is over-populated, otherwise:

Note

  • Client Protocol Version must be set to "1"; it was previously "0" for the old client.
  • Gender of "Male" is defined as "1", and "Female" is defined as "0".