GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/eathena/packetsout.inc Lines: 12 898 1.3 %
Date: 2018-09-20 Branches: 0 184 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_PET_EVOLUTION,                0x0000,   0, nullptr);
340
#else
341
// 20040713
342
if (packetVersion >= 20040713)
343
{
344
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009b,  13, clif->pChangeDir);
345
    packet(CMSG_ITEM_PICKUP,              0x009f,  10, clif->pTakeItem);
346
}
347
348
// 20040726
349
if (packetVersion >= 20040726)
350
{
351
    packet(CMSG_CHAT_MESSAGE,             0x00f3,  -1, clif->pGlobalMessage);
352
    packet(CMSG_MAP_PING,                 0x00f7,  10, clif->pTickSend);
353
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009f,  13, clif->pChangeDir);
354
    packet(CMSG_ITEM_PICKUP,              0x0094,  10, clif->pTakeItem);
355
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0072,  14, clif->pDropItem);
356
    packet(CMSG_MOVE_TO_STORAGE,          0x0113,  16, clif->pMoveToKafra);
357
}
358
359
// 20040809
360
if (packetVersion >= 20040809)
361
{
362
    packet(CMSG_MAP_PING,                 0x00f7,  13, clif->pTickSend);
363
    packet(CMSG_PLAYER_CHANGE_DIR,        0x009f,  12, clif->pChangeDir);
364
    packet(CMSG_ITEM_PICKUP,              0x0094,  13, clif->pTakeItem);
365
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0072,  17, clif->pDropItem);
366
    packet(CMSG_MOVE_TO_STORAGE,          0x0113,  23, clif->pMoveToKafra);
367
}
368
369
// 20040906
370
if (packetVersion >= 20040906)
371
{
372
    packet(CMSG_CHAT_MESSAGE,             0x009f,  -1, clif->pGlobalMessage);
373
    packet(CMSG_MAP_PING,                 0x0116,  11, clif->pTickSend);
374
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  10, clif->pChangeDir);
375
    packet(CMSG_ITEM_PICKUP,              0x0113,  11, clif->pTakeItem);
376
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  17, clif->pDropItem);
377
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  19, clif->pMoveToKafra);
378
}
379
380
// 20040920
381
if (packetVersion >= 20040920)
382
{
383
    packet(CMSG_MAP_PING,                 0x0116,  14, clif->pTickSend);
384
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  18, clif->pChangeDir);
385
    packet(CMSG_ITEM_PICKUP,              0x0113,  14, clif->pTakeItem);
386
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  19, clif->pDropItem);
387
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  25, clif->pMoveToKafra);
388
}
389
390
// 20041005
391
if (packetVersion >= 20041005)
392
{
393
    packet(CMSG_MAP_PING,                 0x0116,  10, clif->pTickSend);
394
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  13, clif->pChangeDir);
395
    packet(CMSG_ITEM_PICKUP,              0x0113,  10, clif->pTakeItem);
396
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  14, clif->pDropItem);
397
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  16, clif->pMoveToKafra);
398
}
399
400
// 20041025
401
if (packetVersion >= 20041025)
402
{
403
    packet(CMSG_MAP_PING,                 0x0116,   9, clif->pTickSend);
404
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,  15, clif->pChangeDir);
405
    packet(CMSG_ITEM_PICKUP,              0x0113,   9, clif->pTakeItem);
406
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0094,  12, clif->pDropItem);
407
    packet(CMSG_MOVE_TO_STORAGE,          0x007e,  13, clif->pMoveToKafra);
408
}
409
410
// 20041108
411
if (packetVersion >= 20041108)
412
{
413
    packet(CMSG_ALCHEMIST_RANKS,          0x0218,   2, clif->pAlchemist);
414
    packet(CMSG_BLACKSMITH_RANKS,         0x0217,   2, clif->pBlacksmith);
415
}
416
417
// 20041115
418
if (packetVersion >= 20041115)
419
{
420
    packet(CMSG_PLAYER_LESS_EFFECTS,      0x021d,   6, clif->pLessEffect);
421
}
422
423
// 20041129
424
if (packetVersion >= 20041129)
425
{
426
    packet(CMSG_CHAT_MESSAGE,             0x0085,  -1, clif->pGlobalMessage);
427
    packet(CMSG_MAP_PING,                 0x0089,   7, clif->pTickSend);
428
    packet(CMSG_PLAYER_CHANGE_DIR,        0x00f3,   8, clif->pChangeDir);
429
    packet(CMSG_ITEM_PICKUP,              0x00a2,   7, clif->pTakeItem);
430
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  12, clif->pDropItem);
431
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
432
}
433
434
// 20050110
435
if (packetVersion >= 20050110)
436
{
437
    packet(CMSG_CHAT_MESSAGE,             0x00f3,  -1, clif->pGlobalMessage);
438
    packet(CMSG_CLOSE_STORAGE,            0x0193,   2, clif->pCloseKafra);
439
    packet(CMSG_MAP_PING,                 0x0089,   9, clif->pTickSend);
440
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  23, clif->pChangeDir);
441
    packet(CMSG_ITEM_PICKUP,              0x00f5,   9, clif->pTakeItem);
442
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  20, clif->pDropItem);
443
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  20, clif->pMoveToKafra);
444
}
445
446
// 20050328
447
if (packetVersion >= 20050328)
448
{
449
    packet(CMSG_TAEKWON_RANKS,            0x0225,   2, clif->pTaekwon);
450
}
451
452
// 20050425
453
if (packetVersion >= 20050425)
454
{
455
    packet(CMSG_HOMUNCULUS_MENU,          0x022d,   5, clif->pHomMenu);
456
}
457
458
// 20050509
459
if (packetVersion >= 20050509)
460
{
461
    packet(CMSG_MAP_PING,                 0x0089,   8, clif->pTickSend);
462
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
463
    packet(CMSG_ITEM_PICKUP,              0x00f5,   8, clif->pTakeItem);
464
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  10, clif->pDropItem);
465
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
466
}
467
468
// 20050530
469
if (packetVersion >= 20050530)
470
{
471
    packet(CMSG_PK_RANKS,                 0x0237,   2, clif->pRankingPk);
472
}
473
474
// 20050628
475
if (packetVersion >= 20050628)
476
{
477
    packet(CMSG_MAP_PING,                 0x0089,  13, clif->pTickSend);
478
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  17, clif->pChangeDir);
479
    packet(CMSG_ITEM_PICKUP,              0x00f5,  13, clif->pTakeItem);
480
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  12, clif->pDropItem);
481
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  31, clif->pMoveToKafra);
482
}
483
484
// 20050718
485
if (packetVersion >= 20050718)
486
{
487
    packet(CMSG_MAP_PING,                 0x0089,   7, clif->pTickSend);
488
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
489
    packet(CMSG_ITEM_PICKUP,              0x00f5,   7, clif->pTakeItem);
490
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  21, clif->pMoveToKafra);
491
}
492
493
// 20050719
494
if (packetVersion >= 20050719)
495
{
496
    packet(CMSG_MAP_PING,                 0x0089,  13, clif->pTickSend);
497
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  17, clif->pChangeDir);
498
    packet(CMSG_ITEM_PICKUP,              0x00f5,  13, clif->pTakeItem);
