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