From a8a96dab91866bce0742f680260d653728e24691 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Tue, 19 Apr 2005 13:46:03 +0000 Subject: the game doesn't crash anymore when the map server is down --- src/gui/char_select.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 629a0d63..3e5a4b09 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -249,6 +249,12 @@ void CharSelectDialog::serverCharSelect() } RFIFOSKIP(3); } + else if (RFIFOW(0) == 0x0081) { + new OkDialog(this, "Error", + "Map server is down, please try again later"); + close_session(); + state = LOGIN; + } // Todo: add other packets } -- cgit v1.2.3-70-g09d2