499
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  31, clif->pMoveToKafra);
500
}
501
502
// 20050817
503
if (packetVersion >= 20050817)
504
{
505
    packet(CMSG_SKILL_FEEL_SAVE_OK,       0x0254,   3, clif->pFeelSaveOk);
506
}
507
508
// 20060327
509
if (packetVersion >= 20060327)
510
{
511
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  12, clif->pChangeDir);
512
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  17, clif->pDropItem);
513
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  23, clif->pMoveToKafra);
514
}
515
516
// 20070108
517
if (packetVersion >= 20070108)
518
{
519
    packet(CMSG_MAP_PING,                 0x0089,  11, clif->pTickSend);
520
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  14, clif->pChangeDir);
521
    packet(CMSG_ITEM_PICKUP,              0x00f5,  11, clif->pTakeItem);
522
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  19, clif->pDropItem);
523
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  17, clif->pMoveToKafra);
524
}
525
526
// 20070212
527
if (packetVersion >= 20070212)
528
{
529
    packet(CMSG_MAP_PING,                 0x0089,   8, clif->pTickSend);
530
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  11, clif->pChangeDir);
531
    packet(CMSG_ITEM_PICKUP,              0x00f5,   8, clif->pTakeItem);
532
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  10, clif->pDropItem);
533
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  14, clif->pMoveToKafra);
534
}
535
536
// 20070227
537
if (packetVersion >= 20070227)
538
{
539
    packet(CMSG_PARTY_INVITE2,            0x02c4,  26, clif->pPartyInvite2);
540
}
541
542
// 20080827
543
if (packetVersion >= 20080827)
544
{
545
    packet(CMSG_MAP_PING,                 0x0089,  11, clif->pTickSend);
546
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0085,  10, clif->pChangeDir);
547
    packet(CMSG_ITEM_PICKUP,              0x00f5,  11, clif->pTakeItem);
548
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0116,  17, clif->pDropItem);
549
    packet(CMSG_MOVE_TO_STORAGE,          0x0094,  19, clif->pMoveToKafra);
550
    packet(CMSG_PLAYER_CHANGE_DEST,       0x00a7,   9, clif->pWalkToXY);
551
    packet(CMSG_NAME_REQUEST,             0x008c,  14, clif->pGetCharNameRequest);
552
    packet(CMSG_SKILL_USE_POSITION,       0x0113,  25, clif->pUseSkillToPos);
553
    packet(CMSG_SOLVE_CHAR_NAME,          0x00a2,  14, clif->pSolveCharName);
554
    packet(CMSG_MOVE_FROM_STORAGE,        0x00f7,  17, clif->pMoveFromKafra);
555
}
556
557
// 20080910
558
if (packetVersion >= 20080910)
559
{
560
    packet(CMSG_MAP_SERVER_CONNECT,       0x0436,  19, clif->pWantToConnection);
561
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0437,   7, clif->pActionRequest);
562
    packet(CMSG_SKILL_USE_BEING,          0x0438,  10, clif->pUseSkillToId);
563
}
564
565
// 20081210
566
if (packetVersion >= 20081210)
567
{
568
    packet(CMSG_SKILL_SELECT_MENU,        0x0443,   8, clif->pSkillSelectMenu);
569
}
570
571
// 20090520
572
if (packetVersion >= 20090520)
573
{
574
    packet(CMSG_MAP_BLOCK_PLAY_CANCEL,    0x0447,   2, clif->p_cz_blocking_play_cancel);
575
}
576
577
// 20090603
578
if (packetVersion >= 20090603)
579
{
580
    packet(CMSG_PARTY_SETTINGS,           0x07d7,   8, clif->pPartyChangeOption);
581
}
582
583
// 20091222
584
if (packetVersion >= 20091222)
585
{
586
    packet(CMSG_BOOKING_DELETE_REQ,       0x0806,   4, clif->pPartyBookingDeleteReq);
587
}
588
589
// 20091229
590
if (packetVersion >= 20091229)
591
{
592
    packet(CMSG_BOOKING_SEARCH_REQ,       0x0803,  14, clif->pPartyBookingSearchReq);
593
    packet(CMSG_BOOKING_DELETE_REQ,       0x0806,   2, clif->pPartyBookingDeleteReq);
594
    packet(CMSG_BOOKING_UPDATE_REQ,       0x0808,  14, clif->pPartyBookingUpdateReq);
595
}
596
597
// 20100303
598
if (packetVersion >= 20100303)
599
{
600
    packet(CMSG_BUYINGSTORE_CREATE,       0x0811,  -1, clif->pReqOpenBuyingStore);
601
}
602
603
// 20100420
604
if (packetVersion >= 20100420)
605
{
606
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0815,   2, clif->pReqCloseBuyingStore);
607
    packet(CMSG_BUYINGSTORE_SELL,         0x0819,  -1, clif->pReqTradeBuyingStore);
608
    packet(CMSG_BUYINGSTORE_OPEN,         0x0817,   6, clif->pReqClickBuyingStore);
609
}
610
611
// 20100601
612
if (packetVersion >= 20100601)
613
{
614
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0835,  -1, clif->pSearchStoreInfo);
615
}
616
617
// 20100608
618
if (packetVersion >= 20100608)
619
{
620
    packet(CMSG_SEARCHSTORE_CLICK,        0x083c,  12, clif->pSearchStoreInfoListItemClick);
621
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0838,   2, clif->pSearchStoreInfoNextPage);
622
    packet(CMSG_SEARCHSTORE_CLOSE,        0x083b,   2, clif->pCloseSearchStoreInfo);
623
}
624
625
// 20100803
626
if (packetVersion >= 20100803)
627
{
628
    packet(CMSG_ADMIN_RECALL2,            0x0842,   6, clif->pGMRecall2);
629
    packet(CMSG_ADMIN_REMOVE2,            0x0843,   6, clif->pGMRemove2);
630
}
631
632
// 20101124
633
if (packetVersion >= 20101124)
634
{
635
    packet(CMSG_MAP_PING,                 0x0360,   6, clif->pTickSend);
636
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0361,   5, clif->pChangeDir);
637
    packet(CMSG_ITEM_PICKUP,              0x0362,   6, clif->pTakeItem);
638
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0363,   6, clif->pDropItem);
639
    packet(CMSG_MOVE_TO_STORAGE,          0x0364,   8, clif->pMoveToKafra);
640
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0367,  90, clif->pUseSkillToPosMoreInfo);
641
    packet(CMSG_PLAYER_CHANGE_DEST,       0x035f,   5, clif->pWalkToXY);
642
    packet(CMSG_NAME_REQUEST,             0x0368,   6, clif->pGetCharNameRequest);
643
    packet(CMSG_SKILL_USE_POSITION,       0x0366,  10, clif->pUseSkillToPos);
644
    packet(CMSG_SOLVE_CHAR_NAME,          0x0369,   6, clif->pSolveCharName);
645
    packet(CMSG_MOVE_FROM_STORAGE,        0x0365,   8, clif->pMoveFromKafra);
646
    packet(CMSG_MAP_SERVER_CONNECT,       0x0436,  19, clif->pWantToConnection);
647
    packet(CMSG_NPC_CASH_SHOP_BUY,        0x0288,  -1, clif->pcashshop_buy);
648
}
649
650
// 20110614
651
if (packetVersion >= 20110614)
652
{
653
    packet(CMSG_NPC_CASH_SHOP_SCHEDULE,   0x08c9,   2, clif->pCashShopSchedule);
654
}
655
656
// 20110718
657
if (packetVersion >= 20110718)
658
{
659
    packet(CMSG_NPC_CASH_SHOP_CLOSE,      0x084a,   2, clif->pCashShopClose);
660
    packet(CMSG_NPC_CASH_SHOP_OPEN,       0x0844,   2, clif->pCashShopOpen);
661
    packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0846,  4, clif->pCashShopReqTab);
