summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 00:21:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 00:21:23 +0300
commitc9cb40c28e3ea73fb8ac83648f44285a1599791a (patch)
treecc82db9c960f8681e950a1f6b0b04fc2c7455262 /src/net/eathena/charserverhandler.cpp
parentb1fae7bfe9a48c8a25f8b7d048256a5ab0de4c3f (diff)
downloadplus-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.gz
plus-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.bz2
plus-c9cb40c28e3ea73fb8ac83648f44285a1599791a.tar.xz
plus-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.cpp12
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