diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-25 02:06:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-25 02:06:31 +0300 |
commit | c0b2cd3773c2a7fc6f7ca75c45c106ea04907109 (patch) | |
tree | 61bf5bc508b331145a815c631919379032188a4f /src/net | |
parent | b26174fda0f4a1c60e631038177f9fa5e614075f (diff) | |
download | mv-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.gz mv-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.bz2 mv-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.xz mv-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.zip |
Change some packets dates based on last hercules changes.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/bankhandler.cpp | 10 | ||||
-rw-r--r-- | src/net/eathena/packetsout.inc | 43 |
2 files changed, 32 insertions, 21 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp index 0caa516ad..7270e25a4 100644 --- a/src/net/eathena/bankhandler.cpp +++ b/src/net/eathena/bankhandler.cpp @@ -39,7 +39,7 @@ BankHandler::BankHandler() : void BankHandler::deposit(const int money) const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_DEPOSIT); outMsg.writeInt32(0, "account id"); @@ -48,7 +48,7 @@ void BankHandler::deposit(const int money) const void BankHandler::withdraw(const int money) const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_WITHDRAW); outMsg.writeInt32(0, "account id"); @@ -57,7 +57,7 @@ void BankHandler::withdraw(const int money) const void BankHandler::check() const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_CHECK); outMsg.writeInt32(0, "account id"); @@ -65,7 +65,7 @@ void BankHandler::check() const void BankHandler::open() const { - if (packetVersion < 20130724) + if (packetVersion < 20130417) return; createOutPacket(CMSG_BANK_OPEN); outMsg.writeInt32(0, "unused"); @@ -73,7 +73,7 @@ void BankHandler::open() const void BankHandler::close() const { - if (packetVersion < 20130724) + if (packetVersion < 20130417) return; createOutPacket(CMSG_BANK_CLOSE); outMsg.writeInt32(0, "unused"); diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 2dee6975e..932811b60 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -810,6 +810,12 @@ if (packetVersion >= 20120716) packet(CMSG_STORAGE_PASSWORD, 0x0819, 36, clif->pStoragePassword); } +// 20120925 +if (packetVersion >= 20120925) +{ + packet(CMSG_PLAYER_EQUIP, 0x0998, 8, clif->pEquipItem); +} + // 20130320 if (packetVersion >= 20130320) { @@ -836,12 +842,26 @@ if (packetVersion >= 20130320) packet(CMSG_HOMUNCULUS_MENU, 0x093f, 5, clif->pHomMenu); packet(CMSG_BUYINGSTORE_CREATE, 0x0938, -1, clif->pReqOpenBuyingStore); packet(CMSG_SKILL_USE_BEING, 0x089b, 10, clif->pUseSkillToId); - packet(CMSG_PLAYER_EQUIP, 0x0998, 8, clif->pEquipItem); packet(CMSG_PARTY_INVITE2, 0x086d, 26, clif->pPartyInvite2); packet(CMSG_STORAGE_PASSWORD, 0x0947, 36, clif->pStoragePassword); packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x0868, -1, clif->pItemListWindowSelected); } +// 20130320 +if (packetVersion >= 20130320) +{ + packet(CMSG_BANK_DEPOSIT, 0x09a7, 10, clif->pBankDeposit); + packet(CMSG_BANK_WITHDRAW, 0x09a9, 10, clif->pBankWithdraw); + packet(CMSG_BANK_CHECK, 0x09ab, 6, clif->pBankCheck); +} + +// 20130417 +if (packetVersion >= 20130417) +{ + packet(CMSG_BANK_OPEN, 0x09b6, 6, clif->pBankOpen); + packet(CMSG_BANK_CLOSE, 0x09b8, 6, clif->pBankClose); +} + // 20130515 if (packetVersion >= 20130515) { @@ -1057,16 +1077,6 @@ if (packetVersion >= 20130703) packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x0281, -1, clif->pItemListWindowSelected); } -// 20130724 -if (packetVersion >= 20130724) -{ - packet(CMSG_BANK_DEPOSIT, 0x09a7, 10, clif->pBankDeposit); - packet(CMSG_BANK_WITHDRAW, 0x09a9, 10, clif->pBankWithdraw); - packet(CMSG_BANK_CHECK, 0x09ab, 6, clif->pBankCheck); - packet(CMSG_BANK_OPEN, 0x09b6, 6, clif->pBankOpen); - packet(CMSG_BANK_CLOSE, 0x09b8, 6, clif->pBankClose); -} - // 20130807 if (packetVersion >= 20130807) { @@ -1108,6 +1118,12 @@ if (packetVersion >= 20130814) packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x08a4, -1, clif->pItemListWindowSelected); } +// 20130814 +if (packetVersion >= 20130814) +{ + packet(CMSG_ADMIN_MONSTER_ITEM, 0x09ce, 102, clif->pGM_Monster_Item); +} + // 20131218 if (packetVersion >= 20131218) { @@ -1142,11 +1158,6 @@ if (packetVersion >= 20131218) packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x0281, -1, clif->pItemListWindowSelected); } -if (packetVersion >= 20131218) -{ - packet(CMSG_ADMIN_MONSTER_ITEM, 0x09ce, 102, clif->pGM_Monster_Item); -} - // 20131223 if (packetVersion >= 20131223) { |