662
    packet(CMSG_NPC_CASH_SHOP_BUY1,       0x0848,  -1, clif->pCashShopBuy);
663
}
664
665
// 20111005
666
if (packetVersion >= 20111005)
667
{
668
    packet(CMSG_NAME_REQUEST,             0x088a,   6, clif->pGetCharNameRequest);
669
    packet(CMSG_MAP_PING,                 0x0817,   6, clif->pTickSend);
670
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0366,   5, clif->pChangeDir);
671
    packet(CMSG_ITEM_PICKUP,              0x0815,   6, clif->pTakeItem);
672
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0885,   6, clif->pDropItem);
673
    packet(CMSG_MOVE_TO_STORAGE,          0x0893,   8, clif->pMoveToKafra);
674
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x08ad,  90, clif->pUseSkillToPosMoreInfo);
675
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0364,   5, clif->pWalkToXY);
676
    packet(CMSG_SKILL_USE_POSITION,       0x0369,  10, clif->pUseSkillToPos);
677
    packet(CMSG_SOLVE_CHAR_NAME,          0x0838,   6, clif->pSolveCharName);
678
    packet(CMSG_MOVE_FROM_STORAGE,        0x0897,   8, clif->pMoveFromKafra);
679
    packet(CMSG_BATTLE_REGISTER,          0x08d7,  28, clif->pBGQueueRegister);
680
    packet(CMSG_BATTLE_REVOKE,            0x08da,  26, clif->pBGQueueRevokeReq);
681
    packet(CMSG_BATTLE_BEGIN_ACK,         0x08e0,  51, clif->pBGQueueBattleBeginAck);
682
    packet(CMSG_BATTLE_CHECK_STATE,       0x090a,  26, clif->pBGQueueCheckState);
683
}
684
685
// 20111102
686
if (packetVersion >= 20111102)
687
{
688
    packet(CMSG_SEARCHSTORE_SEARCH,       0x08ab,  -1, clif->pSearchStoreInfo);
689
    packet(CMSG_MAP_SERVER_CONNECT,       0x0835,  19, clif->pWantToConnection);  // non PACKETVER_RE
690
    packet(CMSG_MAP_SERVER_CONNECT,       0x083c,  19, clif->pWantToConnection);
691
    packet(CMSG_MAP_PING,                 0x0899,   6, clif->pTickSend);          // non PACKETVER_RE
692
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x088b,   2, clif->pSearchStoreInfoNextPage);
693
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0892,   5, clif->pWalkToXY);          // non PACKETVER_RE
694
    packet(CMSG_BUYINGSTORE_CLOSE,        0x089b,   2, clif->pReqCloseBuyingStore);
695
    packet(CMSG_PLAYER_CHANGE_ACT,        0x08aa,   7, clif->pActionRequest);
696
    packet(CMSG_BUYINGSTORE_SELL,         0x089e,  -1, clif->pReqTradeBuyingStore);
697
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0436,  26, clif->pFriendsListAdd);
698
    packet(CMSG_SEARCHSTORE_CLICK,        0x08a2,  12, clif->pSearchStoreInfoListItemClick);
699
    packet(CMSG_BUYINGSTORE_OPEN,         0x08a1,   6, clif->pReqClickBuyingStore);
700
    packet(CMSG_HOMUNCULUS_MENU,          0x0898,   5, clif->pHomMenu);
701
    packet(CMSG_BUYINGSTORE_CREATE,       0x0835,  -1, clif->pReqOpenBuyingStore);
702
    packet(CMSG_SKILL_USE_BEING,          0x02c4,  10, clif->pUseSkillToId);
703
    packet(CMSG_PARTY_INVITE2,            0x088d,  26, clif->pPartyInvite2);
704
    packet(CMSG_STORAGE_PASSWORD,         0x0281,  36, clif->pStoragePassword);
705
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0811,  -1, clif->pItemListWindowSelected);
706
}
707
708
// 20120307
709
if (packetVersion >= 20120307)
710
{
711
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
712
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
713
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0884,  -1, clif->pSearchStoreInfo);
714
    packet(CMSG_MAP_SERVER_CONNECT,       0x086A,  19, clif->pWantToConnection);
715
    packet(CMSG_CHAR_CREATE,              0x0970,  31, chr->parse_char_create_new_char);
716
    packet(CMSG_MAP_PING,                 0x0887,   6, clif->pTickSend);
717
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0890,   5, clif->pChangeDir);
718
    packet(CMSG_ITEM_PICKUP,              0x0865,   6, clif->pTakeItem);
719
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x02c4,   6, clif->pDropItem);
720
    packet(CMSG_MOVE_TO_STORAGE,          0x093b,   8, clif->pMoveToKafra);
721
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
722
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
723
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
724
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
725
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
726
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0885,   7, clif->pActionRequest);
727
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
728
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
729
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
730
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0369,  26, clif->pFriendsListAdd);
731
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
732
    packet(CMSG_MOVE_FROM_STORAGE,        0x0963,   8, clif->pMoveFromKafra);
733
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
734
    packet(CMSG_HOMUNCULUS_MENU,          0x0863,   5, clif->pHomMenu);
735
    packet(CMSG_SKILL_USE_BEING,          0x0889,  10, clif->pUseSkillToId);
736
    packet(CMSG_PARTY_INVITE2,            0x0929,  26, clif->pPartyInvite2);
737
    packet(CMSG_STORAGE_PASSWORD,         0x0861,  36, clif->pStoragePassword);
738
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0870,  -1, clif->pItemListWindowSelected);
739
}
740
741
// 20120410
742
if (packetVersion >= 20120410)
743
{
744
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
745
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
746
    packet(CMSG_MAP_SERVER_CONNECT,       0x094b,  19, clif->pWantToConnection);
747
    packet(CMSG_MAP_PING,                 0x0886,   6, clif->pTickSend);
748
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0871,   5, clif->pChangeDir);
749
    packet(CMSG_ITEM_PICKUP,              0x0938,   6, clif->pTakeItem);
750
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0891,   6, clif->pDropItem);
751
    packet(CMSG_MOVE_TO_STORAGE,          0x086c,   8, clif->pMoveToKafra);
752
    packet(CMSG_NAME_REQUEST,             0x0889,   6, clif->pGetCharNameRequest);
753
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
754
    packet(CMSG_SOLVE_CHAR_NAME,          0x0884,   6, clif->pSolveCharName);
755
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x089c,  26, clif->pFriendsListAdd);
756
    packet(CMSG_MOVE_FROM_STORAGE,        0x08a6,   8, clif->pMoveFromKafra);
757
    packet(CMSG_HOMUNCULUS_MENU,          0x0885,   5, clif->pHomMenu);
758
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
759
    packet(CMSG_PLAYER_FAVORITE_ITEM,     0x0907,   5, clif->pMoveItem);
760
    packet(CMSG_PARTY_INVITE2,            0x091c,  26, clif->pPartyInvite2);
761
    packet(CMSG_STORAGE_PASSWORD,         0x0961,  36, clif->pStoragePassword);
