From 05a196194b8270c1ae2e63f8ae31f8a492022388 Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Sat, 4 Apr 2015 16:41:09 +0300 Subject: Show unimplimented packet debug message on each unsupported packets parameters. --- src/net/eathena/playerhandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 23990ee2d..aa0cb4f20 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -482,7 +482,7 @@ void PlayerHandler::processPlayerGetExp(Net::MessageIn &msg) else if (stat == 2) localPlayer->addJobMessage(exp); else - logger->log("unknown exp type"); + UNIMPLIMENTEDPACKET; } // need show particle depend on isQuest flag, for now ignored } @@ -563,12 +563,13 @@ void PlayerHandler::processPlayerSkillMessage(Net::MessageIn &msg) msg.readInt32("type"); } -void PlayerHandler::setStat(const int type, +void PlayerHandler::setStat(Net::MessageIn &msg, + const int type, const int base, const int mod, const bool notify) const { - Ea::PlayerHandler::setStat(type, base, mod, notify); + Ea::PlayerHandler::setStat(msg, type, base, mod, notify); } void PlayerHandler::processNotifyMapInfo(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2