From The Mana World
(Initial creation)
 
m (Update packet links.)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|mode={{{mode}}}
|mode={{{mode}}}
|length=7
|length=7
|alignment=red
|alignment=orange
|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  }}
Line 17: Line 17:


===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|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]].
The client will initiate a password change request with a [[Net:0x0061|Change Password Request]] sent to the character server. The request is passed to and processed by the login server with a [[Net:0x2740|Change Password Request (Internal)]]. The login server sends a [[Net:0x2741|Change Password Response (Internal)]] to the character server which passes the information to the client via a [[Net:0x0062|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:
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:

Latest revision as of 23:58, 1 July 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.