diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-18 00:21:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-18 00:21:23 +0300 |
commit | c9cb40c28e3ea73fb8ac83648f44285a1599791a (patch) | |
tree | cc82db9c960f8681e950a1f6b0b04fc2c7455262 /src/net/eathena/charserverhandler.cpp | |
parent | b1fae7bfe9a48c8a25f8b7d048256a5ab0de4c3f (diff) | |
download | mv-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.gz mv-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.bz2 mv-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.xz mv-c9cb40c28e3ea73fb8ac83648f44285a1599791a.zip |
eathena: add partial support for packet SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 0x07e9.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index b4d3a6382..9d3ed3abc 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -92,6 +92,7 @@ CharServerHandler::CharServerHandler() : SMSG_CHAR_CHECK_RENAME, SMSG_CHAR_RENAME, SMSG_CHAR_CHANGE_SLOT, + SMSG_CHAR_CAPTCHA_NOT_SUPPORTED, 0 }; handledMessages = _messages; @@ -154,6 +155,10 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) processCharChangeSlot(msg); break; + case SMSG_CHAR_CAPTCHA_NOT_SUPPORTED: + processCharCaptchaNotSupported(msg); + break; + default: break; } @@ -627,4 +632,11 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg) BLOCK_END("CharServerHandler::processCharDeleteFailed") } +void CharServerHandler::processCharCaptchaNotSupported(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("5"); + msg.readUInt8("1"); +} + } // namespace EAthena |