Skip to content

Commit

Permalink
Merge pull request #1969 from 4144/packetsupdate
Browse files Browse the repository at this point in the history
Update packets and keys tables up to 20180207.
  • Loading branch information
MishimaHaruna authored Feb 10, 2018
2 parents c653d96 + a269cb2 commit c981552
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/map/packets.h
Original file line number Diff line number Diff line change
Expand Up @@ -3987,4 +3987,40 @@ packet(0x96e,-1,clif->ackmergeitems);
#endif
#endif

#ifdef PACKETVER_ZERO
// 2018-01-31dRagexe_zero
#if PACKETVER >= 20180131
// new packets
packet(0x0af2,40,clif->pDull/*,XXX*/);
packet(0x0af3,-1,clif->pDull/*,XXX*/);
packet(0x0af4,11,clif->pDull/*,XXX*/);
// changed packet sizes
packet(0x0821,102); // AC_OTP_USER
packet(0x0ae6,10,clif->pDull/*,XXX*/);
#endif
#endif // PACKETVER_ZERO

#ifdef PACKETVER_ZERO
// 2018-02-07bRagexe_zero
#if PACKETVER >= 20180207
// new packets
packet(0x0af5,3);
packet(0x0af6,88);
packet(0x0af7,32);
// changed packet sizes
#endif
#else // PACKETVER_ZERO
// 2018-02-07bRagexeRE, 2018-02-07bRagexe
#if PACKETVER >= 20180207
// new packets
packet(0x0af4,11);
packet(0x0af5,3);
packet(0x0af6,88);
packet(0x0af7,32);
// changed packet sizes
packet(0x0ae6,10);
#endif
#endif // PACKETVER_ZERO


#endif /* MAP_PACKETS_H */
5 changes: 5 additions & 0 deletions src/map/packets_keys_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -1954,5 +1954,10 @@
packetKeys(0x7EAA1CE0,0x415D1CFD,0x4C8F19FA);
#endif

// 2018-02-07bRagexe, 2018-02-07bRagexeRE
#if PACKETVER == 20180207
packetKeys(0x45AA1B44,0x20E716B7,0x5388105C);
#endif


#endif /* MAP_PACKETS_MAIN_KEYS_H */
10 changes: 10 additions & 0 deletions src/map/packets_keys_zero.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,15 @@
packetKeys(0x230959EB,0x1CCB0182,0x1FFA2B30);
#endif

// 2018-01-31dRagexe_zero
#if PACKETVER == 20180131
packetKeys(0x1F422E02,0x12025202,0x52025202);
#endif

// 2018-02-07bRagexe_zero
#if PACKETVER == 20180207
packetKeys(0x07CB29CB,0x69CB69CB,0x69CB69CB);
#endif


#endif /* MAP_PACKETS_ZERO_KEYS_H */
33 changes: 33 additions & 0 deletions src/map/packets_shuffle_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -9533,5 +9533,38 @@
packet(0x096a,6,clif->pGetCharNameRequest,2); // CZ_REQNAME
#endif

