From 1cf6cb343c6c8df8a998c617fd6f8d40f5affbea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Mar 2016 18:59:41 +0300 Subject: Add support for packet version in servers list xml and in editor. --- src/net/tmwa/loginhandler.cpp | 4 ++++ src/net/tmwa/loginhandler.h | 2 ++ src/net/tmwa/loginrecv.cpp | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index d48c5123f..c2e6d462c 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -122,4 +122,8 @@ void LoginHandler::ping() const { } +void LoginHandler::updatePacketVersion() const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index 536dfdaaa..d94402741 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -56,6 +56,8 @@ class LoginHandler final : public Ea::LoginHandler void ping() const override final A_CONST; + void updatePacketVersion() const override final A_CONST; + static void requestUpdateHosts() A_CONST; private: diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp index 40b7a2aba..8e8d3a0a2 100644 --- a/src/net/tmwa/loginrecv.cpp +++ b/src/net/tmwa/loginrecv.cpp @@ -79,7 +79,6 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) logger->log("Tmw server version: x%06x", tmwServerVersion); else logger->log("Server without version"); - updateProtocol(); if (client->getState() != State::LOGIN) -- cgit v1.2.3-70-g09d2