diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-04-13 22:41:18 -0700 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-14 22:02:53 +0300 |
commit | ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b (patch) | |
tree | 179e9dd7d255bd78fa00a44155dac94cbcd6e86c /src/net/tmwa/loginhandler.cpp | |
parent | 1884c7ebfce2f9a2723da41be09cde5e7e14938e (diff) | |
download | mv-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.gz mv-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.bz2 mv-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.tar.xz mv-ee1cf2a5961eb9a4006d7afd0794e8d38b59ac7b.zip |
Add missing auth failure reasons
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 9 |
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; |