From ce2ebe2ea9d3a95368fd194018ad3524dab19411 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 May 2019 03:42:19 +0300 Subject: Update packets SMSG_ACK_MERGE_ITEMS and SMSG_MERGE_ITEM --- src/net/eathena/packetsin.inc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 785ac7b55..d8ca8a620 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -731,11 +731,18 @@ if (packetVersion >= 20120221) packet(SMSG_BEING_SPAWN, 0x090f, -1, &BeingRecv::processBeingSpawn, 20120221); } -// 20120229 -if (packetVersion >= 20120229) +// 20120221 re +if (packetVersionRe >= 20120221) { - packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 20120229); - packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 20120229); + packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 20120221); + packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 20120221); +} + +// 20120314 main +if (packetVersionMain >= 20120314) +{ + packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 20120314); + packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 20120314); } // 20120328 re @@ -1258,6 +1265,8 @@ if (packets_zero == true) packet(SMSG_PLAYER_GUILD_PARTY_INFO, 0x0a30, 106, &BeingRecv::processPlayerGuilPartyInfo2, 20171018); packet(SMSG_NPC_CASH_BUY, 0x0849, 16, &CashShopRecv::processCashShopBuy, 20171018); packet(SMSG_ROULETTE_CLOSE, 0x0a1e, 3, &RouletteRecv::processRouletteClose, 20171018); + packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 20171018); + packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 20171018); } // 20171019 zero -- cgit v1.2.3-70-g09d2