GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/eathena/packetsout.inc Lines: 12 992 1.2 %
Date: 2021-03-17 Branches: 0 244 0.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2004-2009  The Mana World Development Team
4
 *  Copyright (C) 2009-2010  The Mana Developers
5
 *  Copyright (C) 2011-2019  The ManaPlus Developers
6
 *  Copyright (C) 2019-2021  Andrei Karas
7
 *
8
 *  This file is part of The ManaPlus Client.
9
 *
10
 *  This program is free software; you can redistribute it and/or modify
11
 *  it under the terms of the GNU General Public License as published by
12
 *  the Free Software Foundation; either version 2 of the License, or
13
 *  any later version.
14
 *
15
 *  This program is distributed in the hope that it will be useful,
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *  GNU General Public License for more details.
19
 *
20
 *  You should have received a copy of the GNU General Public License
21
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
 */
23
24
#define PACKETSOUT_VOID
25
26
// 0
27
packet(CMSG_SERVER_VERSION_REQUEST,       0x7530,   0, nullptr);
28
29
packet(CMSG_LOGIN_REGISTER,               0x0064,   0, lclif->p->parse_CA_LOGIN);
30
packet(CMSG_LOGIN_REGISTER2,              0x01dd,   0, lclif->p->parse_CA_LOGIN2);
31
packet(CMSG_LOGIN_REGISTER3,              0x01fa,   0, lclif->p->parse_CA_LOGIN3);
32
packet(CMSG_LOGIN_REGISTER4,              0x027c,   0, lclif->p->parse_CA_LOGIN4);
33
packet(CMSG_LOGIN_REGISTER_PCBANG,        0x0277,   0, lclif->p->parse_CA_LOGIN_PCBANG);
34
packet(CMSG_LOGIN_REGISTER_HAN,           0x02b0,   0, lclif->p->parse_CA_LOGIN_HAN);
35
packet(CMSG_LOGIN_REGISTER_SSO,           0x0825,  -1, lclif->p->parse_CA_SSO_LOGIN_REQ);
36
packet(CMSG_LOGIN_REGISTER_KEY,           0x01db,   0, lclif->p->parse_CA_REQ_HASH);
37
38
packet(CMSG_NAME_REQUEST,                 0x0094,   6, clif->pGetCharNameRequest);
39
40
packet(CMSG_CHAR_PASSWORD_CHANGE,         0x0061,   0, nullptr);
41
packet(CMSG_CHAR_SERVER_CONNECT,          0x0065,   0, chr->parse_char_connect);
42
packet(CMSG_CHAR_SELECT,                  0x0066,   3, chr->parse_char_select);
43
packet(CMSG_CHAR_CREATE,                  0x0067,   0, chr->parse_make_char_0067);
44
packet(CMSG_CHAR_DELETE,                  0x0068,  56, chr->parse_char_delete_char_0068);
45
packet(CMSG_CHAR_DELETE2_REQ,             0x0827,   6, chr->parse_char_delete2_req);
46
packet(CMSG_CHAR_DELETE2_ACCEPT,          0x0829,  12, chr->parse_char_delete2_accept);
47
packet(CMSG_CHAR_DELETE2_CANCEL,          0x082b,   6, chr->parse_char_delete2_cancel);
48
packet(CMSG_CHAR_CREATE_PIN,              0x08ba,  10, chr->parse_char_pincode_first_pin);
49
packet(CMSG_CHAR_PIN_CHECK,               0x08b8,  10, chr->parse_char_pincode_check);
50
packet(CMSG_CHAR_PIN_CHANGE,              0x08be,  14, chr->parse_char_pincode_change);
51
packet(CMSG_CHAR_PIN_WINDOW,              0x08c5,   6, chr->parse_char_pincode_window);
52
packet(CMSG_CHAR_REQUEST_CHARS,           0x09a1,   2, chr->parse_char_request_chars);
53
packet(CMSG_CHAR_CHECK_RENAME,            0x08fc,  30, chr->parse_char_rename_char);
54
packet(CMSG_CHAR_CHECK_RENAME2,           0x028d,  34, chr->parse_char_rename_char2);
55
packet(CMSG_CHAR_RENAME,                  0x028f,   6, chr->parse_char_rename_char_confirm);
56
packet(CMSG_CHAR_CHANGE_SLOT,             0x08d4,   8, chr->parse_char_move_character);
57
packet(CMSG_CHAR_REQUEST_CAPTCHA,         0x07e5,   8, chr->parse_char_request_captcha);
58
packet(CMSG_CHAR_CHECK_CAPTCHA,           0x07e7,  32, chr->parse_char_check_captcha);
59
60
packet(CMSG_MAP_SERVER_CONNECT,           0x0072,  19, clif->pWantToConnection);
61
packet(CMSG_MAP_PING,                     0x007e,   6, clif->pTickSend);
62
packet(CMSG_LOGIN_PING,                   0x0200,   0, lclif->p->parse_CA_CONNECT_INFO_CHANGED);
63
packet(CMSG_LOGIN_HASH_CHECK,             0x0204,   0, lclif->p->parse_CA_EXE_HASHCHECK);
64
65
packet(CMSG_CHAR_PING,                    0x0187,  56, chr->parse_char_ping);
66
packet(CMSG_MAP_LOADED,                   0x007d,   2, clif->pLoadEndAck);
67
packet(CMSG_CLIENT_QUIT,                  0x018A,   4, clif->pQuitGame);
68
69
packet(CMSG_CHAT_MESSAGE,                 0x008c,  -1, clif->pGlobalMessage);
70
packet(CMSG_CHAT_WHISPER,                 0x0096,  -1, clif->pWisMessage);
71
packet(CMSG_CHAT_ROOM_JOIN,               0x00d9,  14, clif->pChatAddMember);
72
1
packet2(CMSG_CHAT_JOIN_CHANNEL,           0x0b07,   0, nullptr);
73
1
packet2(CMSG_CHAT_PART_CHANNEL,           0x0b09,   0, nullptr);
74
packet(CMSG_BATTLE_CHAT_MESSAGE,          0x02db,  -1, clif->pBattleChat);
75
76
packet(CMSG_CREAYE_CHAT_ROOM,             0x00d5,  -1, clif->pCreateChatRoom);
77
packet(CMSG_LEAVE_CHAT_ROOM,              0x00e3,   2, clif->pChatLeave);
78
packet(CMSG_SET_CHAT_ROOM_OPTIONS,        0x00de,  -1, clif->pChatRoomStatusChange);
79
packet(CMSG_SET_CHAT_ROOM_OWNER,          0x00e0,  30, clif->pChangeChatOwner);
80
packet(CMSG_KICK_FROM_CHAT_ROOM,          0x00e2,  26, clif->pKickFromChat);
81
82
packet(CMSG_SKILL_LEVELUP_REQUEST,        0x0112,   4, clif->pSkillUp);
83
packet(CMSG_STAT_UPDATE_REQUEST,          0x00bb,   5, clif->pStatusUp);
84
packet(CMSG_SKILL_USE_BEING,              0x0113,  10, clif->pUseSkillToId);
85
packet(CMSG_SKILL_USE_POSITION,           0x0116,  10, clif->pUseSkillToPos);
86
packet(CMSG_SKILL_USE_POSITION_MORE,      0x0190,  90, clif->pUseSkillToPosMoreInfo);
87
packet(CMSG_SKILL_USE_MAP,                0x011b,  20, clif->pUseSkillMap);
88
89
packet(CMSG_PLAYER_INVENTORY_USE,         0x0439,   8, clif->pUseItem);
90
packet(CMSG_PLAYER_INVENTORY_DROP,        0x00a2,   6, clif->pDropItem);
91
packet(CMSG_PLAYER_EQUIP,                 0x00a9,   6, clif->pEquipItem);
92
packet(CMSG_PLAYER_UNEQUIP,               0x00ab,   4, clif->pUnequipItem);
93
packet(CMSG_PLAYER_USE_CARD,              0x017a,   4, clif->pUseCard);
94
packet(CMSG_PLAYER_INSERT_CARD,           0x017c,   6, clif->pInsertCard);
95
packet(CMSG_PLAYER_VIEW_EQUIPMENT,        0x02d6,   6, clif->pViewPlayerEquip);
96
packet(CMSG_SET_CONFIG_OPTION,            0x02d8,  10, clif->pEquipTick);
97
98
packet(CMSG_ITEM_PICKUP,                  0x009f,   6, clif->pTakeItem);
99
packet(CMSG_PLAYER_CHANGE_DIR,            0x009b,   5, clif->pChangeDir);
100
packet(CMSG_PLAYER_CHANGE_DEST,           0x0085,   5, clif->pWalkToXY);
101
packet(CMSG_PLAYER_CHANGE_ACT,            0x0089,   7, clif->pActionRequest);
102
packet(CMSG_PLAYER_RESTART,               0x00b2,   3, clif->pRestart);
103
packet(CMSG_PLAYER_EMOTE,                 0x00bf,   3, clif->pEmotion);
104
packet(CMSG_PLAYER_STOP_ATTACK,           0x0118,   2, clif->pStopAttack);
105
packet(CMSG_WHO_REQUEST,                  0x00c1,   2, clif->pHowManyConnections);
106
107
packet(CMSG_NPC_TALK,                     0x0090,   7, clif->pNpcClicked);
108
packet(CMSG_NPC_NEXT_REQUEST,             0x00b9,   6, clif->pNpcNextClicked);
109
packet(CMSG_NPC_CLOSE,                    0x0146,   6, clif->pNpcCloseClicked);
110
packet(CMSG_NPC_LIST_CHOICE,              0x00b8,   7, clif->pNpcSelectMenu);
111
packet(CMSG_NPC_INT_RESPONSE,             0x0143,  10, clif->pNpcAmountInput);
112
packet(CMSG_NPC_STR_RESPONSE,             0x01d5,  -1, clif->pNpcStringInput);
113
packet(CMSG_NPC_BUY_SELL_REQUEST,         0x00c5,   7, clif->pNpcBuySellSelected);
114
packet(CMSG_NPC_BUY_REQUEST,              0x00c8,  -1, clif->pNpcBuyListSend);
115
packet(CMSG_NPC_SELL_REQUEST,             0x00c9,  -1, clif->pNpcSellListSend);
116
117
packet(CMSG_TRADE_REQUEST,                0x00e4,   6, clif->pTradeRequest);
118
packet(CMSG_TRADE_RESPONSE,               0x00e6,   3, clif->pTradeAck);
119
packet(CMSG_TRADE_ITEM_ADD_REQUEST,       0x00e8,   8, clif->pTradeAddItem);
120
packet(CMSG_TRADE_CANCEL_REQUEST,         0x00ed,   2, clif->pTradeCancel);
121
packet(CMSG_TRADE_ADD_COMPLETE,           0x00eb,   2, clif->pTradeOk);
122
packet(CMSG_TRADE_OK,                     0x00ef,   2, clif->pTradeCommit);
123
124
packet(CMSG_PARTY_CREATE,                 0x00f9,  26, clif->pCreateParty);
125
packet(CMSG_PARTY_CREATE2,                0x01e8,  28, clif->pCreateParty2);
126
packet(CMSG_PARTY_INVITE,                 0x00fc,   6, clif->pPartyInvite);
127
packet(CMSG_PARTY_INVITED,                0x00ff,  10, clif->pReplyPartyInvite);
128
packet(CMSG_PARTY_INVITED2,               0x02c7,   7, clif->pReplyPartyInvite2);
129
packet(CMSG_PARTY_LEAVE,                  0x0100,   2, clif->pLeaveParty);
130
packet(CMSG_PARTY_SETTINGS,               0x0102,   6, clif->pPartyChangeOption);
131
packet(CMSG_PARTY_KICK,                   0x0103,  30, clif->pRemovePartyMember);
132
packet(CMSG_PARTY_MESSAGE,                0x0108,  -1, clif->pPartyMessage);
133
packet(CMSG_PARTY_CHANGE_LEADER,          0x07da,   6, clif->pPartyChangeLeader);
134
packet(CMSG_PARTY_ALLOW_INVITES,          0x02c8,   3, clif->pPartyTick);
135
136
packet(CMSG_MOVE_TO_STORAGE,              0x00f3,   8, clif->pMoveToKafra);
137
packet(CMSG_MOVE_FROM_STORAGE,            0x00f5,   8, clif->pMoveFromKafra);
138
packet(CMSG_CLOSE_STORAGE,                0x00f7,   2, clif->pCloseKafra);
139
140
packet(CMSG_MOVE_TO_CART,                 0x0126,   8, clif->pPutItemToCart);
141
packet(CMSG_MOVE_FROM_CART,               0x0127,   8, clif->pGetItemFromCart);
142
packet(CMSG_CHANGE_CART,                  0x01af,   4, clif->pChangeCart);
143
packet(CMSG_MOVE_FROM_STORAGE_TO_CART,    0x0128,   8, clif->pMoveFromKafraToCart);
144
packet(CMSG_MOVE_FROM_CART_TO_STORAGE,    0x0129,   8, clif->pMoveToKafraFromCart);
145
146
packet(CMSG_ADMIN_ANNOUNCE,               0x0099,  -1, clif->pBroadcast);
147
packet(CMSG_ADMIN_LOCAL_ANNOUNCE,         0x019C,  -1, clif->pLocalBroadcast);
148
packet(CMSG_ADMIN_HIDE,                   0x019D,   6, clif->pGMHide);
149
packet(CMSG_ADMIN_KICK,                   0x00CC,   6, clif->pGMKick);
150
packet(CMSG_ADMIN_KICK_ALL,               0x00ce,   2, clif->pGMKickAll);
151
packet(CMSG_ADMIN_RESET_PLAYER,           0x0197,   4, clif->pResetChar);
152
packet(CMSG_ADMIN_GOTO,                   0x01bb,  26, clif->pGMShift);
153
packet(CMSG_ADMIN_RECALL,                 0x01bd,  26, clif->pGMRecall);
154
packet(CMSG_ADMIN_MUTE,                   0x0149,   9, clif->pGMReqNoChat);
155
packet(CMSG_ADMIN_MUTE_NAME,              0x0212,  26, clif->pGMRc);
156
packet(CMSG_ADMIN_ID_TO_LOGIN,            0x01df,   6, clif->pGMReqAccountName);
157
packet(CMSG_ADMIN_SET_TILE_TYPE,          0x0198,   8, clif->pGMChangeMapType);
158
packet(CMSG_ADMIN_UNEQUIP_ALL,            0x07f5,   6, clif->pGMFullStrip);
159
packet(CMSG_ADMIN_REQUEST_STATS,          0x0213,  26, clif->pCheck);
160
packet(CMSG_ADMIN_MONSTER_ITEM,           0x013f,  26, clif->pGM_Monster_Item);
161
162
packet(CMSG_GUILD_CHECK_MASTER,           0x014d,   2, clif->pGuildCheckMaster);
163
packet(CMSG_GUILD_REQUEST_INFO,           0x014f,   6, clif->pGuildRequestInfo);
164
packet(CMSG_GUILD_REQUEST_EMBLEM,         0x0151,   6, clif->pGuildRequestEmblem);
165
packet(CMSG_GUILD_CHANGE_EMBLEM,          0x0153,  -1, clif->pGuildChangeEmblem);
166
packet(CMSG_GUILD_CHANGE_MEMBER_POS,      0x0155,  -1, clif->pGuildChangeMemberPosition);
167
packet(CMSG_GUILD_LEAVE,                  0x0159,  54, clif->pGuildLeave);
168
packet(CMSG_GUILD_EXPULSION,              0x015b,  54, clif->pGuildExpulsion);
169
packet(CMSG_GUILD_BREAK,                  0x015d,  42, clif->pGuildBreak);
170
packet(CMSG_GUILD_CHANGE_POS_INFO,        0x0161,  -1, clif->pGuildChangePositionInfo);
171
packet(CMSG_GUILD_CREATE,                 0x0165,  30, clif->pCreateGuild);
172
packet(CMSG_GUILD_INVITE,                 0x0168,  14, clif->pGuildInvite);
173
packet(CMSG_GUILD_INVITE_REPLY,           0x016b,  10, clif->pGuildReplyInvite);
174
packet(CMSG_GUILD_CHANGE_NOTICE,          0x016e, 186, clif->pGuildChangeNotice);
175
packet(CMSG_GUILD_ALLIANCE_REQUEST,       0x0170,  14, clif->pGuildRequestAlliance);
176
packet(CMSG_GUILD_ALLIANCE_REPLY,         0x0172,  10, clif->pGuildReplyAlliance);
177
packet(CMSG_GUILD_MESSAGE,                0x017e,  -1, clif->pGuildMessage);
178
packet(CMSG_GUILD_OPPOSITION,             0x0180,   6, clif->pGuildOpposition);
179
packet(CMSG_GUILD_ALLIANCE_DELETE,        0x0183,  10, clif->pGuildDelAlliance);
180
181
packet(CMSG_SOLVE_CHAR_NAME,              0x0193,   6, clif->pSolveCharName);
182
packet(CMSG_IGNORE_ALL,                   0x00d0,   3, clif->pPMIgnoreAll);
183
packet(CMSG_IGNORE_NICK,                  0x00cf,  27, clif->pPMIgnore);
184
packet(CMSG_REQUEST_IGNORE_LIST,          0x00d3,   2, clif->pPMIgnoreList);
185
packet(CMSG_SET_SHORTCUTS,                0x02ba,  11, clif->pHotkey1);
186
packet(CMSG_NPC_COMPLETE_PROGRESS_BAR,    0x02f1,   2, clif->pProgressbar);
187
packet(CMSG_NPC_PRODUCE_MIX,              0x018e,  10, clif->pProduceMix);
188
packet(CMSG_NPC_COOKING,                  0x025b,   6, clif->pCooking);
189
packet(CMSG_NPC_REPAIR,                   0x01fd,  15, clif->pRepairItem);
190
packet(CMSG_NPC_REFINE,                   0x0222,   6, clif->pWeaponRefine);
191
packet(CMSG_NPC_IDENTIFY,                 0x0178,   4, clif->pItemIdentify);
192
packet(CMSG_NPC_SELECT_ARROW,             0x01ae,   4, clif->pSelectArrow);
193
packet(CMSG_NPC_SELECT_AUTO_SPELL,        0x01ce,   6, clif->pAutoSpell);
194
195
packet(CMSG_PLAYER_MAPMOVE,               0x0140,  22, clif->pMapMove);
196
packet(CMSG_REMOVE_OPTION,                0x012a,   2, clif->pRemoveOption);
197
packet(CMSG_PLAYER_SET_MEMO,              0x011d,   2, clif->pRequestMemo);
198
199
packet(CMSG_PET_CATCH,                    0x019f,   6, clif->pCatchPet);
200
packet(CMSG_PET_SEND_MESSAGE,             0x01a9,   6, clif->pSendEmotion);
201
packet(CMSG_PET_SET_NAME,                 0x01a5,  26, clif->pChangePetName);
202
packet(CMSG_PET_SELECT_EGG,               0x01a7,   4, clif->pSelectEgg);
203
packet(CMSG_PET_MENU_ACTION,              0x01a1,   3, clif->pPetMenu);
204
1
packet2(CMSG_PET_TALK,                    0x0b0c,   0, nullptr);
205
1
packet2(CMSG_PET_EMOTE,                   0x0b0d,   0, nullptr);
206
1
packet2(CMSG_PET_MOVE_TO,                 0x0b11,   0, nullptr);
207
1
packet2(CMSG_PET_DIRECTION,               0x0b12,   0, nullptr);
208
209
packet(CMSG_MERCENARY_ACTION,             0x029f,   3, clif->pmercenary_action);
210
packet(CMSG_HOMUNCULUS_SET_NAME,          0x0231,  26, clif->pChangeHomunculusName);
211
packet(CMSG_HOMMERC_MOVE_TO_MASTER,       0x0234,   6, clif->pHomMoveToMaster);
212
packet(CMSG_HOMMERC_MOVE_TO,              0x0232,   9, clif->pHomMoveTo);
213
packet(CMSG_HOMMERC_ATTACK,               0x0233,  11, clif->pHomAttack);
214
1
packet2(CMSG_HOMMERC_TALK,                0x0b13,   0, nullptr);
215
1
packet2(CMSG_HOMMERC_EMOTE,               0x0b14,   0, nullptr);
216
1
packet2(CMSG_HOMMERC_DIRECTION,           0x0b15,   0, nullptr);
217
218
packet(CMSG_DORI_DORI,                    0x01e7,   2, clif->pNoviceDoriDori);
219
packet(CMSG_EXPLOSION_SPIRITS,            0x01ed,   2, clif->pNoviceExplosionSpirits);
220
packet(CMSG_PVP_INFO,                     0x020f,  10, clif->pPVPInfo);
221
packet(CMSG_PLAYER_AUTO_REVIVE,           0x0292,   2, clif->pAutoRevive);
222
packet(CMSG_QUEST_ACTIVATE,               0x02b6,   7, clif->pquestStateAck);
223
224
packet(CMSG_MAIL_REFRESH_INBOX,           0x023f,   2, clif->pMail_refreshinbox);
225
packet(CMSG_MAIL_READ_MESSAGE,            0x0241,   6, clif->pMail_read);
226
packet(CMSG_MAIL_GET_ATTACH,              0x0244,   6, clif->pMail_getattach);
227
packet(CMSG_MAIL_DELETE_MESSAGE,          0x0243,   6, clif->pMail_delete);
228
packet(CMSG_MAIL_RETURN_MESSAGE,          0x0273,  30, clif->pMail_return);
229
packet(CMSG_MAIL_SET_ATTACH,              0x0247,   8, clif->pMail_setattach);
230
packet(CMSG_MAIL_RESET_ATTACH,            0x0246,   4, clif->pMail_winopen);
231
packet(CMSG_MAIL_SEND,                    0x0248,  -1, clif->pMail_send);
232
233
packet(CMSG_FAMILY_ASK_FOR_CHILD,         0x01f9,   6, clif->pAdopt_request);
234
packet(CMSG_FAMILY_ASK_FOR_CHILD_REPLY,   0x01f7,  14, clif->pAdopt_reply);
235
236
packet(CMSG_FRIENDS_ADD_PLAYER,           0x0202,  26, clif->pFriendsListAdd);
237
packet(CMSG_FRIENDS_REQUEST_ACK,          0x0208,  14, clif->pFriendsListReply);
238
packet(CMSG_FRIENDS_DELETE_PLAYER,        0x0203,  10, clif->pFriendsListRemove);
239
240
packet(CMSG_AUCTION_CANCEL_REG,           0x024b,   4, clif->pAuction_cancelreg);
241
packet(CMSG_AUCTION_SET_ITEM,             0x024c,   8, clif->pAuction_setitem);
242
packet(CMSG_AUCTION_REGISTER,             0x024d,  12, clif->pAuction_register);
243
packet(CMSG_AUCTION_CANCEL,               0x024e,   6, clif->pAuction_cancel);
244
packet(CMSG_AUCTION_CLOSE,                0x025d,   6, clif->pAuction_close);
245
packet(CMSG_AUCTION_BID,                  0x024f,  10, clif->pAuction_bid);
246
packet(CMSG_AUCTION_SEARCH,               0x0251,  34, clif->pAuction_search);
247
packet(CMSG_AUCTION_BUY_SELL,             0x025c,   4, clif->pAuction_buysell);
248
249
packet(CMSG_VENDING_CLOSE,                0x012e,   2, clif->pCloseVending);
250
packet(CMSG_VENDING_LIST_REQ,             0x0130,   6, clif->pVendingListReq);
251
packet(CMSG_VENDING_BUY,                  0x0134,  -1, clif->pPurchaseReq);
252
packet(CMSG_VENDING_BUY2,                 0x0801,  -1, clif->pPurchaseReq2);
253
packet(CMSG_VENDING_CREATE_SHOP,          0x01b2,  -1, clif->pOpenVending);
254
255
packet(CMSG_MERGE_ITEM_ACK,               0x096e,  -1, clif->ackmergeitems);
256
packet(CMSG_MERGE_ITEM_CANCEL,            0x0974,   2, clif->cancelmergeitem);
257
258
packet(CMSG_REQ_REMAIN_TIME,              0x01c0,   2, clif->pReqRemainTime);
259
260
1
packet2(CMSG_SET_STATUS,                  0x0b0e,   0, nullptr);
261
262
1
packet2(CMSG_ONLINE_LIST,                 0x0b0f,   0, nullptr);
263
264
1
packet2(CMSG_PLAYER_INVENTORY_USE2,       0x0b26,   6, nullptr);
265
266
#ifndef PACKETS_UPDATE
267
// 0
268
packet(CMSG_ALCHEMIST_RANKS,              0x0000,   0, nullptr);
269
packet(CMSG_BLACKSMITH_RANKS,             0x0000,   0, nullptr);
270
packet(CMSG_PK_RANKS,                     0x0000,   0, nullptr);
271
packet(CMSG_TAEKWON_RANKS,                0x0000,   0, nullptr);
272
packet(CMSG_BUYINGSTORE_CLOSE,            0x0000,   0, nullptr);
273
packet(CMSG_BUYINGSTORE_CREATE,           0x0000,   0, nullptr);
274
packet(CMSG_BUYINGSTORE_SELL,             0x0000,   0, nullptr);
275
packet(CMSG_SEARCHSTORE_SEARCH,           0x0000,   0, nullptr);
276
packet(CMSG_SEARCHSTORE_CLOSE,            0x0000,   0, nullptr);
277
packet(CMSG_HOMUNCULUS_MENU,              0x0000,   0, nullptr);
278
packet(CMSG_SEARCHSTORE_CLICK,            0x0000,   0, nullptr);
279
packet(CMSG_BUYINGSTORE_OPEN,             0x0000,   0, nullptr);
280
packet(CMSG_SEARCHSTORE_NEXT_PAGE,        0x0000,   0, nullptr);
281
packet(CMSG_QUICK_IDENTIFY_ITEM,          0x0000,   0, nullptr);
282
packet(CMSG_PARTY_INVITE2,                0x0000,   0, nullptr);
283
packet(CMSG_SKILL_FEEL_SAVE_OK,           0x0000,   0, nullptr);
284
packet(CMSG_SKILL_SELECT_MENU,            0x0000,   0, nullptr);
285
packet(CMSG_PLAYER_LESS_EFFECTS,          0x0000,   0, nullptr);
286
packet(CMSG_SHORTCUTS_ROW_SHIFT,          0x0000,   0, nullptr);
287
packet(CMSG_NPC_SHOP_CLOSE,               0x0000,   0, nullptr);
288
packet(CMSG_NPC_MARKET_BUY,               0x0000,   0, nullptr);
289
packet(CMSG_NPC_MARKET_CLOSE,             0x0000,   0, nullptr);
290
packet(CMSG_BANK_DEPOSIT,                 0x0000,   0, nullptr);
291
packet(CMSG_BANK_WITHDRAW,                0x0000,   0, nullptr);
292
packet(CMSG_BANK_CHECK,                   0x0000,   0, nullptr);
293
packet(CMSG_BANK_OPEN,                    0x0000,   0, nullptr);
294
packet(CMSG_BANK_CLOSE,                   0x0000,   0, nullptr);
295
packet(CMSG_REQUEST_RANKS,                0x0000,   0, nullptr);
296
packet(CMSG_PLAYER_FAVORITE_ITEM,         0x0000,   0, nullptr);
297
packet(CMSG_BATTLE_REGISTER,              0x0000,   0, nullptr);
298
packet(CMSG_BATTLE_REVOKE,                0x0000,   0, nullptr);
299
packet(CMSG_BATTLE_BEGIN_ACK,             0x0000,   0, nullptr);
300
packet(CMSG_BATTLE_CHECK_STATE,           0x0000,   0, nullptr);
301
packet(CMSG_NPC_CASH_SHOP_BUY,            0x0000,   0, nullptr);
302
packet(CMSG_NPC_CASH_SHOP_BUY1,           0x0000,   0, nullptr);
303
packet(CMSG_NPC_CASH_SHOP_CLOSE,          0x0000,   0, nullptr);
304
packet(CMSG_NPC_CASH_SHOP_OPEN,           0x0000,   0, nullptr);
305
packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB,    0x0000,   0, nullptr);
306
packet(CMSG_NPC_CASH_SHOP_SCHEDULE,       0x0000,   0, nullptr);
307
packet(CMSG_GUILD_INVITE2,                0x0000,   0, nullptr);
308
packet(CMSG_STORAGE_PASSWORD,             0x0000,   0, nullptr);
309
packet(CMSG_ITEM_LIST_WINDOW_SELECT,      0x0000,   0, nullptr);
310
packet(CMSG_SELECT_CART,                  0x0000,   0, nullptr);
311
packet(CMSG_ROULETTE_INFO,                0x0000,   0, nullptr);
312
packet(CMSG_ROULETTE_GENERATE,            0x0000,   0, nullptr);
313
packet(CMSG_ROULETTE_OPEN,                0x0000,   0, nullptr);
314
packet(CMSG_ROULETTE_CLOSE,               0x0000,   0, nullptr);
315
packet(CMSG_ROULETTE_RECV_ITEM,           0x0000,   0, nullptr);
316
packet(CMSG_ADMIN_RECALL2,                0x0000,   0, nullptr);
317
packet(CMSG_ADMIN_REMOVE2,                0x0000,   0, nullptr);
318
packet(CMSG_BOOKING_REGISTER_REQ,         0x0000,   0, nullptr);
319
packet(CMSG_BOOKING_SEARCH_REQ,           0x0000,   0, nullptr);
320
packet(CMSG_BOOKING_DELETE_REQ,           0x0000,   0, nullptr);
321
packet(CMSG_BOOKING_UPDATE_REQ,           0x0000,   0, nullptr);
322
packet(CMSG_MAIL2_CHECK_NAME,             0x0000,   0, nullptr);
323
packet(CMSG_MAIL2_OPEN_WRITE_MAIL,        0x0000,   0, nullptr);
324
packet(CMSG_MAIL2_ADD_ITEM_TO_MAIL,       0x0000,   0, nullptr);
325
packet(CMSG_MAIL2_REMOVE_ITEM_MAIL,       0x0000,   0, nullptr);
326
packet(CMSG_MAIL2_SEND_MAIL,              0x0000,   0, nullptr);
327
packet(CMSG_MAIL2_NEXT_PAGE,              0x0000,   0, nullptr);
328
packet(CMSG_MAIL2_READ_MAIL,              0x0000,   0, nullptr);
329
packet(CMSG_MAIL2_DELETE_MAIL,            0x0000,   0, nullptr);
330
packet(CMSG_MAIL2_REQUEST_MONEY,          0x0000,   0, nullptr);
331
packet(CMSG_MAIL2_REQUEST_ITEMS,          0x0000,   0, nullptr);
332
packet(CMSG_MAIL2_REFRESH_MAIL_LIST,      0x0000,   0, nullptr);
333
packet(CMSG_MAIL2_OPEN_MAILBOX,           0x0000,   0, nullptr);
334
packet(CMSG_MAIL2_CLOSE_MAILBOX,          0x0000,   0, nullptr);
335
packet(CMSG_MAIL2_CANCEL_WRITE_MAIL,      0x0000,   0, nullptr);
336
packet(CMSG_CLAN_MESSAGE,                 0x0000,   0, nullptr);
337
packet(CMSG_WINDOW_OPEN_REQUEST2,         0x0000,   0, nullptr);
338
packet(CMSG_ATTENDANCE_REWARD,            0x0000,   0, nullptr);
339
packet(CMSG_MAP_BLOCK_PLAY_CANCEL,        0x0000,   0, nullptr);
340
packet(CMSG_PRIVATE_AIRSHIP_REQUEST,      0x0000,   0, nullptr);
341
packet(CMSG_PLAYER_SELECT_STYLE,          0x0000,   0, nullptr);
342
packet(CMSG_PLAYER_SELECT_STYLE2,         0x0000,   0, nullptr);
343
packet(CMSG_PET_EVOLUTION,                0x0000,   0, nullptr);
344
packet(CMSG_PLAYER_SET_TITLE,             0x0000,   0, nullptr);
345
packet(CMSG_CHANGE_DRESS,                 0x0000,   0, nullptr);
346
packet(CMSG_INSTANCE_COMMAND,             0x0000,   0, nullptr);
347
packet(CMSG_ACHIEVEMENT_GET_REWARD,       0x0000,   0, nullptr);
348
packet(CMSG_LOGIN_MOBILE_OTP,             0x0000,   0, nullptr);
349
packet(CMSG_LOGIN_OTP_CODE,               0x0000,   0, nullptr);
350
packet(CMSG_INVENTORY_EXPAND,             0x0000,   0, nullptr);
351
packet(CMSG_INVENTORY_EXPAND_CONFIRM,     0x0000,   0, nullptr);
352
packet(CMSG_INVENTORY_EXPAND_REJECT,      0x0000,   0, nullptr);
353
packet(CMSG_SKILL_USE_BEING_START,        0x0000,   0, nullptr);
354
packet(CMSG_SKILL_USE_BEING_STOP,         0x0000,   0, nullptr);
355
packet(CMSG_NPC_BARTER_CLOSE,             0x0000,   0, nullptr);
356
packet(CMSG_CAMERA_INFO,                  0x0000,   0, nullptr);
357
packet(CMSG_NPC_BARTER_BUY,               0x0000,   0, nullptr);
358
packet(CMSG_CLIENT_VERSION,               0x0000,   0, nullptr);
359
packet(CMSG_PLAYER_STYLE_CLOSE,           0x0000,   0, nullptr);
360
packet(CMSG_MAP_PING2,                    0x0000,   0, nullptr);
361
packet(CMSG_ADMIN_RESET_COOLDOWNS,        0x0000,   0, nullptr);
362
packet(CMSG_REFINE_ADD_ITEM,              0x0000,   0, nullptr);
363
packet(CMSG_REFINE_ITEM,                  0x0000,   0, nullptr);
364
packet(CMSG_REFINE_CLOSE,                 0x0000,   0, nullptr);
365
#else
366
// 20040713
367
if (packetVersion >= 20040713)
368
{
369
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009b,  13, clif->pChangeDir);
370
    packet(CMSG_ITEM_PICKUP,              0x009f,  10, clif->pTakeItem);
