From 26459f06e92ba611a61d4dcaf9df1992f6de5e4d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Nov 2017 19:25:41 +0300 Subject: Add shuffle packets for packet version 20171101. --- src/const/net/maxpacketversion.h | 2 +- src/net/eathena/packetsout.inc | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h index 84967f06d..fd1c7bc1d 100644 --- a/src/const/net/maxpacketversion.h +++ b/src/const/net/maxpacketversion.h @@ -27,6 +27,6 @@ #include #endif // defined(__GXX_EXPERIMENTAL_CXX0X__) -static const uint32_t maxPacketVersion = 20171025; +static const uint32_t maxPacketVersion = 20171101; #endif // CONST_NET_MAXPACKETVERSION_H diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 53886f821..30ceb6efa 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -8218,4 +8218,38 @@ if (packetVersion == 20171025) packet(CMSG_NAME_REQUEST, 0x096a, 6, clif->pGetCharNameRequest); } +// 20171101 +if (packetVersion == 20171101) +{ + packet(CMSG_STORAGE_PASSWORD, 0x022d, 36, clif->pStoragePassword); + packet(CMSG_MAP_SERVER_CONNECT, 0x0368, 19, clif->pWantToConnection); + packet(CMSG_SEARCHSTORE_SEARCH, 0x0369, -1, clif->pSearchStoreInfo); + packet(CMSG_MAP_PING, 0x0438, 6, clif->pTickSend); + packet(CMSG_PLAYER_INVENTORY_DROP, 0x0835, 6, clif->pDropItem); + packet(CMSG_HOMUNCULUS_MENU, 0x085b, 5, clif->pHomMenu); + packet(CMSG_NAME_REQUEST, 0x0860, 6, clif->pGetCharNameRequest); + packet(CMSG_SKILL_USE_BEING, 0x086c, 10, clif->pUseSkillToId); + packet(CMSG_FRIENDS_ADD_PLAYER, 0x0872, 26, clif->pFriendsListAdd); + packet(CMSG_PLAYER_CHANGE_DIR, 0x0876, 5, clif->pChangeDir); +// packet(UNKNOWN, 0x0886, 8, clif->pDull); + packet(CMSG_BUYINGSTORE_OPEN, 0x088e, 6, clif->pReqClickBuyingStore); + packet(CMSG_SEARCHSTORE_NEXT_PAGE, 0x0890, 2, clif->pSearchStoreInfoNextPage); +// packet(UNKNOWN, 0x0895, 4, clif->pDull); + packet(CMSG_PARTY_INVITE2, 0x0899, 26, clif->pPartyInvite2); + packet(CMSG_BUYINGSTORE_CREATE, 0x089b, -1, clif->pReqOpenBuyingStore); + packet(CMSG_BOOKING_REGISTER_REQ, 0x089c, 18, clif->pPartyBookingRegisterReq); + packet(CMSG_MOVE_FROM_STORAGE, 0x08a0, 8, clif->pMoveFromKafra); + packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x08ab, -1, clif->pItemListWindowSelected); + packet(CMSG_SEARCHSTORE_CLICK, 0x08ad, 12, clif->pSearchStoreInfoListItemClick); + packet(CMSG_MOVE_TO_STORAGE, 0x091b, 8, clif->pMoveToKafra); + packet(CMSG_PLAYER_CHANGE_DEST, 0x0939, 5, clif->pWalkToXY); + packet(CMSG_BUYINGSTORE_CLOSE, 0x094a, 2, clif->pReqCloseBuyingStore); + packet(CMSG_SOLVE_CHAR_NAME, 0x094d, 6, clif->pSolveCharName); + packet(CMSG_SKILL_USE_POSITION_MORE, 0x0952, 90, clif->pUseSkillToPosMoreInfo); + packet(CMSG_PLAYER_CHANGE_ACT, 0x0957, 7, clif->pActionRequest); + packet(CMSG_BUYINGSTORE_SELL, 0x095a, -1, clif->pReqTradeBuyingStore); + packet(CMSG_ITEM_PICKUP, 0x0962, 6, clif->pTakeItem); + packet(CMSG_SKILL_USE_POSITION, 0x0966, 10, clif->pUseSkillToPos); +} + #endif -- cgit v1.2.3-70-g09d2