// 2018-02-07bRagexe, 2018-02-07bRagexeRE
#if PACKETVER == 20180207
packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8); // CZ_ITEMLISTWIN_RES
packet(0x035f,6,clif->pReqClickBuyingStore,2); // CZ_REQ_CLICK_TO_BUYING_STORE
packet(0x0360,4,clif->pDull/*,XXX*/); // CZ_GANGSI_RANK
packet(0x0362,6,clif->pDropItem,2,4); // CZ_ITEM_THROW
packet(0x0363,8,clif->pDull/*,XXX*/); // CZ_JOIN_BATTLE_FIELD
packet(0x0364,8,clif->pMoveFromKafra,2,4); // CZ_MOVE_ITEM_FROM_STORE_TO_BODY
packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4); // CZ_PARTY_BOOKING_REQ_REGISTER
packet(0x0366,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10); // CZ_USE_SKILL_TOGROUND_WITHTALKBOX
packet(0x0368,6,clif->pSolveCharName,2); // CZ_REQNAME_BYGID
packet(0x0369,7,clif->pActionRequest,2,6); // CZ_REQUEST_ACT
packet(0x0437,5,clif->pWalkToXY,2); // CZ_REQUEST_MOVE
packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8); // CZ_USE_SKILL_TOGROUND
packet(0x07e4,6,clif->pTakeItem,2); // CZ_ITEM_PICKUP
packet(0x07ec,8,clif->pMoveToKafra,2,4); // CZ_MOVE_ITEM_FROM_BODY_TO_STORE
packet(0x0802,26,clif->pPartyInvite2,2); // CZ_PARTY_JOIN_REQ
packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12); // CZ_REQ_TRADE_BUYING_STORE
packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89); // CZ_REQ_OPEN_BUYING_STORE
packet(0x0817,2,clif->pReqCloseBuyingStore,0); // CZ_REQ_CLOSE_BUYING_STORE
packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15); // CZ_SEARCH_STORE_INFO
packet(0x0835,2,clif->pSearchStoreInfoNextPage,0); // CZ_SEARCH_STORE_INFO_NEXT_PAGE
packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10); // CZ_SSILIST_ITEM_CLICK
packet(0x083c,10,clif->pUseSkillToId,2,4,6); // CZ_USE_SKILL
packet(0x0870,19,clif->pWantToConnection,2,6,10,14,18); // CZ_ENTER
packet(0x0881,26,clif->pFriendsListAdd,2); // CZ_ADD_FRIENDS
packet(0x092c,5,clif->pHomMenu,2,4); // CZ_COMMAND_MER
packet(0x092e,5,clif->pChangeDir,2,4); // CZ_CHANGE_DIRECTION
packet(0x0940,6,clif->pTickSend,2); // CZ_REQUEST_TIME
packet(0x0950,36,clif->pStoragePassword,0); // CZ_ACK_STORE_PASSWORD
packet(0x096a,6,clif->pGetCharNameRequest,2); // CZ_REQNAME
#endif


#endif /* MAP_PACKETS_SHUFFLE_MAIN_H */
66 changes: 66 additions & 0 deletions src/map/packets_shuffle_zero.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,5 +485,71 @@
packet(0x0963,5,clif->pHomMenu,2,4); // CZ_COMMAND_MER
#endif

// 2018-01-31dRagexe_zero
#if PACKETVER == 20180131
packet(0x0202,5,clif->pChangeDir,2,4); // CZ_CHANGE_DIRECTION
packet(0x022d,19,clif->pWantToConnection,2,6,10,14,18); // CZ_ENTER
packet(0x023b,26,clif->pFriendsListAdd,2); // CZ_ADD_FRIENDS
packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8); // CZ_ITEMLISTWIN_RES
packet(0x035f,6,clif->pTickSend,2); // CZ_REQUEST_TIME
packet(0x0360,6,clif->pReqClickBuyingStore,2); // CZ_REQ_CLICK_TO_BUYING_STORE
packet(0x0361,5,clif->pHomMenu,2,4); // CZ_COMMAND_MER
packet(0x0362,6,clif->pDropItem,2,4); // CZ_ITEM_THROW
packet(0x0363,8,clif->pDull/*,XXX*/); // CZ_JOIN_BATTLE_FIELD
packet(0x0364,8,clif->pMoveFromKafra,2,4); // CZ_MOVE_ITEM_FROM_STORE_TO_BODY
packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4); // CZ_PARTY_BOOKING_REQ_REGISTER
packet(0x0367,36,clif->pStoragePassword,0); // CZ_ACK_STORE_PASSWORD
packet(0x0368,6,clif->pSolveCharName,2); // CZ_REQNAME_BYGID
packet(0x0369,7,clif->pActionRequest,2,6); // CZ_REQUEST_ACT
packet(0x0436,4,clif->pDull/*,XXX*/); // CZ_GANGSI_RANK
packet(0x0437,5,clif->pWalkToXY,2); // CZ_REQUEST_MOVE
packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8); // CZ_USE_SKILL_TOGROUND
packet(0x07e4,6,clif->pTakeItem,2); // CZ_ITEM_PICKUP
packet(0x07ec,8,clif->pMoveToKafra,2,4); // CZ_MOVE_ITEM_FROM_BODY_TO_STORE
packet(0x0802,26,clif->pPartyInvite2,2); // CZ_PARTY_JOIN_REQ
packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12); // CZ_REQ_TRADE_BUYING_STORE
packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89); // CZ_REQ_OPEN_BUYING_STORE
packet(0x0817,2,clif->pReqCloseBuyingStore,0); // CZ_REQ_CLOSE_BUYING_STORE
packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15); // CZ_SEARCH_STORE_INFO
packet(0x0835,2,clif->pSearchStoreInfoNextPage,0); // CZ_SEARCH_STORE_INFO_NEXT_PAGE
packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10); // CZ_SSILIST_ITEM_CLICK
packet(0x083c,10,clif->pUseSkillToId,2,4,6); // CZ_USE_SKILL
packet(0x0940,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10); // CZ_USE_SKILL_TOGROUND_WITHTALKBOX
packet(0x096a,6,clif->pGetCharNameRequest,2); // CZ_REQNAME
#endif

