diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 16:54:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 16:54:46 +0300 |
commit | 7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (patch) | |
tree | d109f74483a9274bca46a41670cc5ec69b50876f /src/net | |
parent | 8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff) | |
download | manaverse-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz manaverse-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2 manaverse-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz manaverse-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip |
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net')
24 files changed, 81 insertions, 3 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 8f04cc748..1eb0b6eac 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -22,6 +22,8 @@ #include "net/eathena/adminhandler.h" +#include "logger.h" + #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -184,12 +186,14 @@ void AdminHandler::unequipAll(const Being *const being) const void AdminHandler::processAdminGetLoginAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("account id"); msg.readString(24, "login"); } void AdminHandler::processSetTileType(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ here need set collision tile for map msg.readInt16("x"); msg.readInt16("y"); @@ -206,6 +210,7 @@ void AdminHandler::requestStats(const std::string &name) void AdminHandler::processAccountStats(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need show in other players stats window, nick in mStatsName msg.readUInt8("str"); msg.readUInt8("need str"); diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index 1fe68d760..404e38c24 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -21,6 +21,7 @@ #include "net/eathena/auctionhandler.h" #include "item.h" +#include "logger.h" #include "net/ea/eaprotocol.h" @@ -81,11 +82,13 @@ void AuctionHandler::handleMessage(Net::MessageIn &msg) void AuctionHandler::processOpenWindow(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("flag"); // 0 - open, 1 - close } void AuctionHandler::processAuctionResults(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("len"); msg.readInt32("pages"); const int itemCount = msg.readInt32("items count"); @@ -110,17 +113,20 @@ void AuctionHandler::processAuctionResults(Net::MessageIn &msg) void AuctionHandler::processAuctionSetItem(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("index"); msg.readUInt8("flag"); } void AuctionHandler::processAuctionMessage(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readUInt8("message"); } void AuctionHandler::processAuctionClose(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("flag"); } diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index f61847022..895ab5c77 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1015,6 +1015,7 @@ void BeingHandler::processBeingSpawn(Net::MessageIn &msg) void BeingHandler::processMapTypeProperty(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("type"); // +++ need get pvp and other flags from here msg.readInt32("flags"); @@ -1022,12 +1023,14 @@ void BeingHandler::processMapTypeProperty(Net::MessageIn &msg) void BeingHandler::processMapType(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // battle ground map or not msg.readInt16("type"); } void BeingHandler::processSkillCasting(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("src id"); msg.readInt32("dst id"); msg.readInt16("dst x"); @@ -1241,6 +1244,7 @@ void BeingHandler::processMonsterHp(Net::MessageIn &msg) void BeingHandler::processSkillAutoCast(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("skill id"); msg.readInt16("inf"); msg.readInt16("unused"); @@ -1253,6 +1257,7 @@ void BeingHandler::processSkillAutoCast(Net::MessageIn &msg) void BeingHandler::processRanksList(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ here need window with rank tables. msg.readInt16("rank type"); for (int f = 0; f < 10; f ++) @@ -1316,6 +1321,7 @@ void BeingHandler::processBeingSpecialEffect(Net::MessageIn &msg) void BeingHandler::processBeingSpecialEffectNum(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need somhow show this effects. // type is not same with self/misc effect. msg.readInt32("account id"); @@ -1325,6 +1331,7 @@ void BeingHandler::processBeingSpecialEffectNum(Net::MessageIn &msg) void BeingHandler::processBeingSoundEffect(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need play this effect. msg.readString(24, "sound effect name"); msg.readUInt8("type"); @@ -1374,6 +1381,7 @@ void BeingHandler::viewPlayerEquipment(const Being *const being) void BeingHandler::processSkillGroundNoDamage(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("skill id"); msg.readInt32("src id"); msg.readInt16("val"); @@ -1384,6 +1392,7 @@ void BeingHandler::processSkillGroundNoDamage(Net::MessageIn &msg) void BeingHandler::processSkillEntry(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("len"); msg.readInt32("accound id"); msg.readInt32("creator accound id"); @@ -1508,6 +1517,7 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) void BeingHandler::processBeingRemoveSkil(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ if skill unit was added, here need remove it from actors msg.readInt32("skill unit id"); } diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index 921c2f300..a68111dc1 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -264,6 +264,7 @@ void BuyingStoreHandler::processBuyingStoreSellerSellFailed(Net::MessageIn void BuyingStoreHandler::processBuyingStoreReport(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("item id"); msg.readInt16("amount"); msg.readInt32("money limit"); diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 109a3c1b1..67d50cd21 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -20,6 +20,8 @@ #include "net/eathena/cashshophandler.h" +#include "logger.h" + #include "being/playerinfo.h" #include "enums/being/attributes.h" @@ -92,6 +94,7 @@ void CashShopHandler::processCashShopOpen(Net::MessageIn &msg) void CashShopHandler::processCashShopBuyAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("cash points"); msg.readInt32("kafra points"); msg.readInt16("error"); diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index ad137ab84..5096fb3aa 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -24,6 +24,7 @@ #include "client.h" #include "configuration.h" +#include "logger.h" #include "settings.h" #include "enums/being/attributes.h" @@ -393,6 +394,7 @@ void CharServerHandler::processCharLogin(Net::MessageIn &msg) void CharServerHandler::processCharLogin2(Net::MessageIn &msg) { + // ignored msg.readInt16("len"); msg.readUInt8("char slots"); msg.readUInt8("left slots"); @@ -607,6 +609,7 @@ void CharServerHandler::changeSlot(const int oldSlot, const int newSlot) void CharServerHandler::processCharChangeSlot(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("len"); msg.readInt16("flag"); // 0 - ok, 1 - error msg.readInt16("unused"); diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index df9425b7e..6a005fedd 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -556,6 +556,7 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg) void ChatHandler::processChatIgnoreList(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need put it in some object or window const int count = (msg.readInt16("len") - 4) / 24; for (int f = 0; f < count; f ++) @@ -591,6 +592,7 @@ void ChatHandler::joinChat(const ChatObject *const chat, void ChatHandler::processChatJoinAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int count = msg.readInt16("len") - 8; msg.readInt32("chat id"); for (int f = 0; f < count; f ++) @@ -602,6 +604,7 @@ void ChatHandler::processChatJoinAck(Net::MessageIn &msg) void ChatHandler::processChatLeave(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("users"); msg.readString(24, "name"); msg.readUInt8("flag"); // 0 - left, 1 - kicked diff --git a/src/net/eathena/elementalhandler.cpp b/src/net/eathena/elementalhandler.cpp index cb45ef6ab..b1f5b914f 100644 --- a/src/net/eathena/elementalhandler.cpp +++ b/src/net/eathena/elementalhandler.cpp @@ -20,6 +20,8 @@ #include "net/eathena/elementalhandler.h" +#include "logger.h" + #include "net/eathena/protocol.h" #include "debug.h" @@ -61,12 +63,14 @@ void ElementalHandler::handleMessage(Net::MessageIn &msg) void ElementalHandler::processElementalUpdateStatus(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("type"); msg.readInt32("value"); } void ElementalHandler::processElementalInfo(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("elemental id"); msg.readInt32("hp"); msg.readInt32("max hp"); diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index 9a8307d90..a3ac3c7f5 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -20,6 +20,8 @@ #include "net/eathena/familyhandler.h" +#include "logger.h" + #include "being/being.h" #include "net/eathena/messageout.h" @@ -84,6 +86,7 @@ void FamilyHandler::askForChild(const Being *const being) void FamilyHandler::processAskForChild(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("account id who ask"); msg.readInt32("acoount id for other parent"); msg.readString(24, "name who ask"); @@ -91,6 +94,7 @@ void FamilyHandler::processAskForChild(Net::MessageIn &msg) void FamilyHandler::processCallPartner(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readString(24, "name"); } @@ -104,6 +108,7 @@ void FamilyHandler::askForChildReply(const bool accept) void FamilyHandler::processDivorced(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readString(24, "name"); } diff --git a/src/net/eathena/friendshandler.cpp b/src/net/eathena/friendshandler.cpp index fd73a8154..7d28441b6 100644 --- a/src/net/eathena/friendshandler.cpp +++ b/src/net/eathena/friendshandler.cpp @@ -20,6 +20,8 @@ #include "net/eathena/friendshandler.h" +#include "logger.h" + #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -67,6 +69,7 @@ void FriendsHandler::handleMessage(Net::MessageIn &msg) void FriendsHandler::processPlayerOnline(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("account id"); msg.readInt32("char id"); msg.readUInt8("flag"); // 0 - online, 1 - offline @@ -74,6 +77,7 @@ void FriendsHandler::processPlayerOnline(Net::MessageIn &msg) void FriendsHandler::processFriendsList(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int count = (msg.readInt16("size") - 4) / 32; for (int f = 0; f < count; f ++) { @@ -85,6 +89,7 @@ void FriendsHandler::processFriendsList(Net::MessageIn &msg) void FriendsHandler::processRequestAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("type"); msg.readInt32("account id"); msg.readInt32("char id"); diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 6132ecadb..0af87e76e 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -174,6 +174,7 @@ void GameHandler::disconnect2() const void GameHandler::processMapAccountId(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("account id"); } @@ -209,6 +210,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg) void GameHandler::processServerTick(Net::MessageIn &msg) { + //ignoring msg.readInt32("tick"); } diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 30768e86f..28518eb85 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -717,12 +717,11 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg) void InventoryHandler::processPlayerUseCard(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ here need show dialog with item selection for card. const int count = (msg.readInt16("len") - 4) / 2; for (int f = 0; f < count; f ++) - { msg.readInt16("item id"); - } } void InventoryHandler::processPlayerInsertCard(Net::MessageIn &msg) @@ -745,6 +744,7 @@ void InventoryHandler::selectEgg(const Item *const item) const void InventoryHandler::processPlayerItemRentalTime(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need update item rental time msg.readInt16("item id"); msg.readInt32("seconds"); @@ -752,6 +752,7 @@ void InventoryHandler::processPlayerItemRentalTime(Net::MessageIn &msg) void InventoryHandler::processPlayerItemRentalExpired(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // ++ need remove item from inventory msg.readInt16("index"); msg.readInt16("item id"); @@ -819,6 +820,7 @@ void InventoryHandler::processCartInfo(Net::MessageIn &msg) void InventoryHandler::processCartRemove(Net::MessageIn &msg A_UNUSED) { + UNIMPLIMENTEDPACKET; // +++ need close or clear cart? } diff --git a/src/net/eathena/itemhandler.cpp b/src/net/eathena/itemhandler.cpp index e5a8f5100..1061a6a59 100644 --- a/src/net/eathena/itemhandler.cpp +++ b/src/net/eathena/itemhandler.cpp @@ -23,6 +23,7 @@ #include "net/eathena/itemhandler.h" #include "actormanager.h" +#include "logger.h" #include "net/eathena/protocol.h" @@ -92,6 +93,7 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg) void ItemHandler::processGraffiti(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("graffiti id"); msg.readInt32("creator id"); msg.readInt16("x"); diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 9c5c8ac4b..090435e0e 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -238,6 +238,7 @@ void LoginHandler::processLoginError2(Net::MessageIn &msg) void LoginHandler::processUpdateHost2(Net::MessageIn &msg A_UNUSED) { + UNIMPLIMENTEDPACKET; } void LoginHandler::sendVersion() const diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp index 3008f3bb7..cf4fb90d4 100644 --- a/src/net/eathena/mailhandler.cpp +++ b/src/net/eathena/mailhandler.cpp @@ -61,6 +61,7 @@ void MailHandler::handleMessage(Net::MessageIn &msg) void MailHandler::processMailOpen(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int flag = msg.readInt32("flag"); switch (flag) { diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp index e611ae259..e93edcc0b 100644 --- a/src/net/eathena/mercenaryhandler.cpp +++ b/src/net/eathena/mercenaryhandler.cpp @@ -81,6 +81,7 @@ void MercenaryHandler::handleMessage(Net::MessageIn &msg) void MercenaryHandler::processMercenaryUpdate(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need create if need mercenary being and update stats msg.readInt16("type"); msg.readInt32("value"); diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index e797c0477..a4487c408 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -324,6 +324,7 @@ int NpcHandler::getNpc(Net::MessageIn &msg) void NpcHandler::processNpcCutin(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; mRequestLang = false; msg.readString(64, "image name"); msg.readUInt8("type"); @@ -331,6 +332,7 @@ void NpcHandler::processNpcCutin(Net::MessageIn &msg) void NpcHandler::processNpcViewPoint(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; mRequestLang = false; // +++ probably need add nav point and start moving to it msg.readInt32("npc id"); @@ -345,6 +347,7 @@ void NpcHandler::processNpcViewPoint(Net::MessageIn &msg) void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; mRequestLang = false; // +++ probably need show progress bar in npc dialog msg.readInt32("color"); @@ -353,6 +356,7 @@ void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg) void NpcHandler::processNpcCloseTimeout(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; mRequestLang = false; // this packet send after npc closed by timeout. msg.readInt32("npc id"); diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index cfb838913..7a2d3c2b0 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -222,6 +222,7 @@ void PartyHandler::setShareItems(const Net::PartyShare::Type share) const void PartyHandler::processPartyInvitationStats(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readUInt8("allow party"); } @@ -465,6 +466,7 @@ void PartyHandler::allowInvite(const bool allow) const void PartyHandler::processPartyItemPickup(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ probably need add option to show pickup notifications // in party tab msg.readInt32("account id"); diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 1fa2d0329..b5605ea79 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -295,6 +295,7 @@ void PlayerHandler::setMemo() const void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readUInt8("unused?"); for (int f = 0; f < 27; f ++) { @@ -307,6 +308,7 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) void PlayerHandler::processPlayerShowEquip(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readUInt8("show equip"); // 1 mean need open "equipment" window } @@ -421,6 +423,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) void PlayerHandler::processPlayerGetExp(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("player id"); msg.readInt32("exp amount"); msg.readInt16("exp type"); @@ -465,6 +468,7 @@ void PlayerHandler::requestPvpInfo() const void PlayerHandler::processPvpInfo(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("char id"); msg.readInt32("account id"); msg.readInt32("pvp won"); @@ -486,6 +490,7 @@ void PlayerHandler::setViewEquipment(const bool allow) const void PlayerHandler::processPlayerHeal(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ probably need show effect or adjust hp/sp? // 5 - hp // 7 - sp @@ -495,6 +500,7 @@ void PlayerHandler::processPlayerHeal(Net::MessageIn &msg) void PlayerHandler::processPlayerSkillMessage(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need show this message msg.readInt32("type"); } diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp index 8be58f90c..404069594 100644 --- a/src/net/eathena/questhandler.cpp +++ b/src/net/eathena/questhandler.cpp @@ -164,11 +164,11 @@ void QuestHandler::processAddQuestsObjectives(Net::MessageIn &msg) void QuestHandler::processUpdateQuestsObjectives(Net::MessageIn &msg) { + // ignored msg.readInt16("len"); const int num = msg.readInt16("objectives count"); for (int f = 0; f < num; f ++) { - // need use in quests kills list msg.readInt32("quest id"); msg.readInt32("monster id"); msg.readInt16("count old"); @@ -197,6 +197,7 @@ void QuestHandler::processRemoveQuest(Net::MessageIn &msg) void QuestHandler::processActivateQuest(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // +++ need enable/disable quests depend on this packet msg.readInt32("quest id"); msg.readUInt8("activate"); @@ -204,6 +205,7 @@ void QuestHandler::processActivateQuest(Net::MessageIn &msg) void QuestHandler::processNpcQuestEffect(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // this packed mostly useless, because manaplus can show any // kind of effects based on quest states. msg.readInt32("npc id"); diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp index 1507cb92f..7ced22765 100644 --- a/src/net/eathena/searchstorehandler.cpp +++ b/src/net/eathena/searchstorehandler.cpp @@ -20,6 +20,7 @@ #include "net/eathena/searchstorehandler.h" +#include "logger.h" #include "notifymanager.h" #include "net/eathena/messageout.h" @@ -111,6 +112,7 @@ void SearchStoreHandler::select(const int accountId, void SearchStoreHandler::processSearchAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int count = (msg.readInt16("len") - 7) / 106; msg.readUInt8("is first page"); msg.readUInt8("is next page"); @@ -132,6 +134,7 @@ void SearchStoreHandler::processSearchAck(Net::MessageIn &msg) void SearchStoreHandler::processSearchFailed(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int result = msg.readUInt8("result"); switch (result) { @@ -164,12 +167,14 @@ void SearchStoreHandler::processSearchFailed(Net::MessageIn &msg) void SearchStoreHandler::processSearchOpen(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("effect"); msg.readUInt8("uses"); } void SearchStoreHandler::processSearchClickAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("x"); msg.readInt16("y"); } diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 64841c585..7bddc239d 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -246,6 +246,7 @@ void SkillHandler::processSkillUpdate(Net::MessageIn &msg) void SkillHandler::processSkillDelete(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; // ignored, because after this packet server will send all skills. msg.readInt32("skill id"); } @@ -365,6 +366,7 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) void SkillHandler::processSkillSnap(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("being id"); msg.readInt16("x"); msg.readInt16("y"); diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index c2ff5553c..c11dc6927 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -266,6 +266,7 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg) void TradeHandler::processTradeUndo(Net::MessageIn &msg A_UNUSED) { + UNIMPLIMENTEDPACKET; // +++ here need clear trade window from partner side? } diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 9f4218608..079dde1e2 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -164,6 +164,7 @@ void VendingHandler::processItemsList(Net::MessageIn &msg) void VendingHandler::processBuyAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("inv index"); msg.readInt16("amount"); msg.readUInt8("flag"); @@ -192,6 +193,7 @@ void VendingHandler::processOpen(Net::MessageIn &msg) void VendingHandler::processReport(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("inv index"); msg.readInt16("amount"); } |