Net:0x0062: Difference between revisions
From The Mana World
No edit summary |
align |
||
| 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}} | ||
Revision as of 07:14, 18 June 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 Password Change Request. The login server sends a Password Change Response 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.