// 2018-02-07bRagexe_zero
#if PACKETVER == 20180207
packet(0x0202,5,clif->pChangeDir,2,4); // CZ_CHANGE_DIRECTION
packet(0x022d,19,clif->pWantToConnection,2,6,10,14,18); // CZ_ENTER
packet(0x023b,26,clif->pFriendsListAdd,2); // CZ_ADD_FRIENDS
packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8); // CZ_ITEMLISTWIN_RES
packet(0x035f,6,clif->pTickSend,2); // CZ_REQUEST_TIME
packet(0x0360,6,clif->pReqClickBuyingStore,2); // CZ_REQ_CLICK_TO_BUYING_STORE
packet(0x0361,5,clif->pHomMenu,2,4); // CZ_COMMAND_MER
packet(0x0362,6,clif->pDropItem,2,4); // CZ_ITEM_THROW
packet(0x0363,8,clif->pDull/*,XXX*/); // CZ_JOIN_BATTLE_FIELD
packet(0x0364,8,clif->pMoveFromKafra,2,4); // CZ_MOVE_ITEM_FROM_STORE_TO_BODY
packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4); // CZ_PARTY_BOOKING_REQ_REGISTER
packet(0x0366,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10); // CZ_USE_SKILL_TOGROUND_WITHTALKBOX
packet(0x0368,6,clif->pSolveCharName,2); // CZ_REQNAME_BYGID
packet(0x0369,7,clif->pActionRequest,2,6); // CZ_REQUEST_ACT
packet(0x0436,4,clif->pDull/*,XXX*/); // CZ_GANGSI_RANK
packet(0x0437,5,clif->pWalkToXY,2); // CZ_REQUEST_MOVE
packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8); // CZ_USE_SKILL_TOGROUND
packet(0x07e4,6,clif->pTakeItem,2); // CZ_ITEM_PICKUP
packet(0x07ec,8,clif->pMoveToKafra,2,4); // CZ_MOVE_ITEM_FROM_BODY_TO_STORE
packet(0x0802,26,clif->pPartyInvite2,2); // CZ_PARTY_JOIN_REQ
packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12); // CZ_REQ_TRADE_BUYING_STORE
packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89); // CZ_REQ_OPEN_BUYING_STORE
packet(0x0817,2,clif->pReqCloseBuyingStore,0); // CZ_REQ_CLOSE_BUYING_STORE
packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15); // CZ_SEARCH_STORE_INFO
packet(0x0835,2,clif->pSearchStoreInfoNextPage,0); // CZ_SEARCH_STORE_INFO_NEXT_PAGE
packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10); // CZ_SSILIST_ITEM_CLICK
packet(0x083c,10,clif->pUseSkillToId,2,4,6); // CZ_USE_SKILL
packet(0x0967,36,clif->pStoragePassword,0); // CZ_ACK_STORE_PASSWORD
packet(0x096a,6,clif->pGetCharNameRequest,2); // CZ_REQNAME
#endif


#endif /* MAP_PACKETS_SHUFFLE_ZERO_H */

0 comments on commit c981552

Please sign in to comment.