371
}
372
373
// 20040726
374
if (packetVersion >= 20040726)
375
{
376
    packet(CMSG_CHAT_MESSAGE,             0x00f3,  -1, clif->pGlobalMessage);
377
    packet(CMSG_MAP_PING,                 0x00f7,  10, clif->pTickSend);
378
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009f,  13, clif->pChangeDir);
379
    packet(CMSG_ITEM_PICKUP,              0x0094,  10, clif->pTakeItem);
380
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0072,  14, clif->pDropItem);
381
    packet(CMSG_MOVE_TO_STORAGE,          0x0113,  16, clif->pMoveToKafra);
382
}
383
384
// 20040809
385
if (packetVersion >= 20040809)
386
{
387
    packet(CMSG_MAP_PING,                 0x00f7,  13, clif->pTickSend);
388
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009f,  12, clif->pChangeDir);
389
    packet(CMSG_ITEM_PICKUP,              0x0094,  13, clif->pTakeItem);
390
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0072,  17, clif->pDropItem);
391
    packet(CMSG_MOVE_TO_STORAGE,          0x0113,  23, clif->pMoveToKafra);
392
}
393
394
// 20040906
395
if (packetVersion >= 20040906)
396
{
397
    packet(CMSG_CHAT_MESSAGE,             0x009f,  -1, clif->pGlobalMessage);
398
    packet(CMSG_MAP_PING,                 0x0116,  11, clif->pTickSend);
399
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  10, clif->pChangeDir);
400
    packet(CMSG_ITEM_PICKUP,              0x0113,  11, clif->pTakeItem);
