From 2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Sep 2014 01:44:04 +0300 Subject: fix some packets reading size. --- src/net/ea/beinghandler.cpp | 3 +++ src/net/eathena/playerhandler.cpp | 1 + 2 files changed, 4 insertions(+) (limited to 'src/net') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 3d7e4f6a7..1a80b2c89 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -433,8 +433,11 @@ void BeingHandler::processNameResponse(Net::MessageIn &msg) const } localPlayer->checkNewName(dstBeing); } + BLOCK_END("BeingHandler::processNameResponse") + return; } } + msg.readString(24, "name"); BLOCK_END("BeingHandler::processNameResponse") } diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 16f313531..a4ce3c0d0 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -244,6 +244,7 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) msg.readInt32("item or skill id"); msg.readInt16("skill level"); } + msg.skip(77, "unused"); } void PlayerHandler::processPlayerShowEquip(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2