762
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0945,  -1, clif->pItemListWindowSelected);
763
}
764
765
// 20120418
766
if (packetVersion >= 20120418)
767
{
768
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
769
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
770
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
771
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
772
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
773
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
774
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
775
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
776
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
777
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
778
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
779
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
780
    packet(CMSG_GUILD_INVITE2,            0x0916,  26, clif->pGuildInvite2);
781
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
782
    packet(CMSG_STORAGE_PASSWORD,         0x08a8,  36, clif->pStoragePassword);
783
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
784
}
785
786
// 20120502
787
if (packetVersion >= 20120502)
788
{
789
    packet(CMSG_SELECT_CART,              0x0980,   7, clif->pSelectCart);
790
}
791
792
// 20120702
793
if (packetVersion >= 20120702)
794
{
795
    packet(CMSG_MAP_SERVER_CONNECT,       0x0363,  19, clif->pWantToConnection);
796
    packet(CMSG_MAP_PING,                 0x0364,   6, clif->pTickSend);
797
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0960,   5, clif->pChangeDir);
798
    packet(CMSG_ITEM_PICKUP,              0x089f,   6, clif->pTakeItem);
799
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x089e,   6, clif->pDropItem);
800
    packet(CMSG_MOVE_TO_STORAGE,          0x08a0,   8, clif->pMoveToKafra);
801
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0889,  90, clif->pUseSkillToPosMoreInfo);
802
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0953,   5, clif->pWalkToXY);
803
    packet(CMSG_NAME_REQUEST,             0x094a,   6, clif->pGetCharNameRequest);
804
    packet(CMSG_PLAYER_CHANGE_ACT,        0x085a,   7, clif->pActionRequest);
805
    packet(CMSG_SKILL_USE_POSITION,       0x0863,  10, clif->pUseSkillToPos);
806
    packet(CMSG_SOLVE_CHAR_NAME,          0x0886,   6, clif->pSolveCharName);
807
    packet(CMSG_MOVE_FROM_STORAGE,        0x0861,   8, clif->pMoveFromKafra);
808
    packet(CMSG_SKILL_USE_BEING,          0x0862,  10, clif->pUseSkillToId);
809
}
810
811
// 20120710
812
if (packetVersion >= 20120710)
813
{
814
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0886,   2, clif->pReqCloseBuyingStore);
815
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
816
}
817
818
// 20120716
819
if (packetVersion >= 20120716)
820
{
821
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0811,  -1, clif->pSearchStoreInfo);
822
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
823
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
824
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
825
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
826
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
827
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
828
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
829
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
830
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
831
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
832
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
833
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
834
    packet(CMSG_BUYINGSTORE_SELL,         0x0940,  -1, clif->pReqTradeBuyingStore);
835
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
836
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
837
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
838
    packet(CMSG_STORAGE_PASSWORD,         0x0819,  36, clif->pStoragePassword);
839
    packet(CMSG_CLAN_MESSAGE,             0x098d,  -1, clif->pClanMessage);
840
}
841
842
// 20120925
843
if (packetVersion >= 20120925)
844
{
845
    packet(CMSG_PLAYER_EQUIP,             0x0998,   8, clif->pEquipItem);
846
}
847
848
// 20130320
849
if (packetVersion >= 20130320)
850
{
851
    packet(CMSG_SEARCHSTORE_SEARCH,       0x094e,  -1, clif->pSearchStoreInfo);
852
    packet(CMSG_MAP_SERVER_CONNECT,       0x0888,  19, clif->pWantToConnection);
853
    packet(CMSG_MAP_PING,                 0x0363,   6, clif->pTickSend);
854
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0897,   5, clif->pChangeDir);
855
    packet(CMSG_ITEM_PICKUP,              0x0933,   6, clif->pTakeItem);
856
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0438,   6, clif->pDropItem);
857
    packet(CMSG_MOVE_TO_STORAGE,          0x08ac,   8, clif->pMoveToKafra);
858
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x085a,  90, clif->pUseSkillToPosMoreInfo);
859
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x092e,   2, clif->pSearchStoreInfoNextPage);
860
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0881,   5, clif->pWalkToXY);
861
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0886,   2, clif->pReqCloseBuyingStore);
862
    packet(CMSG_NAME_REQUEST,             0x0898,   6, clif->pGetCharNameRequest);
863
    packet(CMSG_PLAYER_CHANGE_ACT,        0x088e,   7, clif->pActionRequest);
864
    packet(CMSG_SKILL_USE_POSITION,       0x0959,  10, clif->pUseSkillToPos);
865
    packet(CMSG_BUYINGSTORE_SELL,         0x0922,  -1, clif->pReqTradeBuyingStore);
866
    packet(CMSG_SOLVE_CHAR_NAME,          0x094c,   6, clif->pSolveCharName);
867
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x086f,  26, clif->pFriendsListAdd);
868
    packet(CMSG_SEARCHSTORE_CLICK,        0x0365,  12, clif->pSearchStoreInfoListItemClick);
869
    packet(CMSG_MOVE_FROM_STORAGE,        0x0874,   8, clif->pMoveFromKafra);
870
    packet(CMSG_BUYINGSTORE_OPEN,         0x035f,   6, clif->pReqClickBuyingStore);
871
    packet(CMSG_HOMUNCULUS_MENU,          0x093f,   5, clif->pHomMenu);
872
    packet(CMSG_BUYINGSTORE_CREATE,       0x0938,  -1, clif->pReqOpenBuyingStore);
873
    packet(CMSG_SKILL_USE_BEING,          0x089b,  10, clif->pUseSkillToId);
874
    packet(CMSG_PARTY_INVITE2,            0x086d,  26, clif->pPartyInvite2);
875
    packet(CMSG_STORAGE_PASSWORD,         0x0947,  36, clif->pStoragePassword);
876
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0868,  -1, clif->pItemListWindowSelected);
877
}
878
879
// 20130320
880
if (packetVersion >= 20130320)
881
{
882
    packet(CMSG_BANK_DEPOSIT,             0x09a7,  10, clif->pBankDeposit);
883
    packet(CMSG_BANK_WITHDRAW,            0x09a9,  10, clif->pBankWithdraw);
884
    packet(CMSG_BANK_CHECK,               0x09ab,   6, clif->pBankCheck);
885
}
886
887
// 20130417
888
if (packetVersion >= 20130417)
889
{
890
    packet(CMSG_BANK_OPEN,                0x09b6,   6, clif->pBankOpen);
891
    packet(CMSG_BANK_CLOSE,               0x09b8,   6, clif->pBankClose);
892
}
893
894
// 20130515
895
if (packetVersion >= 20130515)
896
{
897
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
898
    packet(CMSG_MAP_SERVER_CONNECT,       0x0943,  19, clif->pWantToConnection);
899
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
900
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0362,   5, clif->pChangeDir);
901
    packet(CMSG_ITEM_PICKUP,              0x08a1,   6, clif->pTakeItem);
902
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0944,   6, clif->pDropItem);
903
    packet(CMSG_MOVE_TO_STORAGE,          0x0887,   8, clif->pMoveToKafra);
904
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
905
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
906
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
907
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
908
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
909
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
910
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
911
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
912
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
913
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0962,  26, clif->pFriendsListAdd);
914
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
915
    packet(CMSG_MOVE_FROM_STORAGE,        0x08ac,   8, clif->pMoveFromKafra);
916
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
917
    packet(CMSG_HOMUNCULUS_MENU,          0x0931,   5, clif->pHomMenu);
918
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
919
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
920
    packet(CMSG_PARTY_INVITE2,            0x0947,  26, clif->pPartyInvite2);
921
    packet(CMSG_STORAGE_PASSWORD,         0x093e,  36, clif->pStoragePassword);
922
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0963,  -1, clif->pItemListWindowSelected);
923
}
924
925
// 20130522
926
if (packetVersion >= 20130522)
927
{
928
    packet(CMSG_SEARCHSTORE_SEARCH,       0x095b,  -1, clif->pSearchStoreInfo);
929
    packet(CMSG_MAP_SERVER_CONNECT,       0x08a9,  19, clif->pWantToConnection);
930
    packet(CMSG_MAP_PING,                 0x07ec,   6, clif->pTickSend);
931
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0925,   5, clif->pChangeDir);
932
    packet(CMSG_ITEM_PICKUP,              0x095e,   6, clif->pTakeItem);