401
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  17, clif->pDropItem);
402
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  19, clif->pMoveToKafra);
403
}
404
405
// 20040920
406
if (packetVersion >= 20040920)
407
{
408
    packet(CMSG_MAP_PING,                 0x0116,  14, clif->pTickSend);
409
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  18, clif->pChangeDir);
410
    packet(CMSG_ITEM_PICKUP,              0x0113,  14, clif->pTakeItem);
411
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  19, clif->pDropItem);
412
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  25, clif->pMoveToKafra);
413
}
414
415
// 20041005
416
if (packetVersion >= 20041005)
417
{
418
    packet(CMSG_MAP_PING,                 0x0116,  10, clif->pTickSend);
419
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  13, clif->pChangeDir);
420
    packet(CMSG_ITEM_PICKUP,              0x0113,  10, clif->pTakeItem);
421
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  14, clif->pDropItem);
422
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  16, clif->pMoveToKafra);
423
}
424
425
// 20041025
426
if (packetVersion >= 20041025)
427
{
428
    packet(CMSG_MAP_PING,                 0x0116,   9, clif->pTickSend);
429
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  15, clif->pChangeDir);
430
    packet(CMSG_ITEM_PICKUP,              0x0113,   9, clif->pTakeItem);
431
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  12, clif->pDropItem);
432
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  13, clif->pMoveToKafra);
433
}
434
435
// 20041108
436
if (packetVersion >= 20041108)
437
{
438
    packet(CMSG_ALCHEMIST_RANKS,          0x0218,   2, clif->pAlchemist);
439
    packet(CMSG_BLACKSMITH_RANKS,         0x0217,   2, clif->pBlacksmith);
440
}
441
442
// 20041115
443
if (packetVersion >= 20041115)
444
{
445
    packet(CMSG_PLAYER_LESS_EFFECTS,      0x021d,   6, clif->pLessEffect);
446
}
447
448
// 20041129
449
if (packetVersion >= 20041129)
450
{
451
    packet(CMSG_CHAT_MESSAGE,             0x0085,  -1, clif->pGlobalMessage);
452
    packet(CMSG_MAP_PING,                 0x0089,   7, clif->pTickSend);
453
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,   8, clif->pChangeDir);
454
    packet(CMSG_ITEM_PICKUP,              0x00a2,   7, clif->pTakeItem);
