summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsin.inc51
-rw-r--r--src/net/eathena/packetsout.inc9
-rw-r--r--src/net/tmwa/packetsin.inc56
-rw-r--r--src/net/tmwa/packetsout.inc10
4 files changed, 58 insertions, 68 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index c2051b1ea..cc409ec36 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -22,7 +22,7 @@
packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531);
-packet(SMSG_SERVER_PING, 0x007f); /**< Contains server tick */
+packet(SMSG_SERVER_PING, 0x007f);
packet(SMSG_CONNECTION_PROBLEM, 0x0081);
packet(SMSG_MAP_NOT_FOUND, 0x0840);
@@ -31,7 +31,6 @@ packet(SMSG_LOGIN_ERROR, 0x006a);
packet(SMSG_LOGIN_ERROR2, 0x083e);
packet(SMSG_LOGIN_CODING_KEY, 0x01dc);
-// unused
packet(SMSG_CHAR_LOGIN, 0x006b);
packet(SMSG_CHAR_LOGIN2, 0x082d);
packet(SMSG_CHAR_LOGIN_ERROR, 0x006c);
@@ -56,10 +55,10 @@ packet(SMSG_CHAR_BAN_CHAR_LIST, 0x020d);
packet(SMSG_CHAR_SWITCH_RESPONSE, 0x00b3);
packet(SMSG_CHANGE_MAP_SERVER, 0x0092);
-packet(SMSG_MAP_LOGIN_SUCCESS, 0x0a18); /**< Contains starting location */
+packet(SMSG_MAP_LOGIN_SUCCESS, 0x0a18);
packet(SMSG_MAP_AUTH_REFUSE, 0x0074);
packet(SMSG_MAP_QUIT_RESPONSE, 0x018b);
-packet(SMSG_PLAYER_STOP, 0x0088); /**< Stop walking, set position */
+packet(SMSG_PLAYER_STOP, 0x0088);
packet(SMSG_PLAYER_MOVE_TO_ATTACK, 0x0139);
packet(SMSG_PLAYER_STAT_UPDATE_1, 0x00b0);
packet(SMSG_PLAYER_STAT_UPDATE_2, 0x00b1);
@@ -131,18 +130,18 @@ packet(SMSG_SKILL_UNIT_UPDATE, 0x01ac);
packet(SMSG_SKILL_ARROW_CREATE_LIST, 0x01ad);
packet(SMSG_SKILL_DEVOTION_EFFECT, 0x01cf);
packet(SMSG_ITEM_USE_RESPONSE, 0x00a8);
-packet(SMSG_ITEM_VISIBLE, 0x009d); /**< An item is on the floor */
+packet(SMSG_ITEM_VISIBLE, 0x009d);
packet(SMSG_ITEM_VISIBLE2, 0x0b18);
packet(SMSG_GRAFFITI_VISIBLE, 0x01c9);
-packet(SMSG_ITEM_DROPPED, 0x084b); /**< An item is dropped */
+packet(SMSG_ITEM_DROPPED, 0x084b);
packet(SMSG_ITEM_DROPPED2, 0x0b19);
packet(SMSG_ITEM_MVP_DROPPED, 0x07fd);
-packet(SMSG_ITEM_REMOVE, 0x00a1); /**< An item disappers */
+packet(SMSG_ITEM_REMOVE, 0x00a1);
packet(SMSG_BEING_VISIBLE, 0x0915);
packet(SMSG_BEING_FAKE_NAME, 0x0078);
-packet(SMSG_BEING_MOVE, 0x0914); /**< A nearby monster moves */
-packet(SMSG_BEING_SPAWN, 0x090f); /**< A being spawns nearby */
-packet(SMSG_BEING_MOVE2, 0x0086); /**< New eAthena being moves */
+packet(SMSG_BEING_MOVE, 0x0914);
+packet(SMSG_BEING_SPAWN, 0x090f);
+packet(SMSG_BEING_MOVE2, 0x0086);
packet(SMSG_BEING_MOVE3, 0x0b04);
packet(SMSG_BEING_REMOVE, 0x0080);
packet(SMSG_BEING_REMOVE_SKILL, 0x0120);
@@ -154,17 +153,17 @@ packet(SMSG_BEING_SPECIAL_EFFECT, 0x01f3);
packet(SMSG_BEING_SPECIAL_EFFECT_NUM, 0x0284);
packet(SMSG_BEING_SOUND_EFFECT, 0x01d3);
packet(SMSG_BEING_EMOTION, 0x00c0);
-packet(SMSG_BEING_ACTION, 0x008a); /**< Attack, sit, stand up, ...*/
+packet(SMSG_BEING_ACTION, 0x008a);
packet(SMSG_BEING_ACTION2, 0x02e1);
-packet(SMSG_BEING_CHAT, 0x008d); /**< A being talks */
+packet(SMSG_BEING_CHAT, 0x008d);
packet(SMSG_BEING_SLIDE, 0x01ff);
packet(SMSG_BEING_CHARM, 0x08cf);
packet(SMSG_COLOR_MESSAGE, 0x02c1);
packet(SMSG_FORMAT_MESSAGE, 0x0291);
packet(SMSG_FORMAT_MESSAGE_NUMBER, 0x07e2);
packet(SMSG_FORMAT_MESSAGE_SKILL, 0x07e6);
-packet(SMSG_BEING_NAME_RESPONSE, 0x0095); /**< Has to be requested */
-packet(SMSG_BEING_NAME_RESPONSE2, 0x0b01); /**< Has to be requested */
+packet(SMSG_BEING_NAME_RESPONSE, 0x0095);
+packet(SMSG_BEING_NAME_RESPONSE2, 0x0b01);
packet(SMSG_BEING_CHANGE_DIRECTION, 0x009c);
packet(SMSG_BEING_RESURRECT, 0x0148);
packet(SMSG_BEING_STAT_UPDATE_1, 0x01ab);
@@ -192,14 +191,14 @@ packet(SMSG_NPC_MESSAGE, 0x00b4);
packet(SMSG_NPC_NEXT, 0x00b5);
packet(SMSG_NPC_CLOSE, 0x00b6);
packet(SMSG_NPC_CLOSE_TIMEOUT, 0x08d6);
-packet(SMSG_NPC_CHOICE, 0x00b7); /**< Display a choice */
+packet(SMSG_NPC_CHOICE, 0x00b7);
packet(SMSG_NPC_BUY_SELL_CHOICE, 0x00c4);
packet(SMSG_NPC_BUY, 0x00c6);
packet(SMSG_NPC_SELL, 0x00c7);
packet(SMSG_NPC_BUY_RESPONSE, 0x00ca);
packet(SMSG_NPC_SELL_RESPONSE, 0x00cb);
-packet(SMSG_NPC_INT_INPUT, 0x0142); /**< Integer input */
-packet(SMSG_NPC_STR_INPUT, 0x01d4); /**< String input */
+packet(SMSG_NPC_INT_INPUT, 0x0142);
+packet(SMSG_NPC_STR_INPUT, 0x01d4);
packet(SMSG_NPC_SHOW_PROGRESS_BAR, 0x02f0);
packet(SMSG_NPC_PROGRESS_BAR_ABORT, 0x02f2);
packet(SMSG_NPC_CHANGETITLE, 0x0b06);
@@ -214,10 +213,10 @@ packet(SMSG_NPC_CASH_SCHEDULE, 0x08ca);
packet(SMSG_NPC_AREA, 0x0b0b);
packet(SMSG_NPC_SHOW_DIGIT, 0x01b1);
-packet(SMSG_PLAYER_CHAT, 0x008e); /**< Player talks */
-packet(SMSG_WHISPER, 0x0097); /**< Whisper Recieved */
+packet(SMSG_PLAYER_CHAT, 0x008e);
+packet(SMSG_WHISPER, 0x0097);
packet(SMSG_WHISPER_RESPONSE, 0x09df);
-packet(SMSG_GM_CHAT, 0x009a); /**< GM announce */
+packet(SMSG_GM_CHAT, 0x009a);
packet(SMSG_GM_CHAT2, 0x01c3);
packet(SMSG_WALK_RESPONSE, 0x0087);
@@ -232,7 +231,6 @@ packet(SMSG_BUYINGSTORE_REPORT, 0x081b);
packet(SMSG_BUYINGSTORE_DELETE_ITEM, 0x081c);
packet(SMSG_BUYINGSTORE_SELLER_SELL_FAILED, 0x0824);
-// Receiving a request to trade
packet(SMSG_TRADE_REQUEST_OUTDATED, 0x00e5);
packet(SMSG_TRADE_REQUEST, 0x01f4);
packet(SMSG_TRADE_RESPONSE_OUTDATED, 0x00e7);
@@ -258,14 +256,13 @@ packet(SMSG_PARTY_MEMBER_INFO, 0x01e9);
packet(SMSG_PARTY_ITEM_PICKUP, 0x02b8);
packet(SMSG_PARTY_LEADER, 0x07fc);
-packet(SMSG_PLAYER_STORAGE_ITEMS, 0x0995); /* Item list for storage */
-packet(SMSG_PLAYER_STORAGE_EQUIP, 0x0996); /* Equipment list for storage */
-packet(SMSG_PLAYER_STORAGE_STATUS, 0x00f2); /* Slots used and total slots */
+packet(SMSG_PLAYER_STORAGE_ITEMS, 0x0995);
+packet(SMSG_PLAYER_STORAGE_EQUIP, 0x0996);
+packet(SMSG_PLAYER_STORAGE_STATUS, 0x00f2);
packet(SMSG_PLAYER_STORAGE_ADD_OUTDATED, 0x00f4);
-packet(SMSG_PLAYER_STORAGE_ADD, 0x01c4); /* Add item/equip to storage */
-// Remove item/equip from storage
+packet(SMSG_PLAYER_STORAGE_ADD, 0x01c4);
packet(SMSG_PLAYER_STORAGE_REMOVE, 0x00f6);
-packet(SMSG_PLAYER_STORAGE_CLOSE, 0x00f8); /* Storage access closed */
+packet(SMSG_PLAYER_STORAGE_CLOSE, 0x00f8);
packet(SMSG_PLAYER_STORAGE_PASSWORD, 0x023a);
packet(SMSG_PLAYER_STORAGE_PASSWORD_RESULT, 0x023c);
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 709595402..d7f45e567 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -37,7 +37,7 @@ packet(CMSG_CHAR_RENAME, 0x028f);
packet(CMSG_CHAR_CHANGE_SLOT, 0x08d4);
packet(CMSG_MAP_SERVER_CONNECT, 0x089c);
-packet(CMSG_MAP_PING, 0x035f); /**< Send to server with tick */
+packet(CMSG_MAP_PING, 0x035f);
packet(CMSG_LOGIN_PING, 0x0200);
packet(CMSG_CHAR_PING, 0x0187);
packet(CMSG_MAP_LOADED, 0x007d);
@@ -66,7 +66,6 @@ packet(CMSG_SKILL_LEVELUP_REQUEST, 0x0112);
packet(CMSG_STAT_UPDATE_REQUEST, 0x00bb);
packet(CMSG_SKILL_USE_BEING, 0x083c);
packet(CMSG_SKILL_USE_POSITION, 0x0436);
-// Variant of 0x116 with 80 char string at end (unsure of use)
packet(CMSG_SKILL_USE_POSITION_MORE, 0x0366);
packet(CMSG_SKILL_USE_MAP, 0x011b);
@@ -126,9 +125,9 @@ packet(CMSG_PARTY_MESSAGE, 0x0108);
packet(CMSG_PARTY_CHANGE_LEADER, 0x07da);
packet(CMSG_PARTY_ALLOW_INVITES, 0x02c8);
-packet(CMSG_MOVE_TO_STORAGE, 0x07ec); /** Move item to storage */
-packet(CMSG_MOVE_FROM_STORAGE, 0x085b); /** Remove item from storage */
-packet(CMSG_CLOSE_STORAGE, 0x0193); /** Request storage close */
+packet(CMSG_MOVE_TO_STORAGE, 0x07ec);
+packet(CMSG_MOVE_FROM_STORAGE, 0x085b);
+packet(CMSG_CLOSE_STORAGE, 0x0193);
packet(CMSG_MOVE_TO_CART, 0x0126);
packet(CMSG_MOVE_FROM_CART, 0x0127);
diff --git a/src/net/tmwa/packetsin.inc b/src/net/tmwa/packetsin.inc
index af219d4a5..ee0830503 100644
--- a/src/net/tmwa/packetsin.inc
+++ b/src/net/tmwa/packetsin.inc
@@ -22,10 +22,10 @@
packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531);
-packet(SMSG_SERVER_PING, 0x007f); /**< Contains server tick */
+packet(SMSG_SERVER_PING, 0x007f);
packet(SMSG_CONNECTION_PROBLEM, 0x0081);
-packet(SMSG_UPDATE_HOST, 0x0063); /**< Custom update host packet */
+packet(SMSG_UPDATE_HOST, 0x0063);
packet(SMSG_LOGIN_DATA, 0x0069);
packet(SMSG_LOGIN_ERROR, 0x006a);
@@ -38,18 +38,17 @@ packet(SMSG_CHAR_DELETE_SUCCEEDED, 0x006f);
packet(SMSG_CHAR_DELETE_FAILED, 0x0070);
packet(SMSG_CHAR_MAP_INFO, 0x0071);
-// Custom packet reply to password change request
packet(SMSG_CHAR_PASSWORD_RESPONSE, 0x0062);
packet(SMSG_CHAR_SWITCH_RESPONSE, 0x00b3);
packet(SMSG_CHANGE_MAP_SERVER, 0x0092);
-packet(SMSG_MAP_LOGIN_SUCCESS, 0x0073); /**< Contains starting location */
+packet(SMSG_MAP_LOGIN_SUCCESS, 0x0073);
packet(SMSG_MAP_QUIT_RESPONSE, 0x018b);
packet(SMSG_PLAYER_UPDATE_1, 0x01d8);
packet(SMSG_PLAYER_UPDATE_2, 0x01d9);
-packet(SMSG_PLAYER_MOVE, 0x01da); /**< A nearby player moves */
-packet(SMSG_PLAYER_STOP, 0x0088); /**< Stop walking, set position */
+packet(SMSG_PLAYER_MOVE, 0x01da);
+packet(SMSG_PLAYER_STOP, 0x0088);
packet(SMSG_PLAYER_MOVE_TO_ATTACK, 0x0139);
packet(SMSG_PLAYER_STAT_UPDATE_1, 0x00b0);
packet(SMSG_PLAYER_STAT_UPDATE_2, 0x00b1);
@@ -74,22 +73,21 @@ packet(SMSG_PLAYER_SKILL_UP, 0x010e);
packet(SMSG_SKILL_FAILED, 0x0110);
packet(SMSG_SKILL_DAMAGE, 0x01de);
packet(SMSG_ITEM_USE_RESPONSE, 0x00a8);
-packet(SMSG_ITEM_VISIBLE, 0x009d); /**< An item is on the floor */
-packet(SMSG_ITEM_DROPPED, 0x009e); /**< An item is dropped */
-packet(SMSG_ITEM_REMOVE, 0x00a1); /**< An item disappers */
+packet(SMSG_ITEM_VISIBLE, 0x009d);
+packet(SMSG_ITEM_DROPPED, 0x009e);
+packet(SMSG_ITEM_REMOVE, 0x00a1);
packet(SMSG_BEING_VISIBLE, 0x0078);
-packet(SMSG_BEING_MOVE, 0x007b); /**< A nearby monster moves */
-packet(SMSG_BEING_SPAWN, 0x007c); /**< A being spawns nearby */
-packet(SMSG_BEING_MOVE2, 0x0086); /**< New eAthena being moves */
+packet(SMSG_BEING_MOVE, 0x007b);
+packet(SMSG_BEING_SPAWN, 0x007c);
+packet(SMSG_BEING_MOVE2, 0x0086);
packet(SMSG_BEING_REMOVE, 0x0080);
packet(SMSG_BEING_CHANGE_LOOKS, 0x00c3);
-// Same as 0x00c3, but 16 bit ID
packet(SMSG_BEING_CHANGE_LOOKS2, 0x01d7);
packet(SMSG_BEING_SELFEFFECT, 0x019b);
packet(SMSG_BEING_EMOTION, 0x00c0);
-packet(SMSG_BEING_ACTION, 0x008a); /**< Attack, sit, stand up, ... */
-packet(SMSG_BEING_CHAT, 0x008d); /**< A being talks */
-packet(SMSG_BEING_NAME_RESPONSE, 0x0095); /**< Has to be requested */
+packet(SMSG_BEING_ACTION, 0x008a);
+packet(SMSG_BEING_CHAT, 0x008d);
+packet(SMSG_BEING_NAME_RESPONSE, 0x0095);
packet(SMSG_BEING_CHANGE_DIRECTION, 0x009c);
packet(SMSG_BEING_RESURRECT, 0x0148);
@@ -100,25 +98,24 @@ packet(SMSG_BEING_STATUS_CHANGE, 0x0196);
packet(SMSG_NPC_MESSAGE, 0x00b4);
packet(SMSG_NPC_NEXT, 0x00b5);
packet(SMSG_NPC_CLOSE, 0x00b6);
-packet(SMSG_NPC_CHOICE, 0x00b7); /**< Display a choice */
+packet(SMSG_NPC_CHOICE, 0x00b7);
packet(SMSG_NPC_BUY_SELL_CHOICE, 0x00c4);
packet(SMSG_NPC_BUY, 0x00c6);
packet(SMSG_NPC_SELL, 0x00c7);
packet(SMSG_NPC_BUY_RESPONSE, 0x00ca);
packet(SMSG_NPC_SELL_RESPONSE, 0x00cb);
-packet(SMSG_NPC_INT_INPUT, 0x0142); /**< Integer input */
-packet(SMSG_NPC_STR_INPUT, 0x01d4); /**< String input */
-packet(SMSG_PLAYER_CHAT, 0x008e); /**< Player talks */
-packet(SMSG_WHISPER, 0x0097); /**< Whisper Recieved */
+packet(SMSG_NPC_INT_INPUT, 0x0142);
+packet(SMSG_NPC_STR_INPUT, 0x01d4);
+packet(SMSG_PLAYER_CHAT, 0x008e);
+packet(SMSG_WHISPER, 0x0097);
packet(SMSG_WHISPER_RESPONSE, 0x0098);
-packet(SMSG_GM_CHAT, 0x009a); /**< GM announce */
+packet(SMSG_GM_CHAT, 0x009a);
packet(SMSG_WALK_RESPONSE, 0x0087);
-// Receiving a request to trade
packet(SMSG_TRADE_REQUEST, 0x00e5);
packet(SMSG_TRADE_RESPONSE, 0x00e7);
packet(SMSG_TRADE_ITEM_ADD, 0x00e9);
-packet(SMSG_TRADE_ITEM_ADD_RESPONSE, 0x01b1); /**< Not standard eAthena! */
+packet(SMSG_TRADE_ITEM_ADD_RESPONSE, 0x01b1);
packet(SMSG_TRADE_OK, 0x00ec);
packet(SMSG_TRADE_CANCEL, 0x00ee);
packet(SMSG_TRADE_COMPLETE, 0x00f0);
@@ -134,13 +131,12 @@ packet(SMSG_PARTY_UPDATE_HP, 0x0106);
packet(SMSG_PARTY_UPDATE_COORDS, 0x0107);
packet(SMSG_PARTY_MESSAGE, 0x0109);
-packet(SMSG_PLAYER_STORAGE_ITEMS, 0x01f0); /**< Item list for storage */
-packet(SMSG_PLAYER_STORAGE_EQUIP, 0x00a6); /**< Equipment list for storage */
-packet(SMSG_PLAYER_STORAGE_STATUS, 0x00f2); /**< Slots used and total slots */
-packet(SMSG_PLAYER_STORAGE_ADD, 0x00f4); /**< Add item/equip to storage */
-// Remove item/equip from storage
+packet(SMSG_PLAYER_STORAGE_ITEMS, 0x01f0);
+packet(SMSG_PLAYER_STORAGE_EQUIP, 0x00a6);
+packet(SMSG_PLAYER_STORAGE_STATUS, 0x00f2);
+packet(SMSG_PLAYER_STORAGE_ADD, 0x00f4);
packet(SMSG_PLAYER_STORAGE_REMOVE, 0x00f6);
-packet(SMSG_PLAYER_STORAGE_CLOSE, 0x00f8); /**< Storage access closed */
+packet(SMSG_PLAYER_STORAGE_CLOSE, 0x00f8);
packet(SMSG_ADMIN_KICK_ACK, 0x00cd);
diff --git a/src/net/tmwa/packetsout.inc b/src/net/tmwa/packetsout.inc
index 011af496a..db7bad749 100644
--- a/src/net/tmwa/packetsout.inc
+++ b/src/net/tmwa/packetsout.inc
@@ -26,7 +26,6 @@ packet(CMSG_LOGIN_REGISTER, 0x0064);
packet(CMSG_NAME_REQUEST, 0x0094);
-// Custom change password packet
packet(CMSG_CHAR_PASSWORD_CHANGE, 0x0061);
packet(CMSG_CHAR_SERVER_CONNECT, 0x0065);
packet(CMSG_CHAR_SELECT, 0x0066);
@@ -34,7 +33,7 @@ packet(CMSG_CHAR_CREATE, 0x0067);
packet(CMSG_CHAR_DELETE, 0x0068);
packet(CMSG_MAP_SERVER_CONNECT, 0x0072);
-packet(CMSG_MAP_PING, 0x007e); /**< Send to server with tick */
+packet(CMSG_MAP_PING, 0x007e);
packet(CMSG_MAP_LOADED, 0x007d);
packet(CMSG_CLIENT_QUIT, 0x018A);
@@ -46,7 +45,6 @@ packet(CMSG_SKILL_LEVELUP_REQUEST, 0x0112);
packet(CMSG_STAT_UPDATE_REQUEST, 0x00bb);
packet(CMSG_SKILL_USE_BEING, 0x0113);
packet(CMSG_SKILL_USE_POSITION, 0x0116);
-// Variant of 0x116 with 80 char string at end (unsure of use)
packet(CMSG_SKILL_USE_POSITION_MORE, 0x0190);
packet(CMSG_SKILL_USE_MAP, 0x011b);
@@ -89,9 +87,9 @@ packet(CMSG_PARTY_SETTINGS, 0x0102);
packet(CMSG_PARTY_KICK, 0x0103);
packet(CMSG_PARTY_MESSAGE, 0x0108);
-packet(CMSG_MOVE_TO_STORAGE, 0x00f3); /** Move item to storage */
-packet(CMSG_MOVE_FROM_STORAGE, 0x00f5); /** Remove item from storage */
-packet(CMSG_CLOSE_STORAGE, 0x00f7); /** Request storage close */
+packet(CMSG_MOVE_TO_STORAGE, 0x00f3);
+packet(CMSG_MOVE_FROM_STORAGE, 0x00f5);
+packet(CMSG_CLOSE_STORAGE, 0x00f7);
packet(CMSG_ADMIN_ANNOUNCE, 0x0099);
packet(CMSG_ADMIN_LOCAL_ANNOUNCE, 0x019C);