933
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x089c,   6, clif->pDropItem);
934
    packet(CMSG_MOVE_TO_STORAGE,          0x08a3,   8, clif->pMoveToKafra);
935
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0964,  90, clif->pUseSkillToPosMoreInfo);
936
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x08aa,   2, clif->pSearchStoreInfoNextPage);
937
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0360,   5, clif->pWalkToXY);
938
    packet(CMSG_BUYINGSTORE_CLOSE,        0x086e,   2, clif->pReqCloseBuyingStore);
939
    packet(CMSG_NAME_REQUEST,             0x08a6,   6, clif->pGetCharNameRequest);
940
    packet(CMSG_PLAYER_CHANGE_ACT,        0x08a2,   7, clif->pActionRequest);
941
    packet(CMSG_SKILL_USE_POSITION,       0x0811,  10, clif->pUseSkillToPos);
942
    packet(CMSG_BUYINGSTORE_SELL,         0x0952,  -1, clif->pReqTradeBuyingStore);
943
    packet(CMSG_SOLVE_CHAR_NAME,          0x0369,   6, clif->pSolveCharName);
944
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0362,  26, clif->pFriendsListAdd);
945
    packet(CMSG_SEARCHSTORE_CLICK,        0x093e,  12, clif->pSearchStoreInfoListItemClick);
946
    packet(CMSG_MOVE_FROM_STORAGE,        0x087e,   8, clif->pMoveFromKafra);
947
    packet(CMSG_BUYINGSTORE_OPEN,         0x0368,   6, clif->pReqClickBuyingStore);
948
    packet(CMSG_HOMUNCULUS_MENU,          0x0926,   5, clif->pHomMenu);
949
    packet(CMSG_BUYINGSTORE_CREATE,       0x0874,  -1, clif->pReqOpenBuyingStore);
950
    packet(CMSG_SKILL_USE_BEING,          0x095c,  10, clif->pUseSkillToId);
951
    packet(CMSG_PARTY_INVITE2,            0x0950,  26, clif->pPartyInvite2);
952
    packet(CMSG_STORAGE_PASSWORD,         0x088e,  36, clif->pStoragePassword);
953
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x086a,  -1, clif->pItemListWindowSelected);
954
}
955
956
// 20130529
957
if (packetVersion >= 20130529)
958
{
959
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0918,  -1, clif->pSearchStoreInfo);
960
    packet(CMSG_MAP_SERVER_CONNECT,       0x0919,  19, clif->pWantToConnection);
961
    packet(CMSG_MAP_PING,                 0x0897,   6, clif->pTickSend);
962
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0951,   5, clif->pChangeDir);
963
    packet(CMSG_ITEM_PICKUP,              0x0895,   6, clif->pTakeItem);
964
    packet(CMSG_MOVE_TO_STORAGE,          0x0938,   8, clif->pMoveToKafra);
965
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x085e,  90, clif->pUseSkillToPosMoreInfo);
966
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0941,   2, clif->pSearchStoreInfoNextPage);
967
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0876,   5, clif->pWalkToXY);
968
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0964,   2, clif->pReqCloseBuyingStore);
969
    packet(CMSG_NAME_REQUEST,             0x0863,   6, clif->pGetCharNameRequest);
970
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0890,   7, clif->pActionRequest);
971
    packet(CMSG_SKILL_USE_POSITION,       0x0917,  10, clif->pUseSkillToPos);
972
    packet(CMSG_BUYINGSTORE_SELL,         0x0936,  -1, clif->pReqTradeBuyingStore);
973
    packet(CMSG_SOLVE_CHAR_NAME,          0x0937,   6, clif->pSolveCharName);
974
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0877,  26, clif->pFriendsListAdd);
975
    packet(CMSG_SEARCHSTORE_CLICK,        0x085a,  12, clif->pSearchStoreInfoListItemClick);
976
    packet(CMSG_MOVE_FROM_STORAGE,        0x0957,   8, clif->pMoveFromKafra);
977
    packet(CMSG_BUYINGSTORE_OPEN,         0x0892,   6, clif->pReqClickBuyingStore);
978
    packet(CMSG_HOMUNCULUS_MENU,          0x023b,   5, clif->pHomMenu);
979
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x08a7,   6, clif->pDropItem);
980
    packet(CMSG_BUYINGSTORE_CREATE,       0x0869,  -1, clif->pReqOpenBuyingStore);
981
    packet(CMSG_SKILL_USE_BEING,          0x0438,  10, clif->pUseSkillToId);
982
    packet(CMSG_PARTY_INVITE2,            0x08a8,  26, clif->pPartyInvite2);
983
    packet(CMSG_STORAGE_PASSWORD,         0x0956,  36, clif->pStoragePassword);
984
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0958,  -1, clif->pItemListWindowSelected);
985
}
986
987
// 20130605
988
if (packetVersion >= 20130605)
989
{
990
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
991
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
992
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
993
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
994
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
995
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
996
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
997
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
998
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
999
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1000
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1001
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1002
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1003
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1004
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1005
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1006
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1007
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1008
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1009
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1010
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1011
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1012
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1013
    packet(CMSG_REQUEST_RANKS,            0x097c,   4, clif->pRanklist);
1014
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1015
    packet(CMSG_STORAGE_PASSWORD,         0x0883,  36, clif->pStoragePassword);
1016
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1017
}
1018
1019
// 20130612
1020
if (packetVersion >= 20130612)
1021
{
1022
    packet(CMSG_MAP_SERVER_CONNECT,       0x0919,  19, clif->pWantToConnection);
1023
    packet(CMSG_PLAYER_CHANGE_DIR,        0x087e,   5, clif->pChangeDir);
1024
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0940,  26, clif->pFriendsListAdd);
1025
    packet(CMSG_HOMUNCULUS_MENU,          0x093a,   5, clif->pHomMenu);
1026
    packet(CMSG_STORAGE_PASSWORD,         0x0964,  36, clif->pStoragePassword);
1027
}
1028
1029
// 20130618
1030
if (packetVersion >= 20130618)
1031
{
1032
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0281,  -1, clif->pSearchStoreInfo);
1033
    packet(CMSG_MAP_SERVER_CONNECT,       0x095b,  19, clif->pWantToConnection);
1034
    packet(CMSG_MAP_PING,                 0x0930,   6, clif->pTickSend);
1035
    packet(CMSG_PLAYER_CHANGE_DIR,        0x08a6,   5, clif->pChangeDir);
1036
    packet(CMSG_ITEM_PICKUP,              0x0962,   6, clif->pTakeItem);
1037
    packet(CMSG_MOVE_TO_STORAGE,          0x0885,   8, clif->pMoveToKafra);
1038
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x094f,  90, clif->pUseSkillToPosMoreInfo);
1039
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0363,   2, clif->pSearchStoreInfoNextPage);
1040
    packet(CMSG_PLAYER_CHANGE_DEST,       0x088e,   5, clif->pWalkToXY);
1041
    packet(CMSG_BUYINGSTORE_CLOSE,        0x085a,   2, clif->pReqCloseBuyingStore);
1042
    packet(CMSG_NAME_REQUEST,             0x0944,   6, clif->pGetCharNameRequest);
