diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/network.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 3332091d1..c36b6a1d1 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -55,6 +55,7 @@ LoginHandler::LoginHandler() : SMSG_LOGIN_ERROR2, SMSG_CHAR_PASSWORD_RESPONSE, SMSG_SERVER_VERSION_RESPONSE, + SMSG_UPDATE_HOST, 0 }; handledMessages = _messages; @@ -89,6 +90,10 @@ void LoginHandler::handleMessage(Net::MessageIn &msg) processServerVersion(msg); break; + case SMSG_UPDATE_HOST: + processUpdateHost(msg); + break; + default: break; } diff --git a/src/net/eathena/network.h b/src/net/eathena/network.h index fae4f06d5..81e2131e0 100644 --- a/src/net/eathena/network.h +++ b/src/net/eathena/network.h @@ -29,7 +29,7 @@ * Protocol version, reported to the eAthena char and mapserver who can adjust * the protocol accordingly. */ -#define CLIENT_PROTOCOL_VERSION 1 +#define CLIENT_PROTOCOL_VERSION 2 namespace EAthena { diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 4645389ff..7a83d5c84 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -306,6 +306,8 @@ #define SMSG_ELEMENTAL_UPDATE_STATUS 0x081e #define SMSG_ELEMENTAL_INFO 0x081d +#define SMSG_UPDATE_HOST 0x0063 + /********************************** * Packets from client to server * **********************************/ |