455
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  12, clif->pDropItem);
456
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
457
}
458
459
// 20050110
460
if (packetVersion >= 20050110)
461
{
462
    packet(CMSG_CHAT_MESSAGE,             0x00f3,  -1, clif->pGlobalMessage);
463
    packet(CMSG_CLOSE_STORAGE,            0x0193,   2, clif->pCloseKafra);
464
    packet(CMSG_MAP_PING,                 0x0089,   9, clif->pTickSend);
465
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  23, clif->pChangeDir);
466
    packet(CMSG_ITEM_PICKUP,              0x00f5,   9, clif->pTakeItem);
467
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  20, clif->pDropItem);
468
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  20, clif->pMoveToKafra);
469
}
470
471
// 20050328
472
if (packetVersion >= 20050328)
473
{
474
    packet(CMSG_TAEKWON_RANKS,            0x0225,   2, clif->pTaekwon);
475
}
476
477
// 20050425
478
if (packetVersion >= 20050425)
479
{
480
    packet(CMSG_HOMUNCULUS_MENU,          0x022d,   5, clif->pHomMenu);
481
}
482
483
// 20050509
484
if (packetVersion >= 20050509)
485
{
486
    packet(CMSG_MAP_PING,                 0x0089,   8, clif->pTickSend);
487
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
488
    packet(CMSG_ITEM_PICKUP,              0x00f5,   8, clif->pTakeItem);
489
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  10, clif->pDropItem);
490
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
491
}
492
493
// 20050530
494
if (packetVersion >= 20050530)
495
{
496
    packet(CMSG_PK_RANKS,                 0x0237,   2, clif->pRankingPk);
497
}
498
499
// 20050628
500
if (packetVersion >= 20050628)
501
{
502
    packet(CMSG_MAP_PING,                 0x0089,  13, clif->pTickSend);
503
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  17, clif->pChangeDir);
504
    packet(CMSG_ITEM_PICKUP,              0x00f5,  13, clif->pTakeItem);
505
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  12, clif->pDropItem);
506
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  31, clif->pMoveToKafra);
507
}
508
509
// 20050718
510
if (packetVersion >= 20050718)
511
{
512
    packet(CMSG_MAP_PING,                 0x0089,   7, clif->pTickSend);
513
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
514
    packet(CMSG_ITEM_PICKUP,              0x00f5,   7, clif->pTakeItem);
515
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  21, clif->pMoveToKafra);
516
}
517
518
// 20050719
519
if (packetVersion >= 20050719)
520
{
521
    packet(CMSG_MAP_PING,                 0x0089,  13, clif->pTickSend);
522
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  17, clif->pChangeDir);
523
    packet(CMSG_ITEM_PICKUP,              0x00f5,  13, clif->pTakeItem);
524
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  31, clif->pMoveToKafra);
525
}
526
527
// 20050817
528
if (packetVersion >= 20050817)
529
{
530
    packet(CMSG_SKILL_FEEL_SAVE_OK,       0x0254,   3, clif->pFeelSaveOk);
531
}
532
533
// 20060327
534
if (packetVersion >= 20060327)
535
{
536
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  12, clif->pChangeDir);
537
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  17, clif->pDropItem);
538
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  23, clif->pMoveToKafra);
539
}
540
541
// 20070108
542
if (packetVersion >= 20070108)
543
{
544
    packet(CMSG_MAP_PING,                 0x0089,  11, clif->pTickSend);
545
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  14, clif->pChangeDir);
546
    packet(CMSG_ITEM_PICKUP,              0x00f5,  11, clif->pTakeItem);
547
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  19, clif->pDropItem);
548
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  17, clif->pMoveToKafra);
549
}
550
551
// 20070212
552
if (packetVersion >= 20070212)
553
{
554
    packet(CMSG_MAP_PING,                 0x0089,   8, clif->pTickSend);
555
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
556
    packet(CMSG_ITEM_PICKUP,              0x00f5,   8, clif->pTakeItem);
557
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  10, clif->pDropItem);
558
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
559
}
560
561
// 20070227
562
if (packetVersion >= 20070227)
563
{
564
    packet(CMSG_PARTY_INVITE2,            0x02c4,  26, clif->pPartyInvite2);
565
    packet(CMSG_INSTANCE_COMMAND,         0x02cf,   6, clif->pMemorialDungeonCommand);
566
}
567
568
// 20080827
569
if (packetVersion >= 20080827)
570
{
571
    packet(CMSG_MAP_PING,                 0x0089,  11, clif->pTickSend);
572
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  10, clif->pChangeDir);
573
    packet(CMSG_ITEM_PICKUP,              0x00f5,  11, clif->pTakeItem);
574
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  17, clif->pDropItem);
575
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  19, clif->pMoveToKafra);
576
    packet(CMSG_PLAYER_CHANGE_DEST,       0x00a7,   9, clif->pWalkToXY);
577
    packet(CMSG_NAME_REQUEST,             0x008c,  14, clif->pGetCharNameRequest);
578
    packet(CMSG_SKILL_USE_POSITION,       0x0113,  25, clif->pUseSkillToPos);
579
    packet(CMSG_SOLVE_CHAR_NAME,          0x00a2,  14, clif->pSolveCharName);
580
    packet(CMSG_MOVE_FROM_STORAGE,        0x00f7,  17, clif->pMoveFromKafra);
581
}
582
583
// 20080910
584
if (packetVersion >= 20080910)
585
{
586
    packet(CMSG_MAP_SERVER_CONNECT,       0x0436,  19, clif->pWantToConnection);
587
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0437,   7, clif->pActionRequest);
588
    packet(CMSG_SKILL_USE_BEING,          0x0438,  10, clif->pUseSkillToId);
589
}
590
591
// 20081210
592
if (packetVersion >= 20081210)
593
{
594
    packet(CMSG_SKILL_SELECT_MENU,        0x0443,   8, clif->pSkillSelectMenu);
595
}
596
597
// 20090406
598
if (packetVersion >= 20090406)
599
{
600
    packet(CMSG_CLIENT_VERSION,           0x044a,   6, clif->pClientVersion);
601
}
602
603
// 20090520
604
if (packetVersion >= 20090520)
605
{
606
    packet(CMSG_MAP_BLOCK_PLAY_CANCEL,    0x0447,   2, clif->p_cz_blocking_play_cancel);
607
}
608
609
// 20090603
610
if (packetVersion >= 20090603)
611
{
612
    packet(CMSG_PARTY_SETTINGS,           0x07d7,   8, clif->pPartyChangeOption);
613
}
614
615
// 20091222
616
if (packetVersion >= 20091222)
617
{
618
    packet(CMSG_BOOKING_DELETE_REQ,       0x0806,   4, clif->pPartyBookingDeleteReq);
619
}
620
621
// 20091229
622
if (packetVersion >= 20091229)
623
{
624
    packet(CMSG_BOOKING_SEARCH_REQ,       0x0803,  14, clif->pPartyBookingSearchReq);
625
    packet(CMSG_BOOKING_DELETE_REQ,       0x0806,   2, clif->pPartyBookingDeleteReq);
626
    packet(CMSG_BOOKING_UPDATE_REQ,       0x0808,  14, clif->pPartyBookingUpdateReq);
627
}
628
629
// 20100303
630
if (packetVersion >= 20100303)
631
{
632
    packet(CMSG_BUYINGSTORE_CREATE,       0x0811,  -1, clif->pReqOpenBuyingStore);
633
}
634
635
// 20100420
636
if (packetVersion >= 20100420)
637
{
638
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0815,   2, clif->pReqCloseBuyingStore);
639
    packet(CMSG_BUYINGSTORE_SELL,         0x0819,  -1, clif->pReqTradeBuyingStore);
640
    packet(CMSG_BUYINGSTORE_OPEN,         0x0817,   6, clif->pReqClickBuyingStore);
641
}
642
643
// 20100601
644
if (packetVersion >= 20100601)
645
{
646
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0835,  -1, clif->pSearchStoreInfo);
647
}
648
649
// 20100608
650
if (packetVersion >= 20100608)
651
{
652
    packet(CMSG_SEARCHSTORE_CLICK,        0x083c,  12, clif->pSearchStoreInfoListItemClick);
653
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0838,   2, clif->pSearchStoreInfoNextPage);
654
    packet(CMSG_SEARCHSTORE_CLOSE,        0x083b,   2, clif->pCloseSearchStoreInfo);
655
}
656
657
// 20100803
658
if (packetVersion >= 20100803)
659
{
660
    packet(CMSG_ADMIN_RECALL2,            0x0842,   6, clif->pGMRecall2);
661
    packet(CMSG_ADMIN_REMOVE2,            0x0843,   6, clif->pGMRemove2);
662
}
663
664
// 20101124
665
if (packetVersion >= 20101124)
666
{
667
    packet(CMSG_MAP_PING,                 0x0360,   6, clif->pTickSend);
668
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0361,   5, clif->pChangeDir);
669
    packet(CMSG_ITEM_PICKUP,              0x0362,   6, clif->pTakeItem);
670
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0363,   6, clif->pDropItem);
671
    packet(CMSG_MOVE_TO_STORAGE,          0x0364,   8, clif->pMoveToKafra);
672
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0367,  90, clif->pUseSkillToPosMoreInfo);
673
    packet(CMSG_PLAYER_CHANGE_DEST,       0x035f,   5, clif->pWalkToXY);
674
    packet(CMSG_NAME_REQUEST,             0x0368,   6, clif->pGetCharNameRequest);
675
    packet(CMSG_SKILL_USE_POSITION,       0x0366,  10, clif->pUseSkillToPos);
676
    packet(CMSG_SOLVE_CHAR_NAME,          0x0369,   6, clif->pSolveCharName);
677
    packet(CMSG_MOVE_FROM_STORAGE,        0x0365,   8, clif->pMoveFromKafra);
678
    packet(CMSG_MAP_SERVER_CONNECT,       0x0436,  19, clif->pWantToConnection);
679
    packet(CMSG_NPC_CASH_SHOP_BUY,        0x0288,  -1, clif->pcashshop_buy);
680
}
681
682
// 20110614
683
if (packetVersion >= 20110614)
684
{
685
    packet(CMSG_NPC_CASH_SHOP_SCHEDULE,   0x08c9,   2, clif->pCashShopSchedule);
686
}
687
688
// 20110718
689
if (packetVersion >= 20110718)
690
{
691
    packet(CMSG_NPC_CASH_SHOP_CLOSE,      0x084a,   2, clif->pCashShopClose);
692
    packet(CMSG_NPC_CASH_SHOP_OPEN,       0x0844,   2, clif->pCashShopOpen);
693
    packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0846,  4, clif->pCashShopReqTab);
694
    packet(CMSG_NPC_CASH_SHOP_BUY1,       0x0848,  -1, clif->pCashShopBuy);
695
}
696
697
// 20111005
698
if (packetVersion >= 20111005)
699
{
700
    packet(CMSG_NAME_REQUEST,             0x088a,   6, clif->pGetCharNameRequest);
701
    packet(CMSG_MAP_PING,                 0x0817,   6, clif->pTickSend);
702
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0366,   5, clif->pChangeDir);
703
    packet(CMSG_ITEM_PICKUP,              0x0815,   6, clif->pTakeItem);
704
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0885,   6, clif->pDropItem);
705
    packet(CMSG_MOVE_TO_STORAGE,          0x0893,   8, clif->pMoveToKafra);
706
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x08ad,  90, clif->pUseSkillToPosMoreInfo);
707
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0364,   5, clif->pWalkToXY);
708
    packet(CMSG_SKILL_USE_POSITION,       0x0369,  10, clif->pUseSkillToPos);
709
    packet(CMSG_SOLVE_CHAR_NAME,          0x0838,   6, clif->pSolveCharName);
710
    packet(CMSG_MOVE_FROM_STORAGE,        0x0897,   8, clif->pMoveFromKafra);
711
    packet(CMSG_BATTLE_REGISTER,          0x08d7,  28, clif->pBGQueueRegister);
712
    packet(CMSG_BATTLE_REVOKE,            0x08da,  26, clif->pBGQueueRevokeReq);
713
    packet(CMSG_BATTLE_BEGIN_ACK,         0x08e0,  51, clif->pBGQueueBattleBeginAck);
714
    packet(CMSG_BATTLE_CHECK_STATE,       0x090a,  26, clif->pBGQueueCheckState);