1043
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0889,   7, clif->pActionRequest);
1044
    packet(CMSG_SKILL_USE_POSITION,       0x096a,  10, clif->pUseSkillToPos);
1045
    packet(CMSG_BUYINGSTORE_SELL,         0x0891,  -1, clif->pReqTradeBuyingStore);
1046
    packet(CMSG_SOLVE_CHAR_NAME,          0x0945,   6, clif->pSolveCharName);
1047
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0953,  26, clif->pFriendsListAdd);
1048
    packet(CMSG_SEARCHSTORE_CLICK,        0x0890,  12, clif->pSearchStoreInfoListItemClick);
1049
    packet(CMSG_MOVE_FROM_STORAGE,        0x0936,   8, clif->pMoveFromKafra);
1050
    packet(CMSG_BUYINGSTORE_OPEN,         0x0862,   6, clif->pReqClickBuyingStore);
1051
    packet(CMSG_HOMUNCULUS_MENU,          0x02c4,   5, clif->pHomMenu);
1052
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0917,   6, clif->pDropItem);
1053
    packet(CMSG_BUYINGSTORE_CREATE,       0x0932,  -1, clif->pReqOpenBuyingStore);
1054
    packet(CMSG_SKILL_USE_BEING,          0x0951,  10, clif->pUseSkillToId);
1055
    packet(CMSG_PARTY_INVITE2,            0x0887,  26, clif->pPartyInvite2);
1056
    packet(CMSG_STORAGE_PASSWORD,         0x0864,  36, clif->pStoragePassword);
1057
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0942,  -1, clif->pItemListWindowSelected);
1058
}
1059
1060
// 20130626
1061
if (packetVersion >= 20130626)
1062
{
1063
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
1064
    packet(CMSG_MAP_SERVER_CONNECT,       0x088c,  19, clif->pWantToConnection);
1065
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
1066
    packet(CMSG_PLAYER_CHANGE_DIR,        0x094d,   5, clif->pChangeDir);
1067
    packet(CMSG_ITEM_PICKUP,              0x088b,   6, clif->pTakeItem);
1068
    packet(CMSG_MOVE_TO_STORAGE,          0x0921,   8, clif->pMoveToKafra);
1069
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
1070
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
1071
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1072
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0365,   2, clif->pReqCloseBuyingStore);
1073
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1074
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1075
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1076
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1077
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1078
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x08ab,  26, clif->pFriendsListAdd);
1079
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1080
    packet(CMSG_MOVE_FROM_STORAGE,        0x0817,   8, clif->pMoveFromKafra);
1081
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1082
    packet(CMSG_HOMUNCULUS_MENU,          0x0960,   5, clif->pHomMenu);
1083
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0952,   6, clif->pDropItem);
1084
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1085
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1086
    packet(CMSG_PARTY_INVITE2,            0x0895,  26, clif->pPartyInvite2);
1087
    packet(CMSG_STORAGE_PASSWORD,         0x0930,  36, clif->pStoragePassword);
1088
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x08a5,  -1, clif->pItemListWindowSelected);
1089
}
1090
1091
// 20130703
1092
if (packetVersion >= 20130703)
1093
{
1094
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
1095
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0930,   5, clif->pChangeDir);
1096
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
1097
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
1098
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1099
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0360,  26, clif->pFriendsListAdd);
1100
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1101
    packet(CMSG_BUYINGSTORE_OPEN,         0x0202,   6, clif->pReqClickBuyingStore);
1102
    packet(CMSG_HOMUNCULUS_MENU,          0x094a,   5, clif->pHomMenu);
1103
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
1104
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1105
    packet(CMSG_STORAGE_PASSWORD,         0x0873,  36, clif->pStoragePassword);
1106
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1107
}
1108
1109
// 20130807
1110
if (packetVersion >= 20130807)
1111
{
1112
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
1113
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1114
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1115
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1116
    packet(CMSG_STORAGE_PASSWORD,         0x0887,  36, clif->pStoragePassword);
1117
}
1118
1119
// 20130814
1120
if (packetVersion >= 20130814)
1121
{
1122
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0889,  -1, clif->pSearchStoreInfo);
1123
    packet(CMSG_MAP_SERVER_CONNECT,       0x0368,  19, clif->pWantToConnection);
1124
    packet(CMSG_MAP_PING,                 0x088a,   6, clif->pTickSend);
1125
    packet(CMSG_PLAYER_CHANGE_DIR,        0x088c,   5, clif->pChangeDir);
1126
    packet(CMSG_ITEM_PICKUP,              0x0926,   6, clif->pTakeItem);
1127
    packet(CMSG_MOVE_TO_STORAGE,          0x0202,   8, clif->pMoveToKafra);
1128
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0962,  90, clif->pUseSkillToPosMoreInfo);
1129
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0941,   2, clif->pSearchStoreInfoNextPage);
1130
    packet(CMSG_PLAYER_CHANGE_DEST,       0x093a,   5, clif->pWalkToXY);
1131
    packet(CMSG_BUYINGSTORE_CLOSE,        0x094e,   2, clif->pReqCloseBuyingStore);
1132
    packet(CMSG_NAME_REQUEST,             0x0937,   6, clif->pGetCharNameRequest);
1133
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0874,   7, clif->pActionRequest);
1134
    packet(CMSG_SKILL_USE_POSITION,       0x0887,  10, clif->pUseSkillToPos);
1135
    packet(CMSG_BUYINGSTORE_SELL,         0x0835,  -1, clif->pReqTradeBuyingStore);
1136
    packet(CMSG_SOLVE_CHAR_NAME,          0x0923,   6, clif->pSolveCharName);
1137
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0281,  26, clif->pFriendsListAdd);
1138
    packet(CMSG_SEARCHSTORE_CLICK,        0x0868,  12, clif->pSearchStoreInfoListItemClick);
1139
    packet(CMSG_MOVE_FROM_STORAGE,        0x0873,   8, clif->pMoveFromKafra);
1140
    packet(CMSG_BUYINGSTORE_OPEN,         0x0895,   6, clif->pReqClickBuyingStore);
1141
    packet(CMSG_HOMUNCULUS_MENU,          0x0958,   5, clif->pHomMenu);
1142
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x095f,   6, clif->pDropItem);
1143
    packet(CMSG_BUYINGSTORE_CREATE,       0x0936,  -1, clif->pReqOpenBuyingStore);
1144
    packet(CMSG_SKILL_USE_BEING,          0x0947,  10, clif->pUseSkillToId);
1145
    packet(CMSG_PARTY_INVITE2,            0x0927,  26, clif->pPartyInvite2);
1146
    packet(CMSG_STORAGE_PASSWORD,         0x0885,  36, clif->pStoragePassword);
1147
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x08a4,  -1, clif->pItemListWindowSelected);
1148
}
1149
1150
// 20130814
1151
if (packetVersion >= 20130814)
1152
{
1153
    packet(CMSG_ADMIN_MONSTER_ITEM,       0x09ce, 102, clif->pGM_Monster_Item);
1154
}
1155
1156
// 20131211
1157
if (packetVersion >= 20131211)
1158
{
1159
    packet(CMSG_MAIL2_CLOSE_MAILBOX,      0x09e9,   2, clif->pRodexCloseMailbox);
1160
}
1161
1162
// 20131218
1163
if (packetVersion >= 20131218)
1164
{
1165
    packet(CMSG_SEARCHSTORE_SEARCH,       0x0819,  -1, clif->pSearchStoreInfo);
1166
    packet(CMSG_MAP_SERVER_CONNECT,       0x092f,  19, clif->pWantToConnection);
1167
    packet(CMSG_MAP_PING,                 0x035f,   6, clif->pTickSend);
1168
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0947,   5, clif->pChangeDir);
1169
    packet(CMSG_ITEM_PICKUP,              0x07e4,   6, clif->pTakeItem);
