From The Mana World
Revision as of 23:58, 1 July 2013 by Jaxad0127 (talk | contribs) (Update packet links.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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