From The Mana World
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{internal packet
{{packet
|nicename= Authentication response from login server
|nicename= Authentication response from login server
|id=0x2713
|id=0x2713
|mode={{{mode}}}
|mode={{{mode}}}
|length= 51
|length= 51
|alignment=
|alignment=red
|define= -
|define= N/A
|sent={{tmwa location|src/login/login.cpp|}}
|sent={{tmwa location|src/login/login.cpp|}}
|parsed={{tmwa location|src/char/char.cpp|}}
|parsed={{tmwa location|src/char/char.cpp|}}
Line 11: Line 11:
{{packet field |  0 |  2 | Packet ID    }}
{{packet field |  0 |  2 | Packet ID    }}
{{packet field |  2 |  4 | Account ID    }}
{{packet field |  2 |  4 | Account ID    }}
{{packet field |  6 |  1 | "0" (Zero)    }}
{{packet field |  6 |  1 | "0" (Zero, accepted) or "1" (One, refused)    }}
{{packet field |  7 |  40 | Email    }}
{{packet field |  7 |  40 | Email    }}
{{packet field |  47 |  4 | Connect Until (Time)    }}
{{packet field |  47 |  4 | Connect Until (Time)    }}


|description=
|description=
Allows the player to log in unless there are too many players online.
Sent to the char server in response to a [[Net:0x2712]]. The third field will be '0' for accepted or '1' for refused.
 
The char server sends a [[Net:0x6c]] packet to the client if the field at offset 6 is not '0' or if there are too many players connected. Otherwise it sends a [[Net:0x6b]] packet containing character information.


===Internals===
===Internals===

Latest revision as of 22:38, 6 December 2013

< Back

Authentication response from login server

Packet ID:0x2713
Packet Length:51
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 "0" (Zero, accepted) or "1" (One, refused)
7 40 Email
47 4 Connect Until (Time)


Description

Sent to the char server in response to a Net:0x2712. The third field will be '0' for accepted or '1' for refused.

The char server sends a Net:0x6c packet to the client if the field at offset 6 is not '0' or if there are too many players connected. Otherwise it sends a Net:0x6b packet containing character information.

Internals

-