1170
    packet(CMSG_MOVE_TO_STORAGE,          0x07ec,   8, clif->pMoveToKafra);
1171
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x0366,  90, clif->pUseSkillToPosMoreInfo);
1172
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0835,   2, clif->pSearchStoreInfoNextPage);
1173
    packet(CMSG_PLAYER_CHANGE_DEST,       0x0437,   5, clif->pWalkToXY);
1174
    packet(CMSG_BUYINGSTORE_CLOSE,        0x0817,   2, clif->pReqCloseBuyingStore);
1175
    packet(CMSG_NAME_REQUEST,             0x096a,   6, clif->pGetCharNameRequest);
1176
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0369,   7, clif->pActionRequest);
1177
    packet(CMSG_SKILL_USE_POSITION,       0x0438,  10, clif->pUseSkillToPos);
1178
    packet(CMSG_BUYINGSTORE_SELL,         0x022d,  -1, clif->pReqTradeBuyingStore);
1179
    packet(CMSG_SOLVE_CHAR_NAME,          0x0368,   6, clif->pSolveCharName);
1180
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x08ab,  26, clif->pFriendsListAdd);
1181
    packet(CMSG_SEARCHSTORE_CLICK,        0x0838,  12, clif->pSearchStoreInfoListItemClick);
1182
    packet(CMSG_MOVE_FROM_STORAGE,        0x0364,   8, clif->pMoveFromKafra);
1183
    packet(CMSG_BUYINGSTORE_OPEN,         0x0360,   6, clif->pReqClickBuyingStore);
1184
    packet(CMSG_HOMUNCULUS_MENU,          0x0811,   5, clif->pHomMenu);
1185
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0362,   6, clif->pDropItem);
1186
    packet(CMSG_BUYINGSTORE_CREATE,       0x0815,  -1, clif->pReqOpenBuyingStore);
1187
    packet(CMSG_SKILL_USE_BEING,          0x083c,  10, clif->pUseSkillToId);
1188
    packet(CMSG_NPC_SHOP_CLOSE,           0x09d4,   2, clif->pNPCShopClosed);
1189
    packet(CMSG_NPC_MARKET_BUY,           0x09d6,  -1, clif->pNPCMarketPurchase);
1190
    packet(CMSG_NPC_MARKET_CLOSE,         0x09d8,   2, clif->pNPCMarketClosed);
1191
    packet(CMSG_PARTY_INVITE2,            0x0802,  26, clif->pPartyInvite2);
1192
    packet(CMSG_STORAGE_PASSWORD,         0x085c,  36, clif->pStoragePassword);
1193
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x0281,  -1, clif->pItemListWindowSelected);
1194
}
1195
if (packetVersion >= 20131218)
1196
{
1197
    packet(CMSG_MAIL2_NEXT_PAGE,          0x09ee,  11, clif->pRodexNextMaillist);
1198
    packet(CMSG_MAIL2_DELETE_MAIL,        0x09f5,  11, clif->pRodexDeleteMail);
1199
    packet(CMSG_MAIL2_REFRESH_MAIL_LIST,  0x09ef,  11, clif->pRodexRefreshMaillist);
1200
}
1201
1202
// 20131223
1203
if (packetVersion >= 20131223)
1204
{
1205
    packet(CMSG_PLAYER_CHANGE_DIR,        0x0202,   5, clif->pChangeDir);
1206
    packet(CMSG_MAP_SERVER_CONNECT,       0x022d,  19, clif->pWantToConnection);
1207
    packet(CMSG_BUYINGSTORE_SELL,         0x0811,  -1, clif->pReqTradeBuyingStore);
1208
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x023b,  26, clif->pFriendsListAdd);
1209
    packet(CMSG_HOMUNCULUS_MENU,          0x0361,   5, clif->pHomMenu);
1210
    packet(CMSG_STORAGE_PASSWORD,         0x08a4,  36, clif->pStoragePassword);