715
}
716
717
// 20111102
718
if (packetVersion >= 20111102)
719
{
720
    packet(CMSG_SEARCHSTORE_SEARCH,       0x08ab,  -1, clif->pSearchStoreInfo);
721
    packet(CMSG_MAP_SERVER_CONNECT,       0x0835,  19, clif->pWantToConnection);  // non PACKETVER_RE
722
    packet(CMSG_MAP_SERVER_CONNECT,       0x083c,  19, clif->pWantToConnection);
723
    packet(CMSG_MAP_PING,                 0x0899,   6, clif->pTickSend);          // non PACKETVER_RE
724
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x088b,   2, clif->pSearchStoreInfoNextPage);
725
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0892,   5, clif->pWalkToXY);          // non PACKETVER_RE
726
    packet(CMSG_BUYINGSTORE_CLOSE,        0x089b,   2, clif->pReqCloseBuyingStore);
727
    packet(CMSG_PLAYER_CHANGE_ACT,        0x08aa,   7, clif->pActionRequest);
728
    packet(CMSG_BUYINGSTORE_SELL,         0x089e,  -1, clif->pReqTradeBuyingStore);
729
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0436,  26, clif->pFriendsListAdd);
730
    packet(CMSG_SEARCHSTORE_CLICK,        0x08a2,  12, clif->pSearchStoreInfoListItemClick);
731
    packet(CMSG_BUYINGSTORE_OPEN,         0x08a1,   6, clif->pReqClickBuyingStore);
732
    packet(CMSG_HOMUNCULUS_MENU,          0x0898,   5, clif->pHomMenu);
733
    packet(CMSG_BUYINGSTORE_CREATE,       0x0835,  -1, clif->pReqOpenBuyingStore);
734
    packet(CMSG_SKILL_USE_BEING,          0x02c4,  10, clif->pUseSkillToId);
735
    packet(CMSG_PARTY_INVITE2,            0x088d,  26, clif->pPartyInvite2);
736
    packet(CMSG_STORAGE_PASSWORD,         0x0281,  36, clif->pStoragePassword);
737
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0811,  -1, clif->pItemListWindowSelected);
738
}
739
740
// 20120307
741
if (packetVersion >= 20120307)
742
{
743
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
744
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
745
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0884,  -1, clif->pSearchStoreInfo);
746
    packet(CMSG_MAP_SERVER_CONNECT,       0x086A,  19, clif->pWantToConnection);
747
    packet(CMSG_CHAR_CREATE,              0x0970,  31, chr->parse_char_create_new_char);
748
    packet(CMSG_MAP_PING,                 0x0887,   6, clif->pTickSend);
749
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0890,   5, clif->pChangeDir);
750
    packet(CMSG_ITEM_PICKUP,              0x0865,   6, clif->pTakeItem);
751
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x02c4,   6, clif->pDropItem);
752
    packet(CMSG_MOVE_TO_STORAGE,          0x093b,   8, clif->pMoveToKafra);
753
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
754
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
755
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
756
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
757
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
758
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0885,   7, clif->pActionRequest);
759
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
760
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
761
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
762
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0369,  26, clif->pFriendsListAdd);
763
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
764
    packet(CMSG_MOVE_FROM_STORAGE,        0x0963,   8, clif->pMoveFromKafra);
765
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
766
    packet(CMSG_HOMUNCULUS_MENU,          0x0863,   5, clif->pHomMenu);
767
    packet(CMSG_SKILL_USE_BEING,          0x0889,  10, clif->pUseSkillToId);
768
    packet(CMSG_PARTY_INVITE2,            0x0929,  26, clif->pPartyInvite2);
769
    packet(CMSG_STORAGE_PASSWORD,         0x0861,  36, clif->pStoragePassword);
770
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0870,  -1, clif->pItemListWindowSelected);
771
}
772
773
// 20120410
774
if (packetVersion >= 20120410)
775
{
776
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
777
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
778
    packet(CMSG_MAP_SERVER_CONNECT,       0x094b,  19, clif->pWantToConnection);
779
    packet(CMSG_MAP_PING,                 0x0886,   6, clif->pTickSend);
780
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0871,   5, clif->pChangeDir);
781
    packet(CMSG_ITEM_PICKUP,              0x0938,   6, clif->pTakeItem);
782
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0891,   6, clif->pDropItem);
783
    packet(CMSG_MOVE_TO_STORAGE,          0x086c,   8, clif->pMoveToKafra);
784
    packet(CMSG_NAME_REQUEST,             0x0889,   6, clif->pGetCharNameRequest);
785
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
786
    packet(CMSG_SOLVE_CHAR_NAME,          0x0884,   6, clif->pSolveCharName);
787
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x089c,  26, clif->pFriendsListAdd);
788
    packet(CMSG_MOVE_FROM_STORAGE,        0x08a6,   8, clif->pMoveFromKafra);
789
    packet(CMSG_HOMUNCULUS_MENU,          0x0885,   5, clif->pHomMenu);
790
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
791
    packet(CMSG_PLAYER_FAVORITE_ITEM,     0x0907,   5, clif->pMoveItem);
792
    packet(CMSG_PARTY_INVITE2,            0x091c,  26, clif->pPartyInvite2);
793
    packet(CMSG_STORAGE_PASSWORD,         0x0961,  36, clif->pStoragePassword);
794
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0945,  -1, clif->pItemListWindowSelected);
795
}
796
797
// 20120418
798
if (packetVersion >= 20120418)
799
{
800
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
801
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
802
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
803
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
804
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
805
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
806
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
807
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
808
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
809
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
810
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
811
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
812
    packet(CMSG_GUILD_INVITE2,            0x0916,  26, clif->pGuildInvite2);
813
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
814
    packet(CMSG_STORAGE_PASSWORD,         0x08a8,  36, clif->pStoragePassword);
815
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
816
}
817
818
// 20120502
819
if (packetVersion >= 20120502)
820
{
821
    packet(CMSG_SELECT_CART,              0x0980,   7, clif->pSelectCart);
822
}
823
824
// 20120702
825
if (packetVersion >= 20120702)
826
{
827
    packet(CMSG_MAP_SERVER_CONNECT,       0x0363,  19, clif->pWantToConnection);
828
    packet(CMSG_MAP_PING,                 0x0364,   6, clif->pTickSend);
829
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0960,   5, clif->pChangeDir);
830
    packet(CMSG_ITEM_PICKUP,              0x089f,   6, clif->pTakeItem);
831
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x089e,   6, clif->pDropItem);
832
    packet(CMSG_MOVE_TO_STORAGE,          0x08a0,   8, clif->pMoveToKafra);
833
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0889,  90, clif->pUseSkillToPosMoreInfo);
834
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0953,   5, clif->pWalkToXY);
835
    packet(CMSG_NAME_REQUEST,             0x094a,   6, clif->pGetCharNameRequest);
836
    packet(CMSG_PLAYER_CHANGE_ACT,        0x085a,   7, clif->pActionRequest);
837
    packet(CMSG_SKILL_USE_POSITION,       0x0863,  10, clif->pUseSkillToPos);
838
    packet(CMSG_SOLVE_CHAR_NAME,          0x0886,   6, clif->pSolveCharName);
839
    packet(CMSG_MOVE_FROM_STORAGE,        0x0861,   8, clif->pMoveFromKafra);
840
    packet(CMSG_SKILL_USE_BEING,          0x0862,  10, clif->pUseSkillToId);
841
}
842
843
// 20120710
844
if (packetVersion >= 20120710)
845
{
846
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0886,   2, clif->pReqCloseBuyingStore);
847
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
848
}
849
850
// 20120716
851
if (packetVersion >= 20120716)
852
{
853
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0811,  -1, clif->pSearchStoreInfo);
854
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
855
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
856
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
857
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
858
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
859
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
860
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
861
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
862
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
863
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
864
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
865
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
866
    packet(CMSG_BUYINGSTORE_SELL,         0x0940,  -1, clif->pReqTradeBuyingStore);
867
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
868
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
869
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
870
    packet(CMSG_STORAGE_PASSWORD,         0x0819,  36, clif->pStoragePassword);
871
    packet(CMSG_CLAN_MESSAGE,             0x098d,  -1, clif->pClanMessage);
872
}
873
874
// 20120925
875
if (packetVersion >= 20120925)
876
{
877
    packet(CMSG_PLAYER_EQUIP,             0x0998,   8, clif->pEquipItem);
878
}
879
880
// 20130320
881
if (packetVersion >= 20130320)
882
{
883
    packet(CMSG_SEARCHSTORE_SEARCH,       0x094e,  -1, clif->pSearchStoreInfo);
884
    packet(CMSG_MAP_SERVER_CONNECT,       0x0888,  19, clif->pWantToConnection);
885
    packet(CMSG_MAP_PING,                 0x0363,   6, clif->pTickSend);
886
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0897,   5, clif->pChangeDir);
887
    packet(CMSG_ITEM_PICKUP,              0x0933,   6, clif->pTakeItem);
888
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0438,   6, clif->pDropItem);
889
    packet(CMSG_MOVE_TO_STORAGE,          0x08ac,   8, clif->pMoveToKafra);
890
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x085a,  90, clif->pUseSkillToPosMoreInfo);
891
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x092e,   2, clif->pSearchStoreInfoNextPage);
892
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0881,   5, clif->pWalkToXY);
893
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0886,   2, clif->pReqCloseBuyingStore);
894
    packet(CMSG_NAME_REQUEST,             0x0898,   6, clif->pGetCharNameRequest);
895
    packet(CMSG_PLAYER_CHANGE_ACT,        0x088e,   7, clif->pActionRequest);
896
    packet(CMSG_SKILL_USE_POSITION,       0x0959,  10, clif->pUseSkillToPos);
897
    packet(CMSG_BUYINGSTORE_SELL,         0x0922,  -1, clif->pReqTradeBuyingStore);
898
    packet(CMSG_SOLVE_CHAR_NAME,          0x094c,   6, clif->pSolveCharName);
899
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x086f,  26, clif->pFriendsListAdd);
900
    packet(CMSG_SEARCHSTORE_CLICK,        0x0365,  12, clif->pSearchStoreInfoListItemClick);
901
    packet(CMSG_MOVE_FROM_STORAGE,        0x0874,   8, clif->pMoveFromKafra);
902
    packet(CMSG_BUYINGSTORE_OPEN,         0x035f,   6, clif->pReqClickBuyingStore);
903
    packet(CMSG_HOMUNCULUS_MENU,          0x093f,   5, clif->pHomMenu);
904
    packet(CMSG_BUYINGSTORE_CREATE,       0x0938,  -1, clif->pReqOpenBuyingStore);
905
    packet(CMSG_SKILL_USE_BEING,          0x089b,  10, clif->pUseSkillToId);
906
    packet(CMSG_PARTY_INVITE2,            0x086d,  26, clif->pPartyInvite2);
907
    packet(CMSG_STORAGE_PASSWORD,         0x0947,  36, clif->pStoragePassword);
908
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0868,  -1, clif->pItemListWindowSelected);
909
}
910
911
// 20130320
912
if (packetVersion >= 20130320)
913
{
914
    packet(CMSG_BANK_DEPOSIT,             0x09a7,  10, clif->pBankDeposit);
915
    packet(CMSG_BANK_WITHDRAW,            0x09a9,  10, clif->pBankWithdraw);
916
    packet(CMSG_BANK_CHECK,               0x09ab,   6, clif->pBankCheck);
917
}
918
919
// 20130417
920
if (packetVersion >= 20130417)
921
{
922
    packet(CMSG_BANK_OPEN,                0x09b6,   6, clif->pBankOpen);
923
    packet(CMSG_BANK_CLOSE,               0x09b8,   6, clif->pBankClose);
924
}
925
926
// 20130515
927
if (packetVersion >= 20130515)
928
{
929
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
930
    packet(CMSG_MAP_SERVER_CONNECT,       0x0943,  19, clif->pWantToConnection);
931
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
932
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0362,   5, clif->pChangeDir);
933
    packet(CMSG_ITEM_PICKUP,              0x08a1,   6, clif->pTakeItem);
934
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0944,   6, clif->pDropItem);
935
    packet(CMSG_MOVE_TO_STORAGE,          0x0887,   8, clif->pMoveToKafra);
936
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
937
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
938
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
939
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
940
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
941
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
942
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
943
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
944
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
945
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0962,  26, clif->pFriendsListAdd);
946
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
947
    packet(CMSG_MOVE_FROM_STORAGE,        0x08ac,   8, clif->pMoveFromKafra);
948
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
949
    packet(CMSG_HOMUNCULUS_MENU,          0x0931,   5, clif->pHomMenu);
