diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-14 03:42:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-14 03:42:19 +0300 |
commit | ce2ebe2ea9d3a95368fd194018ad3524dab19411 (patch) | |
tree | e7f912bfc5771a274d8ec74b4abf8eb6477dab7b /src/net | |
parent | 379e554b35f09044dc5e1d361ac6138e39dbb5ab (diff) | |
download | manaplus-ce2ebe2ea9d3a95368fd194018ad3524dab19411.tar.gz manaplus-ce2ebe2ea9d3a95368fd194018ad3524dab19411.tar.bz2 manaplus-ce2ebe2ea9d3a95368fd194018ad3524dab19411.tar.xz manaplus-ce2ebe2ea9d3a95368fd194018ad3524dab19411.zip |
Update packets SMSG_ACK_MERGE_ITEMS and SMSG_MERGE_ITEM
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/packetsin.inc | 17 |
1 files changed, 13 insertions, 4 deletions
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 |