summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-04-13 22:41:18 -0700
committerAndrei Karas <akaras@inbox.ru>2011-04-14 22:02:53 +0300
commitee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b (patch)
tree179e9dd7d255bd78fa00a44155dac94cbcd6e86c /src/net/tmwa/loginhandler.cpp
parent1884c7ebfce2f9a2723da41be09cde5e7e14938e (diff)
downloadmanaplus-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.gz
manaplus-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.bz2
manaplus-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.xz
manaplus-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.zip
Add missing auth failure reasons
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index 810d97056..7f73057b4 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -174,6 +174,9 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
errorMessage = _("You have been permanently banned from "
"the game. Please contact the GM team.");
break;
+ case 5:
+ errorMessage = _("Client too old.");
+ break;
case 6:
errorMessage = strprintf(_("You have been temporarily "
"banned from the game until "
@@ -181,12 +184,18 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
"team via the forums."),
msg.readString(20).c_str());
break;
+ case 7:
+ errorMessage = _("Server overpopulated.");
+ break;
case 9:
errorMessage = _("This user name is already taken.");
break;
case 10:
errorMessage = _("Wrong name.");
break;
+ case 99:
+ errorMessage = _("Username permanently erased.");
+ break;
default:
errorMessage = _("Unknown error.");
break;