diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 22:24:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 22:24:18 +0300 |
commit | 5a94fab3a68ff5769aa6f2889da582a60ce32864 (patch) | |
tree | be9bb042b276f03c316d8b80d1f20e68dfe810dd /src/net | |
parent | 91712ca548d273acabed9ef3bee8f917b2a60df3 (diff) | |
download | manaplus-5a94fab3a68ff5769aa6f2889da582a60ce32864.tar.gz manaplus-5a94fab3a68ff5769aa6f2889da582a60ce32864.tar.bz2 manaplus-5a94fab3a68ff5769aa6f2889da582a60ce32864.tar.xz manaplus-5a94fab3a68ff5769aa6f2889da582a60ce32864.zip |
Fix version for packets CMSG_NPC_CASH_SHOP_*.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/packetsout.inc | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 70097950f..7bd0afd24 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -102,11 +102,6 @@ packet(CMSG_NPC_STR_RESPONSE, 0x01d5, -1, clif->pNpcStringInput); packet(CMSG_NPC_BUY_SELL_REQUEST, 0x00c5, 7, clif->pNpcBuySellSelected); packet(CMSG_NPC_BUY_REQUEST, 0x00c8, -1, clif->pNpcBuyListSend); packet(CMSG_NPC_SELL_REQUEST, 0x00c9, -1, clif->pNpcSellListSend); -packet(CMSG_NPC_CASH_SHOP_BUY, 0x0288, -1, clif->pcashshop_buy); -packet(CMSG_NPC_CASH_SHOP_CLOSE, 0x084a, 2, clif->pCashShopClose); -packet(CMSG_NPC_CASH_SHOP_OPEN, 0x0844, 2, clif->pCashShopOpen); -packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0846, 4, clif->pCashShopReqTab); -packet(CMSG_NPC_CASH_SHOP_SCHEDULE, 0x08c9, 2, clif->pCashShopSchedule); packet(CMSG_TRADE_REQUEST, 0x00e4, 6, clif->pTradeRequest); packet(CMSG_TRADE_RESPONSE, 0x00e6, 3, clif->pTradeAck); @@ -290,6 +285,11 @@ packet(CMSG_BATTLE_REGISTER, 0x0000, 0, nullptr); packet(CMSG_BATTLE_REVOKE, 0x0000, 0, nullptr); packet(CMSG_BATTLE_BEGIN_ACK, 0x0000, 0, nullptr); packet(CMSG_BATTLE_CHECK_STATE, 0x0000, 0, nullptr); +packet(CMSG_NPC_CASH_SHOP_BUY, 0x0000, 0, nullptr); +packet(CMSG_NPC_CASH_SHOP_CLOSE, 0x0000, 0, nullptr); +packet(CMSG_NPC_CASH_SHOP_OPEN, 0x0000, 0, nullptr); +packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0000, 0, nullptr); +packet(CMSG_NPC_CASH_SHOP_SCHEDULE, 0x0000, 0, nullptr); #else // 20040713 if (packetVersion >= 20040713) @@ -554,6 +554,16 @@ if (packetVersion >= 20101124) packet(CMSG_MAP_SERVER_CONNECT, 0x0436, 19, clif->pWantToConnection); } +// 20110718 +if (packetVersion >= 20110718) +{ + packet(CMSG_NPC_CASH_SHOP_BUY, 0x0288, -1, clif->pcashshop_buy); + packet(CMSG_NPC_CASH_SHOP_CLOSE, 0x084a, 2, clif->pCashShopClose); + packet(CMSG_NPC_CASH_SHOP_OPEN, 0x0844, 2, clif->pCashShopOpen); + packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0846, 4, clif->pCashShopReqTab); + packet(CMSG_NPC_CASH_SHOP_SCHEDULE, 0x08c9, 2, clif->pCashShopSchedule); +} + // 20111005 if (packetVersion >= 20111005) { |