950
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
951
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
952
    packet(CMSG_PARTY_INVITE2,            0x0947,  26, clif->pPartyInvite2);
953
    packet(CMSG_STORAGE_PASSWORD,         0x093e,  36, clif->pStoragePassword);
954
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0963,  -1, clif->pItemListWindowSelected);
955
}
956
957
// 20130522
958
if (packetVersion >= 20130522)
959
{
960
    packet(CMSG_SEARCHSTORE_SEARCH,       0x095b,  -1, clif->pSearchStoreInfo);
961
    packet(CMSG_MAP_SERVER_CONNECT,       0x08a9,  19, clif->pWantToConnection);
962
    packet(CMSG_MAP_PING,                 0x07ec,   6, clif->pTickSend);
963
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0925,   5, clif->pChangeDir);
964
    packet(CMSG_ITEM_PICKUP,              0x095e,   6, clif->pTakeItem);
965
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x089c,   6, clif->pDropItem);
966
    packet(CMSG_MOVE_TO_STORAGE,          0x08a3,   8, clif->pMoveToKafra);
967
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0964,  90, clif->pUseSkillToPosMoreInfo);
968
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x08aa,   2, clif->pSearchStoreInfoNextPage);
969
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0360,   5, clif->pWalkToXY);
970
    packet(CMSG_BUYINGSTORE_CLOSE,        0x086e,   2, clif->pReqCloseBuyingStore);
971
    packet(CMSG_NAME_REQUEST,             0x08a6,   6, clif->pGetCharNameRequest);
972
    packet(CMSG_PLAYER_CHANGE_ACT,        0x08a2,   7, clif->pActionRequest);
973
    packet(CMSG_SKILL_USE_POSITION,       0x0811,  10, clif->pUseSkillToPos);
974
    packet(CMSG_BUYINGSTORE_SELL,         0x0952,  -1, clif->pReqTradeBuyingStore);
975
    packet(CMSG_SOLVE_CHAR_NAME,          0x0369,   6, clif->pSolveCharName);
976
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0362,  26, clif->pFriendsListAdd);
977
    packet(CMSG_SEARCHSTORE_CLICK,        0x093e,  12, clif->pSearchStoreInfoListItemClick);
978
    packet(CMSG_MOVE_FROM_STORAGE,        0x087e,   8, clif->pMoveFromKafra);
979
    packet(CMSG_BUYINGSTORE_OPEN,         0x0368,   6, clif->pReqClickBuyingStore);
980
    packet(CMSG_HOMUNCULUS_MENU,          0x0926,   5, clif->pHomMenu);
981
    packet(CMSG_BUYINGSTORE_CREATE,       0x0874,  -1, clif->pReqOpenBuyingStore);
982
    packet(CMSG_SKILL_USE_BEING,          0x095c,  10, clif->pUseSkillToId);
983
    packet(CMSG_PARTY_INVITE2,            0x0950,  26, clif->pPartyInvite2);
984
    packet(CMSG_STORAGE_PASSWORD,         0x088e,  36, clif->pStoragePassword);
985
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x086a,  -1, clif->pItemListWindowSelected);
986
}
987
988
// 20130529
989
if (packetVersion >= 20130529)
990
{
991
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0918,  -1, clif->pSearchStoreInfo);
992
    packet(CMSG_MAP_SERVER_CONNECT,       0x0919,  19, clif->pWantToConnection);
993
    packet(CMSG_MAP_PING,                 0x0897,   6, clif->pTickSend);
994
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0951,   5, clif->pChangeDir);
995
    packet(CMSG_ITEM_PICKUP,              0x0895,   6, clif->pTakeItem);
996
    packet(CMSG_MOVE_TO_STORAGE,          0x0938,   8, clif->pMoveToKafra);
997
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x085e,  90, clif->pUseSkillToPosMoreInfo);
998
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0941,   2, clif->pSearchStoreInfoNextPage);
999
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0876,   5, clif->pWalkToXY);
1000
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0964,   2, clif->pReqCloseBuyingStore);
1001
    packet(CMSG_NAME_REQUEST,             0x0863,   6, clif->pGetCharNameRequest);
1002
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0890,   7, clif->pActionRequest);
1003
    packet(CMSG_SKILL_USE_POSITION,       0x0917,  10, clif->pUseSkillToPos);
1004
    packet(CMSG_BUYINGSTORE_SELL,         0x0936,  -1, clif->pReqTradeBuyingStore);
1005
    packet(CMSG_SOLVE_CHAR_NAME,          0x0937,   6, clif->pSolveCharName);
1006
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0877,  26, clif->pFriendsListAdd);
1007
    packet(CMSG_SEARCHSTORE_CLICK,        0x085a,  12, clif->pSearchStoreInfoListItemClick);
1008
    packet(CMSG_MOVE_FROM_STORAGE,        0x0957,   8, clif->pMoveFromKafra);
1009
    packet(CMSG_BUYINGSTORE_OPEN,         0x0892,   6, clif->pReqClickBuyingStore);
1010
    packet(CMSG_HOMUNCULUS_MENU,          0x023b,   5, clif->pHomMenu);
1011
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x08a7,   6, clif->pDropItem);
1012
    packet(CMSG_BUYINGSTORE_CREATE,       0x0869,  -1, clif->pReqOpenBuyingStore);
1013
    packet(CMSG_SKILL_USE_BEING,          0x0438,  10, clif->pUseSkillToId);
1014
    packet(CMSG_PARTY_INVITE2,            0x08a8,  26, clif->pPartyInvite2);
1015
    packet(CMSG_STORAGE_PASSWORD,         0x0956,  36, clif->pStoragePassword);
1016
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0958,  -1, clif->pItemListWindowSelected);
1017
}
1018
1019
// 20130605
1020
if (packetVersion >= 20130605)
1021
{
1022
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
1023
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
1024
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
1025
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
1026
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
1027
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
1028
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
1029
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
1030
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
1031
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1032
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1033
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1034
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1035
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1036
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1037
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1038
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1039
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1040
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1041
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1042
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1043
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1044
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1045
    packet(CMSG_REQUEST_RANKS,            0x097c,   4, clif->pRanklist);
1046
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1047
    packet(CMSG_STORAGE_PASSWORD,         0x0883,  36, clif->pStoragePassword);
1048
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1049
}
1050
1051
// 20130612
1052
if (packetVersion >= 20130612)
1053
{
1054
    packet(CMSG_MAP_SERVER_CONNECT,       0x0919,  19, clif->pWantToConnection);
1055
    packet(CMSG_PLAYER_CHANGE_DIR,        0x087e,   5, clif->pChangeDir);
1056
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0940,  26, clif->pFriendsListAdd);
1057
    packet(CMSG_HOMUNCULUS_MENU,          0x093a,   5, clif->pHomMenu);
1058
    packet(CMSG_STORAGE_PASSWORD,         0x0964,  36, clif->pStoragePassword);
1059
}
1060
1061
// 20130618
1062
if (packetVersion >= 20130618)
1063
{
1064
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0281,  -1, clif->pSearchStoreInfo);
1065
    packet(CMSG_MAP_SERVER_CONNECT,       0x095b,  19, clif->pWantToConnection);
1066
    packet(CMSG_MAP_PING,                 0x0930,   6, clif->pTickSend);
1067
    packet(CMSG_PLAYER_CHANGE_DIR,        0x08a6,   5, clif->pChangeDir);
1068
    packet(CMSG_ITEM_PICKUP,              0x0962,   6, clif->pTakeItem);
1069
    packet(CMSG_MOVE_TO_STORAGE,          0x0885,   8, clif->pMoveToKafra);
1070
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x094f,  90, clif->pUseSkillToPosMoreInfo);
1071
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0363,   2, clif->pSearchStoreInfoNextPage);
1072
    packet(CMSG_PLAYER_CHANGE_DEST,       0x088e,   5, clif->pWalkToXY);
1073
    packet(CMSG_BUYINGSTORE_CLOSE,        0x085a,   2, clif->pReqCloseBuyingStore);
1074
    packet(CMSG_NAME_REQUEST,             0x0944,   6, clif->pGetCharNameRequest);
1075
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0889,   7, clif->pActionRequest);
1076
    packet(CMSG_SKILL_USE_POSITION,       0x096a,  10, clif->pUseSkillToPos);
1077
    packet(CMSG_BUYINGSTORE_SELL,         0x0891,  -1, clif->pReqTradeBuyingStore);
1078
    packet(CMSG_SOLVE_CHAR_NAME,          0x0945,   6, clif->pSolveCharName);
1079
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0953,  26, clif->pFriendsListAdd);
1080
    packet(CMSG_SEARCHSTORE_CLICK,        0x0890,  12, clif->pSearchStoreInfoListItemClick);
1081
    packet(CMSG_MOVE_FROM_STORAGE,        0x0936,   8, clif->pMoveFromKafra);
1082
    packet(CMSG_BUYINGSTORE_OPEN,         0x0862,   6, clif->pReqClickBuyingStore);
1083
    packet(CMSG_HOMUNCULUS_MENU,          0x02c4,   5, clif->pHomMenu);
1084
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0917,   6, clif->pDropItem);
1085
    packet(CMSG_BUYINGSTORE_CREATE,       0x0932,  -1, clif->pReqOpenBuyingStore);
1086
    packet(CMSG_SKILL_USE_BEING,          0x0951,  10, clif->pUseSkillToId);
1087
    packet(CMSG_PARTY_INVITE2,            0x0887,  26, clif->pPartyInvite2);
1088
    packet(CMSG_STORAGE_PASSWORD,         0x0864,  36, clif->pStoragePassword);
1089
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0942,  -1, clif->pItemListWindowSelected);
1090
}
1091
1092
// 20130626
1093
if (packetVersion >= 20130626)
1094
{
1095
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
1096
    packet(CMSG_MAP_SERVER_CONNECT,       0x088c,  19, clif->pWantToConnection);
1097
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
1098
    packet(CMSG_PLAYER_CHANGE_DIR,        0x094d,   5, clif->pChangeDir);
1099
    packet(CMSG_ITEM_PICKUP,              0x088b,   6, clif->pTakeItem);
1100
    packet(CMSG_MOVE_TO_STORAGE,          0x0921,   8, clif->pMoveToKafra);
1101
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
1102
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
1103
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1104
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0365,   2, clif->pReqCloseBuyingStore);
1105
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1106
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1107
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1108
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1109
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1110
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x08ab,  26, clif->pFriendsListAdd);
1111
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1112
    packet(CMSG_MOVE_FROM_STORAGE,        0x0817,   8, clif->pMoveFromKafra);
1113
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1114
    packet(CMSG_HOMUNCULUS_MENU,          0x0960,   5, clif->pHomMenu);
1115
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0952,   6, clif->pDropItem);
1116
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1117
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1118
    packet(CMSG_PARTY_INVITE2,            0x0895,  26, clif->pPartyInvite2);
1119
    packet(CMSG_STORAGE_PASSWORD,         0x0930,  36, clif->pStoragePassword);
1120
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x08a5,  -1, clif->pItemListWindowSelected);
1121
}
1122
1123
// 20130703
1124
if (packetVersion >= 20130703)
1125
{
1126
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
1127
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0930,   5, clif->pChangeDir);
1128
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
1129
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
1130
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1131
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0360,  26, clif->pFriendsListAdd);
1132
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1133
    packet(CMSG_BUYINGSTORE_OPEN,         0x0202,   6, clif->pReqClickBuyingStore);
1134
    packet(CMSG_HOMUNCULUS_MENU,          0x094a,   5, clif->pHomMenu);
1135
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
1136
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1137
    packet(CMSG_STORAGE_PASSWORD,         0x0873,  36, clif->pStoragePassword);
1138
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1139
}
1140
1141
// 20130807
1142
if (packetVersion >= 20130807)
1143
{
1144
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
1145
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1146
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1147
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1148
    packet(CMSG_STORAGE_PASSWORD,         0x0887,  36, clif->pStoragePassword);
1149
}
1150
1151
// 20130814
1152
if (packetVersion >= 20130814)
1153
{
1154
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0889,  -1, clif->pSearchStoreInfo);
1155
    packet(CMSG_MAP_SERVER_CONNECT,       0x0368,  19, clif->pWantToConnection);
1156
    packet(CMSG_MAP_PING,                 0x088a,   6, clif->pTickSend);
1157
    packet(CMSG_PLAYER_CHANGE_DIR,        0x088c,   5, clif->pChangeDir);
1158
    packet(CMSG_ITEM_PICKUP,              0x0926,   6, clif->pTakeItem);
1159
    packet(CMSG_MOVE_TO_STORAGE,          0x0202,   8, clif->pMoveToKafra);
