From The Mana World
(really fix length)
m (Update packet links.)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|mode={{{mode}}}
|mode={{{mode}}}
|length=23
|length=23
|alignment=yellow
|define= SMSG_LOGIN_ERROR
|define= SMSG_LOGIN_ERROR
|sent={{tmwa location|src/login/login.cpp}}
|sent={{tmwa location|src/login/login.cpp}}
Line 12: Line 13:
{{packet field |  3 | 20 | Error Message (or time string) }}
{{packet field |  3 | 20 | Error Message (or time string) }}


|description=[[File:LoginProcessFlow.png|frame|Login Process Flow]]
|description=[[File:LoginProcessFlow.svg|frame|Login Process Flow]]
Sent in response to [[Packet:0x0064|Login Request]].
Sent in response to [[Net:0x0064|Login Request]].
An error code response that is sent by the server in the event of a problem.
An error code response that is sent by the server in the event of a problem.


===Error Codes ===
===Error Codes ===
* '''0x0000''' - The ID is not registered.
* '''0x00''' - The ID is not registered.
* '''0x0001''' - Incorrect Password.
* '''0x01''' - Incorrect Password.
* '''0x0002''' - The ID is expired.
* '''0x02''' - The ID is expired.
* '''0x0003''' - Rejected from Server.
* '''0x03''' - Rejected from Server.
* '''0x0004''' - You have been blocked by the GM team.
* '''0x04''' - You have been blocked by the GM team.
* '''0x0005''' - Client version is too low (client out of date).
* '''0x05''' - Client version is too low (client out of date).
* '''0x0006''' - Your are temporarily prohibited from logging in.
* '''0x06''' - Your are temporarily prohibited from logging in.
* '''0x0007''' - Server is jammed due to over populated.
* '''0x07''' - Server is jammed due to over populated.
* '''0x0008''' - No MSG ''(actually, all states after 9 except 99 are No MSG, use only this)''
* '''0x08''' - No MSG ''(actually, all states after 9 except 99 are No MSG, use only this)''
* '''0x0063''' - This ID has been completely erased.
* '''0x63''' - This ID has been completely erased.
}}


== Notes ==
=== Notes ===
Before 2013-04-27, there was a bug where the length was actually 3 for IP bans.
Before 2013-04-27, there was a bug where the length was actually 3 for IP bans.
}}

Latest revision as of 23:58, 1 July 2013

< Back

Login Error

Packet ID:0x006A
Packet Length:23
Client Defined:SMSG_LOGIN_ERROR
Sent Location(s):src/login/login.cpp
Parsed Location(s):src/net/tmwa/loginhandler.cpp:149


Fields

Offset Length Contents
0 2 Packet ID
2 1 Error Code
3 20 Error Message (or time string)


Description

Login Process Flow

Sent in response to Login Request. An error code response that is sent by the server in the event of a problem.

Error Codes

  • 0x00 - The ID is not registered.
  • 0x01 - Incorrect Password.
  • 0x02 - The ID is expired.
  • 0x03 - Rejected from Server.
  • 0x04 - You have been blocked by the GM team.
  • 0x05 - Client version is too low (client out of date).
  • 0x06 - Your are temporarily prohibited from logging in.
  • 0x07 - Server is jammed due to over populated.
  • 0x08 - No MSG (actually, all states after 9 except 99 are No MSG, use only this)
  • 0x63 - This ID has been completely erased.

Notes

Before 2013-04-27, there was a bug where the length was actually 3 for IP bans.