GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/eathena/packetsout.inc Lines: 12 960 1.3 %
Date: 2019-02-12 Branches: 0 226 0.0 %

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