1160
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0962,  90, clif->pUseSkillToPosMoreInfo);
1161
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0941,   2, clif->pSearchStoreInfoNextPage);
1162
    packet(CMSG_PLAYER_CHANGE_DEST,       0x093a,   5, clif->pWalkToXY);
1163
    packet(CMSG_BUYINGSTORE_CLOSE,        0x094e,   2, clif->pReqCloseBuyingStore);
1164
    packet(CMSG_NAME_REQUEST,             0x0937,   6, clif->pGetCharNameRequest);
1165
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0874,   7, clif->pActionRequest);
1166
    packet(CMSG_SKILL_USE_POSITION,       0x0887,  10, clif->pUseSkillToPos);
1167
    packet(CMSG_BUYINGSTORE_SELL,         0x0835,  -1, clif->pReqTradeBuyingStore);
1168
    packet(CMSG_SOLVE_CHAR_NAME,          0x0923,   6, clif->pSolveCharName);
1169
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0281,  26, clif->pFriendsListAdd);
1170
    packet(CMSG_SEARCHSTORE_CLICK,        0x0868,  12, clif->pSearchStoreInfoListItemClick);
1171
    packet(CMSG_MOVE_FROM_STORAGE,        0x0873,   8, clif->pMoveFromKafra);
1172
    packet(CMSG_BUYINGSTORE_OPEN,         0x0895,   6, clif->pReqClickBuyingStore);
1173
    packet(CMSG_HOMUNCULUS_MENU,          0x0958,   5, clif->pHomMenu);
1174
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x095f,   6, clif->pDropItem);
1175
    packet(CMSG_BUYINGSTORE_CREATE,       0x0936,  -1, clif->pReqOpenBuyingStore);
1176
    packet(CMSG_SKILL_USE_BEING,          0x0947,  10, clif->pUseSkillToId);
1177
    packet(CMSG_PARTY_INVITE2,            0x0927,  26, clif->pPartyInvite2);
1178
    packet(CMSG_STORAGE_PASSWORD,         0x0885,  36, clif->pStoragePassword);
1179
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x08a4,  -1, clif->pItemListWindowSelected);
1180
}
1181
1182
// 20130814
1183
if (packetVersion >= 20130814)
1184
{
1185
    packet(CMSG_ADMIN_MONSTER_ITEM,       0x09ce, 102, clif->pGM_Monster_Item);
1186
}
1187
1188
// 20131211
1189
if (packetVersion >= 20131211)
1190
{
1191
    packet(CMSG_MAIL2_CLOSE_MAILBOX,      0x09e9,   2, clif->pRodexCloseMailbox);
1192
}
1193
1194
// 20131218
1195
if (packetVersion >= 20131218)
1196
{
1197
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
1198
    packet(CMSG_MAP_SERVER_CONNECT,       0x092f,  19, clif->pWantToConnection);
1199
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
1200
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0947,   5, clif->pChangeDir);
1201
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
1202
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
1203
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
1204
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
1205
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1206
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1207
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1208
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1209
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1210
    packet(CMSG_BUYINGSTORE_SELL,         0x022d,  -1, clif->pReqTradeBuyingStore);
1211
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1212
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x08ab,  26, clif->pFriendsListAdd);
1213
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1214
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1215
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1216
    packet(CMSG_HOMUNCULUS_MENU,          0x0811,   5, clif->pHomMenu);
1217
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
1218
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1219
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1220
    packet(CMSG_NPC_SHOP_CLOSE,           0x09d4,   2, clif->pNPCShopClosed);
1221
    packet(CMSG_NPC_MARKET_BUY,           0x09d6,  -1, clif->pNPCMarketPurchase);
1222
    packet(CMSG_NPC_MARKET_CLOSE,         0x09d8,   2, clif->pNPCMarketClosed);
1223
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1224
    packet(CMSG_STORAGE_PASSWORD,         0x085c,  36, clif->pStoragePassword);
1225
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1226
}
1227
if (packetVersion >= 20131218)
1228
{
1229
    packet(CMSG_MAIL2_NEXT_PAGE,          0x09ee,  11, clif->pRodexNextMaillist);
1230
    packet(CMSG_MAIL2_DELETE_MAIL,        0x09f5,  11, clif->pRodexDeleteMail);
1231
    packet(CMSG_MAIL2_REFRESH_MAIL_LIST,  0x09ef,  11, clif->pRodexRefreshMaillist);
1232
}
1233
1234
// 20131223
1235
if (packetVersion >= 20131223)
1236
{
1237
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
1238
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
1239
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1240
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1241
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1242
    packet(CMSG_STORAGE_PASSWORD,         0x08a4,  36, clif->pStoragePassword);
1243
}
1244
1245
if (packetVersion >= 20131223)
1246
{
1247
    packet(CMSG_MAIL2_READ_MAIL,          0x09ea,  11, clif->pRodexReadMail);
1248
}
1249
1250
// 20131230
1251
if (packetVersion >= 20131230)
1252
{
1253
    packet(CMSG_BUYINGSTORE_CREATE,       0x0365,  -1, clif->pReqOpenBuyingStore);
1254
    packet(CMSG_BUYINGSTORE_SELL,         0x087f,  -1, clif->pReqTradeBuyingStore);
1255
    packet(CMSG_SEARCHSTORE_SEARCH,       0x093d,  -1, clif->pSearchStoreInfo);
1256
    packet(CMSG_BUYINGSTORE_CLOSE,        0x094c,   2, clif->pReqCloseBuyingStore);
1257
    packet(CMSG_HOMUNCULUS_MENU,          0x0949,   5, clif->pHomMenu);
1258
    packet(CMSG_SEARCHSTORE_CLICK,        0x087b,  12, clif->pSearchStoreInfoListItemClick);
1259
    packet(CMSG_BUYINGSTORE_OPEN,         0x0969,   6, clif->pReqClickBuyingStore);
1260
    packet(CMSG_SKILL_USE_BEING,          0x02C4,  10, clif->pUseSkillToId);
1261
    packet(CMSG_NAME_REQUEST,             0x0926,   6, clif->pGetCharNameRequest);
1262
    packet(CMSG_PLAYER_CHANGE_DIR,        0x094A,   5, clif->pChangeDir);
1263
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0860,   6, clif->pDropItem);
1264
    packet(CMSG_SKILL_USE_POSITION,       0x091E,  10, clif->pUseSkillToPos);
1265
    packet(CMSG_ITEM_PICKUP,              0x092A,   6, clif->pTakeItem);
1266
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0369,   2, clif->pSearchStoreInfoNextPage);
1267
    packet(CMSG_MOVE_TO_STORAGE,          0x0968,   8, clif->pMoveToKafra);
1268
    packet(CMSG_PLAYER_CHANGE_DEST,       0x035f,   5, clif->pWalkToXY);
1269
    packet(CMSG_MAP_PING,                 0x0438,   6, clif->pTickSend);
1270
    packet(CMSG_MOVE_FROM_STORAGE,        0x0895,   8, clif->pMoveFromKafra);
1271
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0871,   7, clif->pActionRequest);
1272
    packet(CMSG_MAP_SERVER_CONNECT,       0x089c,  19, clif->pWantToConnection);
1273
    packet(CMSG_PARTY_INVITE2,            0x08a9,  26, clif->pPartyInvite2);
1274
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0943,  26, clif->pFriendsListAdd);
1275
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x096a,  90, clif->pUseSkillToPosMoreInfo);
1276
    packet(CMSG_SOLVE_CHAR_NAME,          0x0898,   6, clif->pSolveCharName);
1277
    packet(CMSG_STORAGE_PASSWORD,         0x091d,  36, clif->pStoragePassword);
1278
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x022d,  -1, clif->pItemListWindowSelected);
1279
}
1280
1281
/////////////////////////////////////////////////////
1282
//                                                 //
1283
// next is separated packets from shuffle packets. //
1284
//                                                 //
1285
/////////////////////////////////////////////////////
1286
1287
1288
// 20131230
1289
if (packetVersion >= 20131230)
1290
{
1291
    packet(CMSG_MAIL2_SEND_MAIL,          0x09ec,  -1, clif->pRodexSendMail);
1292
}
1293
1294
// 20140122
1295
if (packetVersion >= 20140122)
1296
{
1297
    packet(CMSG_PET_EVOLUTION,            0x09fb,  -1, clif->pPetEvolution);
1298
}
1299
1300
// 20140129
1301
if (packetVersion >= 20140129)
1302
{
1303
    packet(CMSG_SHORTCUTS_ROW_SHIFT,      0x0a01,   3, clif->pHotkeyRowShift1);
1304
}
1305
1306
// 20140212
1307
if (packetVersion >= 20140212)
1308
{
1309
    packet(CMSG_MAIL2_OPEN_MAILBOX,       0x09e8,  11, clif->pRodexOpenMailbox);
1310
}
1311
1312
// 20140326
1313
if (packetVersion >= 20140326)
1314
{
1315
    packet(CMSG_MAIL2_REQUEST_MONEY,      0x09f1,  11, clif->pRodexRequestZeny);
1316
    packet(CMSG_MAIL2_REQUEST_ITEMS,      0x09f3,  11, clif->pRodexRequestItems);
1317
    packet(CMSG_MAIL2_CANCEL_WRITE_MAIL,  0x0a03,   2, clif->pRodexCancelWriteMail);
1318
}
1319
1320
// 20140416
1321
if (packetVersion >= 20140416)
1322
{
1323
    packet(CMSG_MAIL2_OPEN_WRITE_MAIL,    0x0a08,  26, clif->pRodexOpenWriteMail);
1324
    packet(CMSG_MAIL2_ADD_ITEM_TO_MAIL,   0x0a04,   6, clif->pRodexAddItem);
1325
    packet(CMSG_MAIL2_REMOVE_ITEM_MAIL,   0x0a06,   6, clif->pRodexRemoveItem);
1326
}
1327
1328
// 20140423
1329
if (packetVersion >= 20140423)
1330
{
1331
    packet(CMSG_MAIL2_CHECK_NAME,         0x0a13,  26, clif->pRodexCheckName);
1332
}
1333
1334
// 20140605
1335
if (packetVersion >= 20140605)
1336
{
1337
    packet(CMSG_ROULETTE_OPEN,            0x0a19,  -1, clif->pRouletteOpen);
1338
    packet(CMSG_ROULETTE_INFO,            0x0a1b,   2, clif->pRouletteInfo);
1339
    packet(CMSG_ROULETTE_CLOSE,           0x0a1d,  14, clif->pRouletteClose);
1340
}
1341
1342
// 20140611
1343
if (packetVersion >= 20140611)
1344
{
1345
// new packets
1346
    packet(CMSG_ROULETTE_GENERATE,        0x0a1f,   2, clif->pRouletteGenerate);
1347
    packet(CMSG_ROULETTE_RECV_ITEM,       0x0a21,   6, clif->pRouletteRecvItem);
1348
    packet(CMSG_ACHIEVEMENT_GET_REWARD,   0x0a25,   6, clif->pAchievementGetReward);
1349
// changed packets
1350
    packet(CMSG_ROULETTE_OPEN,            0x0a19,   2, clif->pRouletteOpen);
1351
    packet(CMSG_ROULETTE_CLOSE,           0x0a1d,   2, clif->pRouletteClose);
1352
}
1353
1354
// 20140618
1355
if (packetVersion >= 20140618)
1356
{
1357
    packet(CMSG_ROULETTE_RECV_ITEM,       0x0a21,   3, clif->pRouletteRecvItem);
1358
}
1359
1360
// 20140903
1361
if (packetVersion >= 20140903)
1362
{
1363
    packet(CMSG_PLAYER_SET_TITLE,         0x0a2e,   6, clif->pChangeTitle);
1364
}
1365
1366
// 20141119
1367
if (packetVersion >= 20141119)
1368
{
1369
    packet(CMSG_QUICK_IDENTIFY_ITEM,      0x0a35,   4, clif->pOneClick_ItemIdentify);
1370
}
1371
1372
// 20151001
1373
if (packetVersion >= 20151001)
1374
{
1375
    packet(CMSG_CHAR_CREATE,              0x0a39,  36, chr->parse_char_create_new_char);
1376
}
1377
1378
// 20151104
1379
if (packetVersion >= 20151104)
1380
{
1381
    packet(CMSG_PLAYER_SELECT_STYLE,      0x0a46,  14, clif->pReqStyleChange);
1382
    packet(CMSG_PLAYER_STYLE_CLOSE,       0x0a48,  2, clif->pStyleClose);
1383
}
1384
1385
// 20160323
1386
if (packetVersion >= 20160323)
1387
{
1388
    packet(CMSG_WINDOW_OPEN_REQUEST2,     0x0a68,   3, clif->pOpenUIRequest);
1389
}
1390
1391
// 20160330
1392
if (packetVersion >= 20160330)
1393
{
1394
    packet(CMSG_MAIL2_SEND_MAIL,          0x0a6e,  -1, clif->pRodexSendMail);
1395
}
1396
1397
// 20160525
1398
if (packetVersion >= 20160525)
1399
{
1400
    packet(CMSG_CAMERA_INFO,              0x0a77,  15, clif->pCameraInfo);
1401
}
1402
1403
// 20161005 main
1404
if (packetVersionMain >= 20161005)
1405
{
1406
    packet(CMSG_REFINE_ADD_ITEM,          0x0aa1,   4, clif->pAddItemRefineryUI);
1407
    packet(CMSG_REFINE_ITEM,              0x0aa3,   7, clif->pRefineryUIRefine);
1408
    packet(CMSG_REFINE_CLOSE,             0x0aa4,   2, clif->pRefineryUIClose);
1409
}
1410
1411
// 20161005 re
1412
if (packetVersionRe >= 20161005)
1413
{
1414
    packet(CMSG_REFINE_ADD_ITEM,          0x0aa1,   4, clif->pAddItemRefineryUI);
1415
    packet(CMSG_REFINE_ITEM,              0x0aa3,   7, clif->pRefineryUIRefine);
1416
    packet(CMSG_REFINE_CLOSE,             0x0aa4,   2, clif->pRefineryUIClose);
1417
}
1418
1419
// 20170419
1420
if (packetVersion >= 20170419)
1421
{
1422
    packet(CMSG_MAIL2_OPEN_MAILBOX,       0x0ac0,  26, clif->pRodexOpenMailbox);
1423
    packet(CMSG_MAIL2_REFRESH_MAIL_LIST,  0x0ac1,  26, clif->pRodexRefreshMaillist);
1424
}
1425
1426
// zero
1427
if (packets_zero >= true)
1428
{
1429
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  20, clif->pPrivateAirshipRequest);
1430
    packet(CMSG_REFINE_ADD_ITEM,          0x0aa1,   4, clif->pAddItemRefineryUI);
