summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-28 15:04:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-28 15:04:28 +0300
commit08cae02927765683d748db4f0c8011b136cb02cf (patch)
tree169d243ce5018a44ea5e7a2932b94b4ee0b3d3f4
parentc5cbb25643bd8abbb8a15087bb0dd98d9be5f66e (diff)
downloadmanaplus-08cae02927765683d748db4f0c8011b136cb02cf.tar.gz
manaplus-08cae02927765683d748db4f0c8011b136cb02cf.tar.bz2
manaplus-08cae02927765683d748db4f0c8011b136cb02cf.tar.xz
manaplus-08cae02927765683d748db4f0c8011b136cb02cf.zip
Improver error message about old client. Now it show also what server type can be wrong.
-rwxr-xr-xbuild/bmakedebug3
-rwxr-xr-xbuild/bmaketest3
-rw-r--r--src/net/ea/loginrecv.cpp2
-rw-r--r--src/net/eathena/loginrecv.cpp2
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