From 08cae02927765683d748db4f0c8011b136cb02cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Jan 2016 15:04:28 +0300 Subject: Improver error message about old client. Now it show also what server type can be wrong. --- build/bmakedebug | 3 ++- build/bmaketest | 3 ++- src/net/ea/loginrecv.cpp | 2 +- src/net/eathena/loginrecv.cpp | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build/bmakedebug b/build/bmakedebug index 26ec0cfd9..4ae797e97 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -60,7 +60,8 @@ autoreconf -i --enable-memdebug=no \ --enable-tcmalloc=no \ --enable-googleprofiler=no \ ---enable-checks=yes +--enable-checks=yes \ +--enable-libxml=pugixml cd po make -j8 update-gmo 2>../build/make1.log diff --git a/build/bmaketest b/build/bmaketest index 5cbee0a33..32fed6192 100755 --- a/build/bmaketest +++ b/build/bmaketest @@ -44,7 +44,8 @@ autoreconf -i --datadir=$dir/run/share/games \ --bindir=$dir/run/bin \ --mandir=$dir/run/share/man \ ---enable-unittests +--enable-unittests \ +--enable-libxml=pugixml cd po make -j8 update-gmo 2>../build/make1.log diff --git a/src/net/ea/loginrecv.cpp b/src/net/ea/loginrecv.cpp index 4fcdb3ead..4b25c80d6 100644 --- a/src/net/ea/loginrecv.cpp +++ b/src/net/ea/loginrecv.cpp @@ -138,7 +138,7 @@ void LoginRecv::processLoginError(Net::MessageIn &msg) break; case 5: // TRANSLATORS: error message - errorMessage = _("Client too old."); + errorMessage = _("Client too old or wrong server type."); break; case 6: // TRANSLATORS: error message diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp index ce696141c..840869703 100644 --- a/src/net/eathena/loginrecv.cpp +++ b/src/net/eathena/loginrecv.cpp @@ -76,7 +76,7 @@ void LoginRecv::processLoginError2(Net::MessageIn &msg) break; case 5: // TRANSLATORS: error message - errorMessage = _("Client too old."); + errorMessage = _("Client too old or wrong server type."); break; case 6: // TRANSLATORS: error message -- cgit v1.2.3-70-g09d2