Net:0x0062: Difference between revisions
From The Mana World
align |
Updated names of packets to reflect the use of "(Internal)" for inter-server packets. |
||
| Line 16: | Line 16: | ||
===Internals=== | ===Internals=== | ||
The client will initiate a password change request with a [[Packet:0x0061|Change Password Request]] sent to the character server. The request is passed to and processed by the login server with a [[Packet:0x2740|Password | The client will initiate a password change request with a [[Packet:0x0061|Change Password Request]] sent to the character server. The request is passed to and processed by the login server with a [[Packet:0x2740|Change Password Request (Internal)]]. The login server sends a [[Packet:0x2741|Change Password Response (Internal)]] to the character server which passes the information to the client via a [[Packet:0x0062|Change Password Response]]. | ||
Revision as of 02:07, 21 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 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.