From The Mana World
(tweak wording more)
Line 18: Line 18:
|description=
|description=
Registers login credentials.
Registers login credentials.
<uml activity>
(start)->(Login Request)-><d1>Connection Refused->(Login Error)->|a|->(end)
<d1>Banned or Restricted->(Login Error)
<d1>GM level less than Minimum GM Level->(Connection Problem)->|a|
<d1>Success-><d2>Update Host Defined->(Host Update)->(Login Data)->|a|
<d2>Update Host Not Defined->(Login Data)
<d2>Character already connected->(Connection Problem)
</uml>


The server will take one of the following actions upon receiving this command:
The server will take one of the following actions upon receiving this command:

Revision as of 01:53, 2 February 2013

< Back

Login Register

Packet ID:0x0064
Packet Length:55
Client Defined:(hard-coded)
Sent Location(s):src/net/tmwa/loginhandler.cpp:298
Parsed Location(s):src/login/login.cpp


Fields

Offset Length Contents
0 2 Packet ID
2 4 Client Version
6 24 Username
30 24 Password
54 1 Bitmask:

0x01: Can handle Update Host packet

0x02: defaults to first char-server instead of last


Description

Registers login credentials.

<uml activity>

(start)->(Login Request)-><d1>Connection Refused->(Login Error)->