From 6170dab4f22b8766886aa3b5dce06aeff3bc20a7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 May 2016 00:12:02 +0300 Subject: Add packets for packet version 20151001. --- src/const/net/maxpacketversion.h | 2 +- src/net/eathena/packetsout.inc | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h index d684297d5..1fba13a3f 100644 --- a/src/const/net/maxpacketversion.h +++ b/src/const/net/maxpacketversion.h @@ -27,6 +27,6 @@ #include #endif -static const uint32_t maxPacketVersion = 20150916; +static const uint32_t maxPacketVersion = 20151001; #endif // CONST_NET_MAXPACKETVERSION_H diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 7b861d2d6..d93f09c4f 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -750,4 +750,33 @@ if (packetVersion >= 20150916) packet(CMSG_NAME_REQUEST, 0x095a, 6, clif->pGetCharNameRequest); } +// 20151001 +if (packetVersion >= 20151001) +{ + packet(CMSG_SKILL_USE_POSITION, 0x0438, 10, clif->pUseSkillToPos); + packet(CMSG_MAP_SERVER_CONNECT, 0x022d, 19, clif->pWantToConnection); + packet(CMSG_SEARCHSTORE_NEXT_PAGE, 0x0835, 2, clif->pSearchStoreInfoNextPage); + packet(CMSG_BUYINGSTORE_CLOSE, 0x0817, 2, clif->pReqCloseBuyingStore); + packet(CMSG_BUYINGSTORE_OPEN, 0x0360, 6, clif->pReqClickBuyingStore); + packet(CMSG_HOMUNCULUS_MENU, 0x0361, 5, clif->pHomMenu); + packet(CMSG_MOVE_FROM_STORAGE, 0x0364, 8, clif->pMoveFromKafra); + packet(CMSG_PLAYER_CHANGE_ACT, 0x0369, 7, clif->pActionRequest); + packet(CMSG_SKILL_USE_POSITION_MORE, 0x0366, 90, clif->pUseSkillToPosMoreInfo); + packet(CMSG_PLAYER_CHANGE_DEST, 0x0437, 5, clif->pWalkToXY); + packet(CMSG_SEARCHSTORE_CLICK, 0x0838, 12, clif->pSearchStoreInfoListItemClick); + packet(CMSG_BUYINGSTORE_SELL, 0x0811, -1, clif->pReqTradeBuyingStore); + packet(CMSG_ITEM_PICKUP, 0x07e4, 6, clif->pTakeItem); + packet(CMSG_FRIENDS_ADD_PLAYER, 0x023b, 26, clif->pFriendsListAdd); + packet(CMSG_MAP_PING, 0x035f, 6, clif->pTickSend); + packet(CMSG_SEARCHSTORE_SEARCH, 0x0819, -1, clif->pSearchStoreInfo); + packet(CMSG_PARTY_INVITE2, 0x0802, 26, clif->pPartyInvite2); + packet(CMSG_PLAYER_INVENTORY_DROP, 0x0362, 6, clif->pDropItem); + packet(CMSG_MOVE_TO_STORAGE, 0x07ec, 8, clif->pMoveToKafra); + packet(CMSG_PLAYER_CHANGE_DIR, 0x0202, 5, clif->pChangeDir); + packet(CMSG_SKILL_USE_BEING, 0x083c, 10, clif->pUseSkillToId); + packet(CMSG_SOLVE_CHAR_NAME, 0x0368, 6, clif->pSolveCharName); + packet(CMSG_BUYINGSTORE_CREATE, 0x0815, -1, clif->pReqOpenBuyingStore); + packet(CMSG_NAME_REQUEST, 0x096a, 6, clif->pGetCharNameRequest); +} + #endif -- cgit v1.2.3-70-g09d2