diff options
-rw-r--r-- | servergreps/hercules/20141016/serverpackets.txt | 13 | ||||
-rw-r--r-- | servergreps/hercules/20141022/serverpackets.txt | 13 | ||||
-rw-r--r-- | servergreps/hercules/20150226/serverpackets.txt | 13 | ||||
-rw-r--r-- | servergreps/hercules/20150513/serverpackets.txt | 13 | ||||
-rw-r--r-- | servergreps/hercules/20150805/serverpackets.txt | 13 | ||||
-rwxr-xr-x | servergreps/hercules/packets.py | 11 |
6 files changed, 70 insertions, 6 deletions
diff --git a/servergreps/hercules/20141016/serverpackets.txt b/servergreps/hercules/20141016/serverpackets.txt index 0fa3196..6a4995e 100644 --- a/servergreps/hercules/20141016/serverpackets.txt +++ b/servergreps/hercules/20141016/serverpackets.txt @@ -21,6 +21,7 @@ j 8e client name: SMSG_PLAYER_CHAT 91 client name: SMSG_PLAYER_WARP 92 client name: SMSG_CHANGE_MAP_SERVER +95 client name: SMSG_BEING_NAME_RESPONSE 97 client name: SMSG_WHISPER 9a client name: SMSG_GM_CHAT 9c client name: SMSG_BEING_CHANGE_DIRECTION @@ -72,7 +73,10 @@ f8 client name: SMSG_PLAYER_STORAGE_CLOSE fa client name: SMSG_PARTY_CREATE fb client name: SMSG_PARTY_INFO fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED +fe +101 105 client name: SMSG_PARTY_LEAVE +106 107 client name: SMSG_PARTY_UPDATE_COORDS 109 client name: SMSG_PARTY_MESSAGE 10a client name: SMSG_MVP_ITEM @@ -98,6 +102,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 12d client name: SMSG_VENDING_OPEN_REQ 131 client name: SMSG_VENDING_SHOW_BOARD 132 client name: SMSG_VENDING_HIDE_BOARD +133 client name: SMSG_VENDING_ITEMS_LIST 135 client name: SMSG_VENDING_BUY_ACK 136 client name: SMSG_VENDING_OPEN 137 client name: SMSG_VENDING_REPORT @@ -106,6 +111,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 13b client name: SMSG_PLAYER_ARROW_MESSAGE 13c client name: SMSG_PLAYER_ARROW_EQUIP 13d client name: SMSG_PLAYER_HEAL +13e client name: SMSG_SKILL_CASTING 141 client name: SMSG_PLAYER_STAT_UPDATE_3 142 client name: SMSG_NPC_INT_INPUT 144 client name: SMSG_NPC_VIEWPOINT @@ -271,6 +277,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2bb client name: SMSG_ITEM_DAMAGED 2c1 client name: SMSG_COLOR_MESSAGE 2c5 client name: SMSG_PARTY_INVITE_RESPONSE +2c6 client name: SMSG_PARTY_INVITED 2c9 client name: SMSG_PARTY_INVITATION_STATS 2cb client name: SMSG_INSTANCE_START 2cc client name: SMSG_INSTANCE_CREATE @@ -283,6 +290,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2dd client name: SMSG_BATTLE_EMBLEM 2de client name: SMSG_BATTLE_UPDATE_SCORE 2df client name: SMSG_BATTLE_UPDATE_COORDS +2e0 2eb client name: SMSG_MAP_LOGIN_SUCCESS 2ef client name: SMSG_BEING_FONT 2f0 client name: SMSG_NPC_SHOW_PROGRESS_BAR @@ -294,6 +302,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 441 client name: SMSG_PLAYER_DELETE_SKILL 442 client name: SMSG_AUTOSHADOW_SPELL_LIST 446 client name: SMSG_QUEST_NPC_EFFECT +7d8 client name: SMSG_PARTY_SETTINGS 7d9 client name: SMSG_PLAYER_SHORTCUTS 7e1 client name: SMSG_PLAYER_UPDATE_SKILL 7e2 client name: SMSG_FORMAT_MESSAGE_NUMBER @@ -302,15 +311,18 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 7e9 client name: SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 7f6 client name: SMSG_PLAYER_GET_EXP 7fa client name: SMSG_PLAYER_INVENTORY_REMOVE2 +7fb client name: SMSG_SKILL_CASTING 7fc client name: SMSG_PARTY_LEADER 7fd client name: SMSG_ITEM_MVP_DROPPED 7fe client name: SMSG_BATTLE_PLAY +800 client name: SMSG_VENDING_ITEMS_LIST 803 client name: SMSG_BOOKING_REGISTER_ACK 805 client name: SMSG_BOOKING_SEARCH_ACK 807 client name: SMSG_BOOKING_DELETE_ACK 809 client name: SMSG_BOOKING_INSERT_NOTIFY 80a client name: SMSG_BOOKING_UPDATE_NOTIFY 80b client name: SMSG_BOOKING_DELETE_NOTIFY +80e client name: SMSG_PLAYER_HP 80f client name: SMSG_TRADE_ITEM_ADD 810 client name: SMSG_BUYINGSTORE_OPEN 812 client name: SMSG_BUYINGSTORE_CREATE_FAILED @@ -398,7 +410,6 @@ a1c client name: SMSG_ROULETTE_INFO_ACK_TYPE a20 client name: SMSG_ROULETTE_GENERATE_ACK_TYPE a22 client name: SMSG_ROULETTE_RECV_ITEM_ACK a28 -cmd 2710 2711 2712 diff --git a/servergreps/hercules/20141022/serverpackets.txt b/servergreps/hercules/20141022/serverpackets.txt index e6a1818..46f7543 100644 --- a/servergreps/hercules/20141022/serverpackets.txt +++ b/servergreps/hercules/20141022/serverpackets.txt @@ -21,6 +21,7 @@ j 8e client name: SMSG_PLAYER_CHAT 91 client name: SMSG_PLAYER_WARP 92 client name: SMSG_CHANGE_MAP_SERVER +95 client name: SMSG_BEING_NAME_RESPONSE 97 client name: SMSG_WHISPER 9a client name: SMSG_GM_CHAT 9c client name: SMSG_BEING_CHANGE_DIRECTION @@ -72,7 +73,10 @@ f8 client name: SMSG_PLAYER_STORAGE_CLOSE fa client name: SMSG_PARTY_CREATE fb client name: SMSG_PARTY_INFO fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED +fe +101 105 client name: SMSG_PARTY_LEAVE +106 107 client name: SMSG_PARTY_UPDATE_COORDS 109 client name: SMSG_PARTY_MESSAGE 10a client name: SMSG_MVP_ITEM @@ -98,6 +102,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 12d client name: SMSG_VENDING_OPEN_REQ 131 client name: SMSG_VENDING_SHOW_BOARD 132 client name: SMSG_VENDING_HIDE_BOARD +133 client name: SMSG_VENDING_ITEMS_LIST 135 client name: SMSG_VENDING_BUY_ACK 136 client name: SMSG_VENDING_OPEN 137 client name: SMSG_VENDING_REPORT @@ -106,6 +111,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 13b client name: SMSG_PLAYER_ARROW_MESSAGE 13c client name: SMSG_PLAYER_ARROW_EQUIP 13d client name: SMSG_PLAYER_HEAL +13e client name: SMSG_SKILL_CASTING 141 client name: SMSG_PLAYER_STAT_UPDATE_3 142 client name: SMSG_NPC_INT_INPUT 144 client name: SMSG_NPC_VIEWPOINT @@ -270,6 +276,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2bb client name: SMSG_ITEM_DAMAGED 2c1 client name: SMSG_COLOR_MESSAGE 2c5 client name: SMSG_PARTY_INVITE_RESPONSE +2c6 client name: SMSG_PARTY_INVITED 2c9 client name: SMSG_PARTY_INVITATION_STATS 2cb client name: SMSG_INSTANCE_START 2cc client name: SMSG_INSTANCE_CREATE @@ -282,6 +289,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2dd client name: SMSG_BATTLE_EMBLEM 2de client name: SMSG_BATTLE_UPDATE_SCORE 2df client name: SMSG_BATTLE_UPDATE_COORDS +2e0 2ef client name: SMSG_BEING_FONT 2f0 client name: SMSG_NPC_SHOW_PROGRESS_BAR 2f2 client name: SMSG_NPC_PROGRESS_BAR_ABORT @@ -292,6 +300,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 441 client name: SMSG_PLAYER_DELETE_SKILL 442 client name: SMSG_AUTOSHADOW_SPELL_LIST 446 client name: SMSG_QUEST_NPC_EFFECT +7d8 client name: SMSG_PARTY_SETTINGS 7e1 client name: SMSG_PLAYER_UPDATE_SKILL 7e2 client name: SMSG_FORMAT_MESSAGE_NUMBER 7e3 client name: SMSG_SKILL_ITEM_LIST_WINDOW @@ -299,15 +308,18 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 7e9 client name: SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 7f6 client name: SMSG_PLAYER_GET_EXP 7fa client name: SMSG_PLAYER_INVENTORY_REMOVE2 +7fb client name: SMSG_SKILL_CASTING 7fc client name: SMSG_PARTY_LEADER 7fd client name: SMSG_ITEM_MVP_DROPPED 7fe client name: SMSG_BATTLE_PLAY +800 client name: SMSG_VENDING_ITEMS_LIST 803 client name: SMSG_BOOKING_REGISTER_ACK 805 client name: SMSG_BOOKING_SEARCH_ACK 807 client name: SMSG_BOOKING_DELETE_ACK 809 client name: SMSG_BOOKING_INSERT_NOTIFY 80a client name: SMSG_BOOKING_UPDATE_NOTIFY 80b client name: SMSG_BOOKING_DELETE_NOTIFY +80e client name: SMSG_PLAYER_HP 80f client name: SMSG_TRADE_ITEM_ADD 810 client name: SMSG_BUYINGSTORE_OPEN 812 client name: SMSG_BUYINGSTORE_CREATE_FAILED @@ -398,7 +410,6 @@ a1c client name: SMSG_ROULETTE_INFO_ACK_TYPE a20 client name: SMSG_ROULETTE_GENERATE_ACK_TYPE a22 client name: SMSG_ROULETTE_RECV_ITEM_ACK a28 client name: SMSG_VENDING_OPEN_STATUS -cmd 2710 2711 2712 diff --git a/servergreps/hercules/20150226/serverpackets.txt b/servergreps/hercules/20150226/serverpackets.txt index ce926e0..a8421d0 100644 --- a/servergreps/hercules/20150226/serverpackets.txt +++ b/servergreps/hercules/20150226/serverpackets.txt @@ -21,6 +21,7 @@ j 8e client name: SMSG_PLAYER_CHAT 91 client name: SMSG_PLAYER_WARP 92 client name: SMSG_CHANGE_MAP_SERVER +95 client name: SMSG_BEING_NAME_RESPONSE 97 client name: SMSG_WHISPER 9a client name: SMSG_GM_CHAT 9c client name: SMSG_BEING_CHANGE_DIRECTION @@ -72,7 +73,10 @@ f8 client name: SMSG_PLAYER_STORAGE_CLOSE fa client name: SMSG_PARTY_CREATE fb client name: SMSG_PARTY_INFO fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED +fe +101 105 client name: SMSG_PARTY_LEAVE +106 107 client name: SMSG_PARTY_UPDATE_COORDS 109 client name: SMSG_PARTY_MESSAGE 10a client name: SMSG_MVP_ITEM @@ -98,6 +102,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 12d client name: SMSG_VENDING_OPEN_REQ 131 client name: SMSG_VENDING_SHOW_BOARD 132 client name: SMSG_VENDING_HIDE_BOARD +133 client name: SMSG_VENDING_ITEMS_LIST 135 client name: SMSG_VENDING_BUY_ACK 136 client name: SMSG_VENDING_OPEN 137 client name: SMSG_VENDING_REPORT @@ -106,6 +111,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 13b client name: SMSG_PLAYER_ARROW_MESSAGE 13c client name: SMSG_PLAYER_ARROW_EQUIP 13d client name: SMSG_PLAYER_HEAL +13e client name: SMSG_SKILL_CASTING 141 client name: SMSG_PLAYER_STAT_UPDATE_3 142 client name: SMSG_NPC_INT_INPUT 144 client name: SMSG_NPC_VIEWPOINT @@ -268,6 +274,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2bb client name: SMSG_ITEM_DAMAGED 2c1 client name: SMSG_COLOR_MESSAGE 2c5 client name: SMSG_PARTY_INVITE_RESPONSE +2c6 client name: SMSG_PARTY_INVITED 2c9 client name: SMSG_PARTY_INVITATION_STATS 2cb client name: SMSG_INSTANCE_START 2cc client name: SMSG_INSTANCE_CREATE @@ -280,6 +287,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2dd client name: SMSG_BATTLE_EMBLEM 2de client name: SMSG_BATTLE_UPDATE_SCORE 2df client name: SMSG_BATTLE_UPDATE_COORDS +2e0 2ef client name: SMSG_BEING_FONT 2f0 client name: SMSG_NPC_SHOW_PROGRESS_BAR 2f2 client name: SMSG_NPC_PROGRESS_BAR_ABORT @@ -290,6 +298,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 441 client name: SMSG_PLAYER_DELETE_SKILL 442 client name: SMSG_AUTOSHADOW_SPELL_LIST 446 client name: SMSG_QUEST_NPC_EFFECT +7d8 client name: SMSG_PARTY_SETTINGS 7e1 client name: SMSG_PLAYER_UPDATE_SKILL 7e2 client name: SMSG_FORMAT_MESSAGE_NUMBER 7e3 client name: SMSG_SKILL_ITEM_LIST_WINDOW @@ -297,15 +306,18 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 7e9 client name: SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 7f6 client name: SMSG_PLAYER_GET_EXP 7fa client name: SMSG_PLAYER_INVENTORY_REMOVE2 +7fb client name: SMSG_SKILL_CASTING 7fc client name: SMSG_PARTY_LEADER 7fd client name: SMSG_ITEM_MVP_DROPPED 7fe client name: SMSG_BATTLE_PLAY +800 client name: SMSG_VENDING_ITEMS_LIST 803 client name: SMSG_BOOKING_REGISTER_ACK 805 client name: SMSG_BOOKING_SEARCH_ACK 807 client name: SMSG_BOOKING_DELETE_ACK 809 client name: SMSG_BOOKING_INSERT_NOTIFY 80a client name: SMSG_BOOKING_UPDATE_NOTIFY 80b client name: SMSG_BOOKING_DELETE_NOTIFY +80e client name: SMSG_PLAYER_HP 810 client name: SMSG_BUYINGSTORE_OPEN 812 client name: SMSG_BUYINGSTORE_CREATE_FAILED 813 client name: SMSG_BUYINGSTORE_OWN_ITEMS @@ -398,7 +410,6 @@ a20 client name: SMSG_ROULETTE_GENERATE_ACK_TYPE a22 client name: SMSG_ROULETTE_RECV_ITEM_ACK a28 client name: SMSG_VENDING_OPEN_STATUS a2d client name: SMSG_BEING_VIEW_EQUIPMENT -cmd 2710 2711 2712 diff --git a/servergreps/hercules/20150513/serverpackets.txt b/servergreps/hercules/20150513/serverpackets.txt index 5fde88d..63c35d4 100644 --- a/servergreps/hercules/20150513/serverpackets.txt +++ b/servergreps/hercules/20150513/serverpackets.txt @@ -21,6 +21,7 @@ j 8e client name: SMSG_PLAYER_CHAT 91 client name: SMSG_PLAYER_WARP 92 client name: SMSG_CHANGE_MAP_SERVER +95 client name: SMSG_BEING_NAME_RESPONSE 97 client name: SMSG_WHISPER 9a client name: SMSG_GM_CHAT 9c client name: SMSG_BEING_CHANGE_DIRECTION @@ -72,7 +73,10 @@ f8 client name: SMSG_PLAYER_STORAGE_CLOSE fa client name: SMSG_PARTY_CREATE fb client name: SMSG_PARTY_INFO fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED +fe +101 105 client name: SMSG_PARTY_LEAVE +106 107 client name: SMSG_PARTY_UPDATE_COORDS 109 client name: SMSG_PARTY_MESSAGE 10a client name: SMSG_MVP_ITEM @@ -98,6 +102,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 12d client name: SMSG_VENDING_OPEN_REQ 131 client name: SMSG_VENDING_SHOW_BOARD 132 client name: SMSG_VENDING_HIDE_BOARD +133 client name: SMSG_VENDING_ITEMS_LIST 135 client name: SMSG_VENDING_BUY_ACK 136 client name: SMSG_VENDING_OPEN 137 client name: SMSG_VENDING_REPORT @@ -106,6 +111,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 13b client name: SMSG_PLAYER_ARROW_MESSAGE 13c client name: SMSG_PLAYER_ARROW_EQUIP 13d client name: SMSG_PLAYER_HEAL +13e client name: SMSG_SKILL_CASTING 141 client name: SMSG_PLAYER_STAT_UPDATE_3 142 client name: SMSG_NPC_INT_INPUT 144 client name: SMSG_NPC_VIEWPOINT @@ -268,6 +274,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2bb client name: SMSG_ITEM_DAMAGED 2c1 client name: SMSG_COLOR_MESSAGE 2c5 client name: SMSG_PARTY_INVITE_RESPONSE +2c6 client name: SMSG_PARTY_INVITED 2c9 client name: SMSG_PARTY_INVITATION_STATS 2cb client name: SMSG_INSTANCE_START 2cc client name: SMSG_INSTANCE_CREATE @@ -280,6 +287,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2dd client name: SMSG_BATTLE_EMBLEM 2de client name: SMSG_BATTLE_UPDATE_SCORE 2df client name: SMSG_BATTLE_UPDATE_COORDS +2e0 2ef client name: SMSG_BEING_FONT 2f0 client name: SMSG_NPC_SHOW_PROGRESS_BAR 2f2 client name: SMSG_NPC_PROGRESS_BAR_ABORT @@ -290,6 +298,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 441 client name: SMSG_PLAYER_DELETE_SKILL 442 client name: SMSG_AUTOSHADOW_SPELL_LIST 446 client name: SMSG_QUEST_NPC_EFFECT +7d8 client name: SMSG_PARTY_SETTINGS 7e1 client name: SMSG_PLAYER_UPDATE_SKILL 7e2 client name: SMSG_FORMAT_MESSAGE_NUMBER 7e3 client name: SMSG_SKILL_ITEM_LIST_WINDOW @@ -297,15 +306,18 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 7e9 client name: SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 7f6 client name: SMSG_PLAYER_GET_EXP 7fa client name: SMSG_PLAYER_INVENTORY_REMOVE2 +7fb client name: SMSG_SKILL_CASTING 7fc client name: SMSG_PARTY_LEADER 7fd client name: SMSG_ITEM_MVP_DROPPED 7fe client name: SMSG_BATTLE_PLAY +800 client name: SMSG_VENDING_ITEMS_LIST 803 client name: SMSG_BOOKING_REGISTER_ACK 805 client name: SMSG_BOOKING_SEARCH_ACK 807 client name: SMSG_BOOKING_DELETE_ACK 809 client name: SMSG_BOOKING_INSERT_NOTIFY 80a client name: SMSG_BOOKING_UPDATE_NOTIFY 80b client name: SMSG_BOOKING_DELETE_NOTIFY +80e client name: SMSG_PLAYER_HP 810 client name: SMSG_BUYINGSTORE_OPEN 812 client name: SMSG_BUYINGSTORE_CREATE_FAILED 813 client name: SMSG_BUYINGSTORE_OWN_ITEMS @@ -398,7 +410,6 @@ a20 client name: SMSG_ROULETTE_GENERATE_ACK_TYPE a22 client name: SMSG_ROULETTE_RECV_ITEM_ACK a28 client name: SMSG_VENDING_OPEN_STATUS a2d client name: SMSG_BEING_VIEW_EQUIPMENT -cmd 2710 2711 2712 diff --git a/servergreps/hercules/20150805/serverpackets.txt b/servergreps/hercules/20150805/serverpackets.txt index d8c5dd4..f23cf41 100644 --- a/servergreps/hercules/20150805/serverpackets.txt +++ b/servergreps/hercules/20150805/serverpackets.txt @@ -21,6 +21,7 @@ j 8e client name: SMSG_PLAYER_CHAT 91 client name: SMSG_PLAYER_WARP 92 client name: SMSG_CHANGE_MAP_SERVER +95 client name: SMSG_BEING_NAME_RESPONSE 97 client name: SMSG_WHISPER 9a client name: SMSG_GM_CHAT 9c client name: SMSG_BEING_CHANGE_DIRECTION @@ -72,7 +73,10 @@ f8 client name: SMSG_PLAYER_STORAGE_CLOSE fa client name: SMSG_PARTY_CREATE fb client name: SMSG_PARTY_INFO fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED +fe +101 105 client name: SMSG_PARTY_LEAVE +106 107 client name: SMSG_PARTY_UPDATE_COORDS 109 client name: SMSG_PARTY_MESSAGE 10a client name: SMSG_MVP_ITEM @@ -98,6 +102,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 12d client name: SMSG_VENDING_OPEN_REQ 131 client name: SMSG_VENDING_SHOW_BOARD 132 client name: SMSG_VENDING_HIDE_BOARD +133 client name: SMSG_VENDING_ITEMS_LIST 135 client name: SMSG_VENDING_BUY_ACK 136 client name: SMSG_VENDING_OPEN 137 client name: SMSG_VENDING_REPORT @@ -106,6 +111,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 13b client name: SMSG_PLAYER_ARROW_MESSAGE 13c client name: SMSG_PLAYER_ARROW_EQUIP 13d client name: SMSG_PLAYER_HEAL +13e client name: SMSG_SKILL_CASTING 141 client name: SMSG_PLAYER_STAT_UPDATE_3 142 client name: SMSG_NPC_INT_INPUT 144 client name: SMSG_NPC_VIEWPOINT @@ -268,6 +274,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2bb client name: SMSG_ITEM_DAMAGED 2c1 client name: SMSG_COLOR_MESSAGE 2c5 client name: SMSG_PARTY_INVITE_RESPONSE +2c6 client name: SMSG_PARTY_INVITED 2c9 client name: SMSG_PARTY_INVITATION_STATS 2cb client name: SMSG_INSTANCE_START 2cc client name: SMSG_INSTANCE_CREATE @@ -280,6 +287,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 2dd client name: SMSG_BATTLE_EMBLEM 2de client name: SMSG_BATTLE_UPDATE_SCORE 2df client name: SMSG_BATTLE_UPDATE_COORDS +2e0 2ef client name: SMSG_BEING_FONT 2f0 client name: SMSG_NPC_SHOW_PROGRESS_BAR 2f2 client name: SMSG_NPC_PROGRESS_BAR_ABORT @@ -290,6 +298,7 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 441 client name: SMSG_PLAYER_DELETE_SKILL 442 client name: SMSG_AUTOSHADOW_SPELL_LIST 446 client name: SMSG_QUEST_NPC_EFFECT +7d8 client name: SMSG_PARTY_SETTINGS 7e1 client name: SMSG_PLAYER_UPDATE_SKILL 7e2 client name: SMSG_FORMAT_MESSAGE_NUMBER 7e3 client name: SMSG_SKILL_ITEM_LIST_WINDOW @@ -297,15 +306,18 @@ fd client name: SMSG_PARTY_INVITE_RESPONSE_OUTDATED 7e9 client name: SMSG_CHAR_CAPTCHA_NOT_SUPPORTED 7f6 client name: SMSG_PLAYER_GET_EXP 7fa client name: SMSG_PLAYER_INVENTORY_REMOVE2 +7fb client name: SMSG_SKILL_CASTING 7fc client name: SMSG_PARTY_LEADER 7fd client name: SMSG_ITEM_MVP_DROPPED 7fe client name: SMSG_BATTLE_PLAY +800 client name: SMSG_VENDING_ITEMS_LIST 803 client name: SMSG_BOOKING_REGISTER_ACK 805 client name: SMSG_BOOKING_SEARCH_ACK 807 client name: SMSG_BOOKING_DELETE_ACK 809 client name: SMSG_BOOKING_INSERT_NOTIFY 80a client name: SMSG_BOOKING_UPDATE_NOTIFY 80b client name: SMSG_BOOKING_DELETE_NOTIFY +80e client name: SMSG_PLAYER_HP 810 client name: SMSG_BUYINGSTORE_OPEN 812 client name: SMSG_BUYINGSTORE_CREATE_FAILED 813 client name: SMSG_BUYINGSTORE_OWN_ITEMS @@ -398,7 +410,6 @@ a20 client name: SMSG_ROULETTE_GENERATE_ACK_TYPE a22 client name: SMSG_ROULETTE_RECV_ITEM_ACK a28 client name: SMSG_VENDING_OPEN_STATUS a2d client name: SMSG_BEING_VIEW_EQUIPMENT -cmd 2710 2711 2712 diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py index 5eaac9a..a72beea 100755 --- a/servergreps/hercules/packets.py +++ b/servergreps/hercules/packets.py @@ -11,10 +11,10 @@ import sys filt = re.compile(".+[.]c", re.IGNORECASE) serverpacketre = re.compile("(WFIFOW|WBUFW)([ ]*)[(]([ ]*)([\w>_-]+),([ ]*)" + "(?P<offset>0)([ ]*)[)]([ ]*)=([ ]*)0x(?P<packet>[0-9a-fA-F]+)([ ]*)[;]") -#serverpacketre2 = re.compile("([.]|[-][>])PacketType([ ]*)=([ ]*)(?P<name>[\w]+);") serverpacketre2 = re.compile("PacketType([ ]*)=([ ]*)(?P<name>[\w_]+);") serverpacketre3 = re.compile("(WFIFOW|WBUFW)([ ]*)[(]([ ]*)([\w>_-]+),([ ]*)" + "(?P<offset>0)([ ]*)[)]([ ]*)=([ ]*)(?P<packet>[0-9\w]+)([ ]*)[;]") +serverpacketre4 = re.compile("int cmd([ ]*)=([ ]*)0x(?P<packet>[0-9a-fA-F]+);") protocolinre = re.compile("packet[(](?P<name>[A-Z0-9_]+),([ ]*)0x(?P<packet>[0-9a-fA-F]+),([ ]*)(?P<len>[\w-]+),([ ]*)") protocolinverre = re.compile("^// (?P<ver>[0-9]+)$") protocoloutre = re.compile("packet[(](?P<name>CMSG_[A-Z0-9_]+),([ ]*)0x(?P<packet>[0-9a-fA-F]+)[)];") @@ -52,6 +52,13 @@ def collectServerPackets(parentDir): elif filt.search(file1): with open(file2, "r") as f: for line in f: + m = serverpacketre4.findall(line) + if len(m) > 0: + for str in m: + data = str[2] + while len(data) < 4: + data = "0" + data + addServerPacket(data) m = serverpacketre.findall(line) if len(m) == 0: m = serverpacketre3.findall(line) @@ -60,6 +67,8 @@ def collectServerPackets(parentDir): if str[9] == "0": continue data = str[9] + if data == "cmd": + continue while len(data) < 4: data = "0" + data addServerPacket(data) |