From ce046e96b105fb5c21e3222c4082aac40dfa4275 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Oct 2017 23:15:19 +0300 Subject: Add packets for packet version 20171025. --- src/const/net/maxpacketversion.h | 2 +- src/net/eathena/packetsout.inc | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h index a8293918a..84967f06d 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 = 20171018; +static const uint32_t maxPacketVersion = 20171025; #endif // CONST_NET_MAXPACKETVERSION_H diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 3a5aa429e..53886f821 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -8184,4 +8184,38 @@ if (packetVersion == 20171018) packet(CMSG_NAME_REQUEST, 0x096a, 6, clif->pGetCharNameRequest); } +// 20171025 +if (packetVersion == 20171025) +{ + packet(CMSG_PLAYER_CHANGE_DIR, 0x0202, 5, clif->pChangeDir); + packet(CMSG_MAP_SERVER_CONNECT, 0x022d, 19, clif->pWantToConnection); + packet(CMSG_FRIENDS_ADD_PLAYER, 0x023b, 26, clif->pFriendsListAdd); + packet(CMSG_ITEM_LIST_WINDOW_SELECT, 0x0281, -1, clif->pItemListWindowSelected); + packet(CMSG_MAP_PING, 0x035f, 6, clif->pTickSend); + packet(CMSG_BUYINGSTORE_OPEN, 0x0360, 6, clif->pReqClickBuyingStore); + packet(CMSG_HOMUNCULUS_MENU, 0x0361, 5, clif->pHomMenu); + packet(CMSG_PLAYER_INVENTORY_DROP, 0x0362, 6, clif->pDropItem); +// packet(UNKNOWN, 0x0363, 8, clif->pDull); + packet(CMSG_MOVE_FROM_STORAGE, 0x0364, 8, clif->pMoveFromKafra); + packet(CMSG_BOOKING_REGISTER_REQ, 0x0365, 18, clif->pPartyBookingRegisterReq); + packet(CMSG_SKILL_USE_POSITION_MORE, 0x0366, 90, clif->pUseSkillToPosMoreInfo); + packet(CMSG_SOLVE_CHAR_NAME, 0x0368, 6, clif->pSolveCharName); + packet(CMSG_PLAYER_CHANGE_ACT, 0x0369, 7, clif->pActionRequest); +// packet(UNKNOWN, 0x0436, 4, clif->pDull); + packet(CMSG_PLAYER_CHANGE_DEST, 0x0437, 5, clif->pWalkToXY); + packet(CMSG_SKILL_USE_POSITION, 0x0438, 10, clif->pUseSkillToPos); + packet(CMSG_ITEM_PICKUP, 0x07e4, 6, clif->pTakeItem); + packet(CMSG_MOVE_TO_STORAGE, 0x07ec, 8, clif->pMoveToKafra); + packet(CMSG_PARTY_INVITE2, 0x0802, 26, clif->pPartyInvite2); + packet(CMSG_BUYINGSTORE_SELL, 0x0811, -1, clif->pReqTradeBuyingStore); + packet(CMSG_BUYINGSTORE_CREATE, 0x0815, -1, clif->pReqOpenBuyingStore); + packet(CMSG_BUYINGSTORE_CLOSE, 0x0817, 2, clif->pReqCloseBuyingStore); + packet(CMSG_SEARCHSTORE_SEARCH, 0x0819, -1, clif->pSearchStoreInfo); + packet(CMSG_SEARCHSTORE_NEXT_PAGE, 0x0835, 2, clif->pSearchStoreInfoNextPage); + packet(CMSG_SEARCHSTORE_CLICK, 0x0838, 12, clif->pSearchStoreInfoListItemClick); + packet(CMSG_SKILL_USE_BEING, 0x083c, 10, clif->pUseSkillToId); + packet(CMSG_STORAGE_PASSWORD, 0x08a2, 36, clif->pStoragePassword); + packet(CMSG_NAME_REQUEST, 0x096a, 6, clif->pGetCharNameRequest); +} + #endif -- cgit v1.2.3-60-g2f50