From The Mana World
(Initial creation)
 
(fix spaces in URLs)
Line 6: Line 6:
|alignment=red
|alignment=red
|define=N/A
|define=N/A
|sent={{tmwa location | src/login/login.cpp | 1626}}
|sent={{tmwa location|src/login/login.cpp|1626}}
|parsed={{tmwa location | src/char/char.cpp | 1520}}
|parsed={{tmwa location|src/char/char.cpp|1520}}
|fields=
|fields=
{{packet field | 0 | 2 | Packet ID  }}
{{packet field | 0 | 2 | Packet ID  }}

Revision as of 05:00, 21 June 2013

< Back

Password Change Response (Internal)

Packet ID:0x2741
Packet Length:7
Client Defined:N/A
Sent Location(s):src/login/login.cpp
Parsed Location(s):src/char/char.cpp


Fields

Offset Length Contents
0 2 Packet ID
2 4 Account ID
6 1 Status


Description

Sent by the login server with the response of a password change request and the affected account.

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 login server will respond with the account ID and a status number indicating the result of the password change request, which is forwarded to the client:

  • 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.