1211
}
1212
1213
if (packetVersion >= 20131223)
1214
{
1215
    packet(CMSG_MAIL2_READ_MAIL,          0x09ea,  11, clif->pRodexReadMail);
1216
}
1217
1218
// 20131230
1219
if (packetVersion >= 20131230)
1220
{
1221
    packet(CMSG_BUYINGSTORE_CREATE,       0x0365,  -1, clif->pReqOpenBuyingStore);
1222
    packet(CMSG_BUYINGSTORE_SELL,         0x087f,  -1, clif->pReqTradeBuyingStore);
1223
    packet(CMSG_SEARCHSTORE_SEARCH,       0x093d,  -1, clif->pSearchStoreInfo);
1224
    packet(CMSG_BUYINGSTORE_CLOSE,        0x094c,   2, clif->pReqCloseBuyingStore);
1225
    packet(CMSG_HOMUNCULUS_MENU,          0x0949,   5, clif->pHomMenu);
1226
    packet(CMSG_SEARCHSTORE_CLICK,        0x087b,  12, clif->pSearchStoreInfoListItemClick);
1227
    packet(CMSG_BUYINGSTORE_OPEN,         0x0969,   6, clif->pReqClickBuyingStore);
1228
    packet(CMSG_SKILL_USE_BEING,          0x02C4,  10, clif->pUseSkillToId);
1229
    packet(CMSG_NAME_REQUEST,             0x0926,   6, clif->pGetCharNameRequest);
1230
    packet(CMSG_PLAYER_CHANGE_DIR,        0x094A,   5, clif->pChangeDir);
1231
    packet(CMSG_PLAYER_INVENTORY_DROP,    0x0860,   6, clif->pDropItem);
1232
    packet(CMSG_SKILL_USE_POSITION,       0x091E,  10, clif->pUseSkillToPos);
1233
    packet(CMSG_ITEM_PICKUP,              0x092A,   6, clif->pTakeItem);
1234
    packet(CMSG_SEARCHSTORE_NEXT_PAGE,    0x0369,   2, clif->pSearchStoreInfoNextPage);
1235
    packet(CMSG_MOVE_TO_STORAGE,          0x0968,   8, clif->pMoveToKafra);
1236
    packet(CMSG_PLAYER_CHANGE_DEST,       0x035f,   5, clif->pWalkToXY);
1237
    packet(CMSG_MAP_PING,                 0x0438,   6, clif->pTickSend);
1238
    packet(CMSG_MOVE_FROM_STORAGE,        0x0895,   8, clif->pMoveFromKafra);
1239
    packet(CMSG_PLAYER_CHANGE_ACT,        0x0871,   7, clif->pActionRequest);
1240
    packet(CMSG_MAP_SERVER_CONNECT,       0x089c,  19, clif->pWantToConnection);
1241
    packet(CMSG_PARTY_INVITE2,            0x08a9,  26, clif->pPartyInvite2);
1242
    packet(CMSG_FRIENDS_ADD_PLAYER,       0x0943,  26, clif->pFriendsListAdd);
1243
    packet(CMSG_SKILL_USE_POSITION_MORE,  0x096a,  90, clif->pUseSkillToPosMoreInfo);
1244
    packet(CMSG_SOLVE_CHAR_NAME,          0x0898,   6, clif->pSolveCharName);
1245
    packet(CMSG_STORAGE_PASSWORD,         0x091d,  36, clif->pStoragePassword);
1246
    packet(CMSG_ITEM_LIST_WINDOW_SELECT,  0x022d,  -1, clif->pItemListWindowSelected);
1247
}
1248
1249
/////////////////////////////////////////////////////
1250
//                                                 //
1251
// next is separated packets from shuffle packets. //
1252
//                                                 //
1253
/////////////////////////////////////////////////////
1254
1255
1256
// 20131230
1257
if (packetVersion >= 20131230)
1258
{
1259
    packet(CMSG_MAIL2_SEND_MAIL,          0x09ec,  -1, clif->pRodexSendMail);
1260
}
1261
1262
// 20140122
1263
if (packetVersion >= 20140122)
1264
{
1265
    packet(CMSG_PET_EVOLUTION,            0x09fb,  -1, clif->pPetEvolution);
1266
}
1267
1268
// 20140129
1269
if (packetVersion >= 20140129)
1270
{
1271
    packet(CMSG_SHORTCUTS_ROW_SHIFT,      0x0a01,   3, clif->pHotkeyRowShift);
1272
}
1273
1274
// 20140212
1275
if (packetVersion >= 20140212)
1276
{
1277
    packet(CMSG_MAIL2_OPEN_MAILBOX,       0x09e8,  11, clif->pRodexOpenMailbox);
1278
}
1279
1280
// 20140326
1281
if (packetVersion >= 20140326)
1282
{
1283
    packet(CMSG_MAIL2_REQUEST_MONEY,      0x09f1,  11, clif->pRodexRequestZeny);
1284
    packet(CMSG_MAIL2_REQUEST_ITEMS,      0x09f3,  11, clif->pRodexRequestItems);
1285
    packet(CMSG_MAIL2_CANCEL_WRITE_MAIL,  0x0a03,   2, clif->pRodexCancelWriteMail);
1286
}
1287
1288
// 20140416
1289
if (packetVersion >= 20140416)
1290
{
1291
    packet(CMSG_MAIL2_OPEN_WRITE_MAIL,    0x0a08,  26, clif->pRodexOpenWriteMail);
1292
    packet(CMSG_MAIL2_ADD_ITEM_TO_MAIL,   0x0a04,   6, clif->pRodexAddItem);
1293
    packet(CMSG_MAIL2_REMOVE_ITEM_MAIL,   0x0a06,   6, clif->pRodexRemoveItem);
1294
}
1295
1296
// 20140423
1297
if (packetVersion >= 20140423)
1298
{
1299
    packet(CMSG_MAIL2_CHECK_NAME,         0x0a13,  26, clif->pRodexCheckName);
1300
}
1301
1302
// 20140605
1303
if (packetVersion >= 20140605)
1304
{
1305
    packet(CMSG_ROULETTE_OPEN,            0x0a19,  -1, clif->pRouletteOpen);
1306
    packet(CMSG_ROULETTE_INFO,            0x0a1b,   2, clif->pRouletteInfo);
1307
    packet(CMSG_ROULETTE_CLOSE,           0x0a1d,  14, clif->pRouletteClose);
1308
}
1309
1310
// 20140611
1311
if (packetVersion >= 20140611)
1312
{
1313
// new packets
1314
    packet(CMSG_ROULETTE_GENERATE,        0x0a1f,   2, clif->pRouletteGenerate);
1315
    packet(CMSG_ROULETTE_RECV_ITEM,       0x0a21,   6, clif->pRouletteRecvItem);
1316
// changed packets
1317
    packet(CMSG_ROULETTE_OPEN,            0x0a19,   2, clif->pRouletteOpen);
1318
    packet(CMSG_ROULETTE_CLOSE,           0x0a1d,   2, clif->pRouletteClose);
1319
}
1320
1321
// 20140618
1322
if (packetVersion >= 20140618)
1323
{
1324
    packet(CMSG_ROULETTE_RECV_ITEM,       0x0a21,   3, clif->pRouletteRecvItem);
1325
}
1326
1327
// 20141119
1328
if (packetVersion >= 20141119)
1329
{
1330
    packet(CMSG_QUICK_IDENTIFY_ITEM,      0x0a35,   4, clif->pOneClick_ItemIdentify);
1331
}
1332
1333
// 20151001
1334
if (packetVersion >= 20151001)
1335
{
1336
    packet(CMSG_CHAR_CREATE,              0x0a39,  36, chr->parse_char_create_new_char);
1337
}
1338
1339
// 20151104
1340
if (packetVersion >= 20151104)
1341
{
1342
    packet(CMSG_PLAYER_SELECT_STYLE,      0x0a46,  14, clif->pReqStyleChange);
1343
}
1344
1345
// 20160323
1346
if (packetVersion >= 20160323)
1347
{
1348
    packet(CMSG_WINDOW_OPEN_REQUEST2,     0x0a68,   3, clif->pOpenUIRequest);
1349
}
1350
1351
// 20160330
1352
if (packetVersion >= 20160330)
1353
{
1354
    packet(CMSG_MAIL2_SEND_MAIL,          0x0a6e,  -1, clif->pRodexSendMail);
1355
}
1356
1357
// 20170419
1358
if (packetVersion >= 20170419)
1359
{
1360
    packet(CMSG_MAIL2_OPEN_MAILBOX,       0x0ac0,  26, clif->pRodexOpenMailbox);
1361
    packet(CMSG_MAIL2_REFRESH_MAIL_LIST,  0x0ac1,  26, clif->pRodexRefreshMaillist);
1362
}
1363
1364
// zero 20180131
1365
if (packetVersionZero >= 20180131)
1366
{
1367
    packet(CMSG_SKILL_USE_POSITION,       0x0af4,  11, clif->pUseSkillToPos);
1368
}
1369
1370
// 20180207
1371
if (packetVersion >= 20180207)
1372
{
1373
    packet(CMSG_SKILL_USE_POSITION,       0x0af4,  11, clif->pUseSkillToPos);
1374
}
1375
1376
// re 20180307
1377
if (packetVersionRe >= 20180307)
1378
{
1379
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1380
}
1381
1382
// re 20180321
1383
if (packetVersionRe >= 20180321)
1384
{
1385
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  20, clif->pPrivateAirshipRequest);
1386
}
1387
1388
// main 20180620
1389
if (packetVersionMain >= 20180620)
1390
{
1391
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  20, clif->pPrivateAirshipRequest);
1392
}
1393
1394
// main 20180404
1395
if (packetVersionMain >= 20180404)
1396
{
1397
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1398
}
1399
1400
// zero 20180411
1401
if (packetVersionZero >= 20180411)
1402
{
1403
    packet(CMSG_ATTENDANCE_REWARD,        0x0aef,   2, clif->pAttendanceRewardRequest);
1404
}
1405
1406
// 20180704 re
1407
if (packetVersionRe >= 20180704)
1408
{
1409
    packet(CMSG_NPC_PRODUCE_MIX,          0x018e,  18, clif->pProduceMix);
1410
    packet(CMSG_NPC_SELECT_ARROW,         0x01ae,   6, clif->pSelectArrow);
1411
    packet(CMSG_NPC_REPAIR,               0x01fd,  25, clif->pRepairItem);
1412
    packet(CMSG_NPC_COOKING,              0x025b,   8, clif->pCooking);
1413
    packet(CMSG_PRIVATE_AIRSHIP_REQUEST,  0x0a49,  22, clif->pPrivateAirshipRequest);
1414
}
1415
1416
// 20180718 re
1417
if (packetVersionRe >= 20180718)
1418
{
1419
    packet(CMSG_PLAYER_SELECT_STYLE,      0x0afc,  16, clif->pReqStyleChange);
1420
}
1421
1422
#endif