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