From The Mana World
m (Update packet links.) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|mode={{{mode}}} | |mode={{{mode}}} | ||
|length=3 | |length=3 | ||
|alignment=yellow | |||
|define= SMSG_CHAR_PASSWORD_RESPONSE | |define= SMSG_CHAR_PASSWORD_RESPONSE | ||
|sent={{tmwa location|src/char/char.cpp}} | |sent={{tmwa location|src/char/char.cpp}} | ||
Line 15: | Line 16: | ||
===Internals=== | ===Internals=== | ||
The client will initiate a password change request with [[ | The client will initiate a password change request with a [[Net:0x0061|Change Password Request]] sent to the character server. The request is passed to and processed by the login server with a [[Net:0x2740|Change Password Request (Internal)]]. The login server sends a [[Net:0x2741|Change Password Response (Internal)]] to the character server which passes the information to the client via a [[Net:0x0062|Change Password Response]]. | ||
Latest revision as of 23:59, 1 July 2013
Change Password Response
Packet ID: | 0x0062 |
---|---|
Packet Length: | 3 |
Client Defined: | SMSG_CHAR_PASSWORD_RESPONSE |
Sent Location(s): | src/char/char.cpp |
Parsed Location(s): | src/net/tmwa/loginhandler.cpp:71 |
Fields
Offset | Length | Contents |
---|---|---|
0 | 2 | Packet ID |
2 | 1 | Result |
Description
Sent by the character server with the response of a password change request.
Internals
The client will initiate a password change request with a Change Password Request sent to the character server. The request is passed to and processed by the login server with a Change Password Request (Internal). The login server sends a Change Password Response (Internal) to the character server which passes the information to the client via a Change Password Response.
The character server will respond with the result of the password change request:
- 0 - The account was not found.
- 1 - Success.
- 2 - The old password was incorrect.
- 3 - The new password was too short.
- All other results are not defined.