Line 15: | Line 15: | ||
===Internals=== | ===Internals=== | ||
The client will initiate a password change request with [[Packet:0x0061]] sent to the character server. The request is passed to and processed by the login server with | 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 Change Request]. The login server sends a [[Packet:0x2741]Password Change Response] to the character server which passes the information to the client via a [[Packet:0x0062]|Change Password Response]. | ||
Revision as of 02:40, 14 June 2013
{{packet |nicename=Change Password Response |id=0x0062 |mode={{{mode}}} |length=3 |define= SMSG_CHAR_PASSWORD_RESPONSE |sent= src/char/char.cpp |parsed=src/net/tmwa/loginhandler.cpp:71 |fields=
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 [[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 Change Request]. The login server sends a [[Packet:0x2741]Password Change Response] to the character server which passes the information to the client via a [[Packet:0x0062]|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.
}}