1431
    packet(CMSG_REFINE_ITEM,              0x0aa3,   7, clif->pRefineryUIRefine);
1432
    packet(CMSG_REFINE_CLOSE,             0x0aa4,   2, clif->pRefineryUIClose);
1433
}
1434
1435
// 20171214 zero
1436
if (packetVersionZero >= 20171214)
1437
{
1438
    packet(CMSG_CHANGE_DRESS,             0x0ae8,   2, clif->pChangeDress);
1439
}
1440
1441
// 20171220
1442
if (packetVersion >= 20171220)
1443
{
1444
    packet(CMSG_CHANGE_DRESS,             0x0ae8,   2, clif->pChangeDress);
1445
}
1446
1447
// zero 20180131
1448
if (packetVersionZero >= 20180131)
1449
{
1450
    packet(CMSG_SKILL_USE_POSITION,       0x0af4,  11, clif->pUseSkillToPos);
1451
}
1452
1453
// 20180207
1454
if (packetVersion >= 20180207)
1455
{
1456
    packet(CMSG_SKILL_USE_POSITION,       0x0af4,  11, clif->pUseSkillToPos);
1457
}
1458
1459
// re 20180307
1460
if (packetVersionRe >= 20180307)
1461
{
1462
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1463
}
1464
1465
// re 20180321
1466
if (packetVersionRe >= 20180321)
1467
{
1468
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  20, clif->pPrivateAirshipRequest);
1469
}
1470
1471
// main 20180620
1472
if (packetVersionMain >= 20180620)
1473
{
1474
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  20, clif->pPrivateAirshipRequest);
1475
}
1476
1477
// main 20180404
1478
if (packetVersionMain >= 20180404)
1479
{
1480
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1481
}
1482
1483
// zero 20180411
1484
if (packetVersionZero >= 20180411)
1485
{
1486
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1487
}
1488
1489
// 20180516 main
1490
if (packetVersionMain >= 20180516)
1491
{
1492
    packet(CMSG_PLAYER_SELECT_STYLE2,     0x0afc,  16, clif->pReqStyleChange2);
1493
}
1494
1495
// 20180516 re
1496
if (packetVersionRe >= 20180516)
1497
{
1498
    packet(CMSG_PLAYER_SELECT_STYLE2,     0x0afc,  16, clif->pReqStyleChange2);
1499
}
1500
1501
// 20180523 zero
1502
if (packetVersionZero >= 20180523)
1503
{
1504
    packet(CMSG_PLAYER_SELECT_STYLE2,     0x0afc,  16, clif->pReqStyleChange2);
1505
}
1506
1507
// 20180704 re
1508
if (packetVersionRe >= 20180704)
1509
{
1510
    packet(CMSG_NPC_PRODUCE_MIX,          0x018e,  18, clif->pProduceMix);
1511
    packet(CMSG_NPC_SELECT_ARROW,         0x01ae,   6, clif->pSelectArrow);
1512
    packet(CMSG_NPC_REPAIR,               0x01fd,  25, clif->pRepairItem);
1513
    packet(CMSG_NPC_COOKING,              0x025b,   8, clif->pCooking);
1514
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  22, clif->pPrivateAirshipRequest);
1515
    packet(CMSG_REFINE_ITEM,              0x0aa3,   9, clif->pRefineryUIRefine);
1516
}
1517
1518
// 20180718 re
1519
if (packetVersionRe >= 20180718)
1520
{
1521
    packet(CMSG_PLAYER_SELECT_STYLE,      0x0afc,  16, clif->pReqStyleChange);
1522
}
1523
1524
// 20181002 main
1525
if (packetVersionMain >= 20181002)
1526
{
1527
    packet(CMSG_SKILL_USE_BEING_START,    0x0b10,  10, clif->pStartUseSkillToId);
1528
    packet(CMSG_SKILL_USE_BEING_STOP,     0x0b11,   4, clif->pStopUseSkillToId);
1529
}
1530
1531
// 20181002 re
1532
if (packetVersionRe >= 20181002)
1533
{
1534
    packet(CMSG_SKILL_USE_BEING_START,    0x0b10,  10, clif->pStartUseSkillToId);
1535
    packet(CMSG_SKILL_USE_BEING_STOP,     0x0b11,   4, clif->pStopUseSkillToId);
1536
}
1537
1538
// 20181010 zero
1539
if (packetVersionZero >= 20181010)
1540
{
1541
    packet(CMSG_SKILL_USE_BEING_START,    0x0b10,  10, clif->pStartUseSkillToId);
1542
    packet(CMSG_SKILL_USE_BEING_STOP,     0x0b11,   4, clif->pStopUseSkillToId);
1543
}
1544
1545
// 20181031 main
1546
if (packetVersionMain >= 20181031)
1547
{
1548
    packet(CMSG_INVENTORY_EXPAND,         0x0b14,   2, clif->pInventoryExpansion);
1549
    packet(CMSG_INVENTORY_EXPAND_CONFIRM, 0x0b16,   2, clif->pInventoryExpansionConfirm);
1550
    packet(CMSG_INVENTORY_EXPAND_REJECT,  0x0b19,   2, clif->pInventoryExpansionReject);
1551
}
1552
1553
// 20181031 re
1554
if (packetVersionRe >= 20181031)
1555
{
1556
    packet(CMSG_INVENTORY_EXPAND,         0x0b14,   2, clif->pInventoryExpansion);
1557
    packet(CMSG_INVENTORY_EXPAND_CONFIRM, 0x0b16,   2, clif->pInventoryExpansionConfirm);
1558
    packet(CMSG_INVENTORY_EXPAND_REJECT,  0x0b19,   2, clif->pInventoryExpansionReject);
1559
}
1560
1561
// 20181114 main
1562
if (packetVersionMain >= 20181114)
1563
{
1564
    packet(CMSG_LOGIN_MOBILE_OTP,         0x09a3,  -1, lclif->p->parse_CA_ACK_MOBILE_OTP);
1565
    packet(CMSG_LOGIN_OTP_CODE,           0x0ad0,  11, lclif->p->parse_CA_OTP_CODE);
1566
}
1567
1568
// 20181114 re
1569
if (packetVersionRe >= 20181114)
1570
{
1571
    packet(CMSG_LOGIN_MOBILE_OTP,         0x09a3,  -1, lclif->p->parse_CA_ACK_MOBILE_OTP);
1572
    packet(CMSG_LOGIN_OTP_CODE,           0x0ad0,  11, lclif->p->parse_CA_OTP_CODE);
1573
}
1574
1575
// 20181114 zero
1576
if (packetVersionZero >= 20181114)
1577
{
1578
    packet(CMSG_INVENTORY_EXPAND,         0x0b14,   2, clif->pInventoryExpansion);
1579
    packet(CMSG_INVENTORY_EXPAND_CONFIRM, 0x0b16,   2, clif->pInventoryExpansionConfirm);
1580
    packet(CMSG_INVENTORY_EXPAND_REJECT,  0x0b19,   2, clif->pInventoryExpansionReject);
1581
    packet(CMSG_NPC_SELECT_ARROW,         0x01ae,   6, clif->pSelectArrow);
1582
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  22, clif->pPrivateAirshipRequest);
1583
    packet(CMSG_REFINE_ITEM,              0x0aa3,   9, clif->pRefineryUIRefine);
1584
}
1585
1586
// 20181121 main
1587
if (packetVersionMain >= 20181121)
1588
{
1589
    packet(CMSG_NPC_SELECT_ARROW,         0x01ae,   6, clif->pSelectArrow);
1590
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  22, clif->pPrivateAirshipRequest);
1591
    packet(CMSG_REFINE_ITEM,              0x0aa3,   9, clif->pRefineryUIRefine);
1592
}
1593
1594
// 20181226 zero
1595
if (packetVersionZero >= 20181226)
1596
{
1597
    packet(CMSG_NPC_BARTER_CLOSE,         0x0b12,   2, clif->pNPCBarterClosed);
1598
    packet(CMSG_NPC_BARTER_BUY,           0x0b0f,  -1, clif->pNPCBarterPurchase);
1599
}
1600
1601
// 20190116 main
1602
if (packetVersionMain >= 20190116)
1603
{
1604
    packet(CMSG_NPC_BARTER_CLOSE,         0x0b12,   2, clif->pNPCBarterClosed);
1605
    packet(CMSG_NPC_BARTER_BUY,           0x0b0f,  -1, clif->pNPCBarterPurchase);
1606
}
1607
1608
// 20190116 re
1609
if (packetVersionRe >= 20190116)
1610
{
1611
    packet(CMSG_NPC_BARTER_CLOSE,         0x0b12,   2, clif->pNPCBarterClosed);
1612
    packet(CMSG_NPC_BARTER_BUY,           0x0b0f,  -1, clif->pNPCBarterPurchase);
1613
}
1614
1615
//20190220 re
1616
if (packetVersionRe >= 20190220)
1617
{
1618
    packet(CMSG_MAP_PING2,                0x0b1c,   2, clif->pPing);
1619
}
1620
1621
//20190220 zero
1622
if (packetVersionZero >= 20190220)
1623
{
1624
    packet(CMSG_MAP_PING2,                0x0b1c,   2, clif->pPing);
1625
}
1626
1627
//20190227 main
1628
if (packetVersionMain >= 20190227)
1629
{
1630
    packet(CMSG_MAP_PING2,                0x0b1c,   2, clif->pPing);
1631
}
1632
1633
// 20190508 re
1634
if (packetVersionRe >= 20190508)
1635
{
1636
    packet(CMSG_SET_SHORTCUTS,            0x0b21,  13, clif->pHotkey2);
1637
    packet(CMSG_SHORTCUTS_ROW_SHIFT,      0x0b22,   3, clif->pHotkeyRowShift2);
1638
}
1639
1640
// 20190522 main
1641
if (packetVersionMain >= 20190522)
1642
{
1643
    packet(CMSG_SET_SHORTCUTS,            0x0b21,  13, clif->pHotkey2);
1644
    packet(CMSG_SHORTCUTS_ROW_SHIFT,      0x0b22,   3, clif->pHotkeyRowShift2);
1645
}
1646
1647
// 20190605 zero
1648
if (packetVersionZero >= 20190605)
1649
{
1650
    packet(CMSG_SET_SHORTCUTS,            0x0b21,  13, clif->pHotkey2);
1651
    packet(CMSG_SHORTCUTS_ROW_SHIFT,      0x0b22,   3, clif->pHotkeyRowShift2);
1652
}
1653
1654
// 20160622
1655
if (packetVersion >= 20160622)
1656
{
1657
    packet(CMSG_ADMIN_RESET_COOLDOWNS,    0x0a88,   2, clif->pResetCooldown);
1658
}
1659
1660
#endif