summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/gamehandler.cpp10
-rw-r--r--src/net/eathena/gamehandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 4848946ce..989aa0665 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -54,6 +54,7 @@ GameHandler::GameHandler() :
SMSG_CHAR_SWITCH_RESPONSE,
SMSG_MAP_QUIT_RESPONSE,
SMSG_MAP_ACCOUNT_ID,
+ SMSG_MAP_AUTH_REFUSE,
0
};
handledMessages = _messages;
@@ -90,6 +91,10 @@ void GameHandler::handleMessage(Net::MessageIn &msg)
processMapAccountId(msg);
break;
+ case SMSG_MAP_AUTH_REFUSE:
+ processMapAuthRefuse(msg);
+ break;
+
default:
break;
}
@@ -214,4 +219,9 @@ void GameHandler::processServerTick(Net::MessageIn &msg)
msg.readInt32("tick");
}
+void GameHandler::processMapAuthRefuse(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("error");
+}
} // namespace EAthena
diff --git a/src/net/eathena/gamehandler.h b/src/net/eathena/gamehandler.h
index 180195186..695800407 100644
--- a/src/net/eathena/gamehandler.h
+++ b/src/net/eathena/gamehandler.h
@@ -62,6 +62,8 @@ class GameHandler final : public MessageHandler, public Ea::GameHandler
static void processMapLogin(Net::MessageIn &msg);
static void processServerTick(Net::MessageIn &msg);
+
+ static void processMapAuthRefuse(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index be9537e3c..1f556b81a 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -61,6 +61,7 @@
#define SMSG_CHANGE_MAP_SERVER 0x0092
#define SMSG_MAP_LOGIN_SUCCESS 0x0a18 /**< Contains starting location */
+#define SMSG_MAP_AUTH_REFUSE 0x0074
#define SMSG_MAP_QUIT_RESPONSE 0x018b
#define SMSG_PLAYER_STOP 0x0088 /**< Stop walking, set position */
#define SMSG_PLAYER_MOVE_TO_ATTACK 0x0139 /**< Move to within attack range */