summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-03 21:08:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-03 21:08:12 +0300
commitd99fd13553fd123530d8c707547a707bc98dfe59 (patch)
tree1b4692d4b3b0999b0f891470522e56761c6acf28
parent57939becca009b44be98d65d1281c00bf20af1a2 (diff)
downloadevol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.gz
evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.bz2
evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.xz
evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.zip
servergreps: add packet version 7.
-rw-r--r--servergreps/hercules/00000007/clientpackets.txt21
-rw-r--r--servergreps/hercules/00000007/serverpackets.txt617
-rw-r--r--servergreps/hercules/00000007/uselesspackets.txt113
-rwxr-xr-xservergreps/hercules/packets.py20
-rwxr-xr-xservergreps/hercules/update.sh17
5 files changed, 772 insertions, 16 deletions
diff --git a/servergreps/hercules/00000007/clientpackets.txt b/servergreps/hercules/00000007/clientpackets.txt
new file mode 100644
index 0000000..8418cf2
--- /dev/null
+++ b/servergreps/hercules/00000007/clientpackets.txt
@@ -0,0 +1,21 @@
+UNIMPLIMENTED CMSG_PARTY_CREATE2
+UNIMPLIMENTED CMSG_PARTY_INVITED
+0072 19 clif->pWantToConnection
+007e 6 clif->pTickSend
+0085 5 clif->pWalkToXY
+0089 7 clif->pActionRequest
+008c -1 clif->pGlobalMessage
+0094 6 clif->pGetCharNameRequest
+009b 5 clif->pChangeDir
+009f 6 clif->pTakeItem
+00a2 6 clif->pDropItem
+00a7 8 clif->pUseItem
+00a9 6 clif->pEquipItem
+00f5 8 clif->pMoveFromKafra
+00f7 2 clif->pCloseKafra
+0113 10 clif->pUseSkillToId
+0116 10 clif->pUseSkillToPos
+013f 26 clif->pGM_Monster_Item
+0190 90 clif->pUseSkillToPosMoreInfo
+096e -1 clif->ackmergeitems
+0974 2 clif->cancelmergeitem
diff --git a/servergreps/hercules/00000007/serverpackets.txt b/servergreps/hercules/00000007/serverpackets.txt
new file mode 100644
index 0000000..90b2897
--- /dev/null
+++ b/servergreps/hercules/00000007/serverpackets.txt
@@ -0,0 +1,617 @@
+j
+69 client name: SMSG_LOGIN_DATA
+6a client name: SMSG_LOGIN_ERROR
+6b client name: SMSG_CHAR_LOGIN
+6c client name: SMSG_CHAR_LOGIN_ERROR
+6d client name: SMSG_CHAR_CREATE_SUCCEEDED
+6e client name: SMSG_CHAR_CREATE_FAILED
+6f client name: SMSG_CHAR_DELETE_SUCCEEDED
+70 client name: SMSG_CHAR_DELETE_FAILED
+71 client name: SMSG_CHAR_MAP_INFO
+73 client name: SMSG_MAP_LOGIN_SUCCESS
+74 client name: SMSG_MAP_AUTH_REFUSE
+78 client name: SMSG_BEING_FAKE_NAME
+7c client name: SMSG_BEING_SPAWN_OUTDATED
+7f client name: SMSG_SERVER_PING
+80 client name: SMSG_BEING_REMOVE
+81 client name: SMSG_CONNECTION_PROBLEM
+86 client name: SMSG_BEING_MOVE2
+87 client name: SMSG_WALK_RESPONSE
+88 client name: SMSG_PLAYER_STOP
+8a client name: SMSG_BEING_ACTION
+8d client name: SMSG_BEING_CHAT
+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
+98 client name: SMSG_WHISPER_RESPONSE
+9a client name: SMSG_GM_CHAT
+9c client name: SMSG_BEING_CHANGE_DIRECTION
+9d client name: SMSG_ITEM_VISIBLE
+9e client name: SMSG_ITEM_DROPPED
+a0
+a1 client name: SMSG_ITEM_REMOVE
+a3
+a4 client name: SMSG_PLAYER_EQUIPMENT
+a5
+a6 client name: SMSG_PLAYER_STORAGE_EQUIP
+a8 client name: SMSG_ITEM_USE_RESPONSE
+aa
+ac
+af client name: SMSG_PLAYER_INVENTORY_REMOVE
+b0 client name: SMSG_PLAYER_STAT_UPDATE_1
+b1 client name: SMSG_PLAYER_STAT_UPDATE_2
+b3 client name: SMSG_CHAR_SWITCH_RESPONSE
+b4 client name: SMSG_NPC_MESSAGE
+b5 client name: SMSG_NPC_NEXT
+b6 client name: SMSG_NPC_CLOSE
+b7 client name: SMSG_NPC_CHOICE
+bc client name: SMSG_PLAYER_STAT_UPDATE_4
+bd client name: SMSG_PLAYER_STAT_UPDATE_5
+be client name: SMSG_PLAYER_STAT_UPDATE_6
+c0 client name: SMSG_BEING_EMOTION
+c2 client name: SMSG_WHO_ANSWER
+c3 client name: SMSG_BEING_CHANGE_LOOKS_OUTDATED
+c4 client name: SMSG_NPC_BUY_SELL_CHOICE
+c6 client name: SMSG_NPC_BUY
+c7 client name: SMSG_NPC_SELL
+ca client name: SMSG_NPC_BUY_RESPONSE
+cb client name: SMSG_NPC_SELL_RESPONSE
+cd client name: SMSG_ADMIN_KICK_ACK
+d1 client name: SMSG_IGNORE_NICK_ACK
+d2 client name: SMSG_IGNORE_ALL_RESPONSE
+d4 client name: SMSG_CHAT_IGNORE_LIST
+d6 client name: SMSG_CHAT_ROOM_CREATE_ACK
+d7 client name: SMSG_CHAT_DISPLAY
+d8 client name: SMSG_CHAT_ROOM_DESTROY
+da client name: SMSG_CHAT_ROOM_JOIN_FAILED
+db client name: SMSG_CHAT_ROOM_JOIN_ACK
+dc client name: SMSG_CHAT_ROOM_ADD_MEMBER
+dd client name: SMSG_CHAT_ROOM_LEAVE
+df client name: SMSG_CHAT_ROOM_SETTINGS
+e1 client name: SMSG_CHAT_ROOM_ROLE_CHANGE
+e5 client name: SMSG_TRADE_REQUEST
+e7 client name: SMSG_TRADE_RESPONSE_OUTDATED
+e9 client name: SMSG_TRADE_ITEM_ADD
+ea client name: SMSG_TRADE_ITEM_ADD_RESPONSE
+ec client name: SMSG_TRADE_OK
+ee client name: SMSG_TRADE_CANCEL
+f0 client name: SMSG_TRADE_COMPLETE
+f1 client name: SMSG_TRADE_UNDO
+f2 client name: SMSG_PLAYER_STORAGE_STATUS
+f6 client name: SMSG_PLAYER_STORAGE_REMOVE
+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 client name: SMSG_PARTY_INVITED
+101 client name: SMSG_PARTY_SETTINGS
+105 client name: SMSG_PARTY_LEAVE
+106 client name: SMSG_PLAYER_HP
+107 client name: SMSG_PARTY_UPDATE_COORDS
+109 client name: SMSG_PARTY_MESSAGE
+10a client name: SMSG_MVP_ITEM
+10b client name: SMSG_MVP_EXP
+10c client name: SMSG_MVP_EFFECT
+10d client name: SMSG_MVP_NO_ITEM
+10e client name: SMSG_PLAYER_SKILL_UP
+10f client name: SMSG_PLAYER_SKILLS
+110 client name: SMSG_SKILL_FAILED
+111 client name: SMSG_PLAYER_ADD_SKILL
+114 client name: SMSG_SKILL_DAMAGE
+115 client name: SMSG_SKILL_GROUND_DAMAGE_UNUSED
+117 client name: SMSG_SKILL_GROUND_NO_DAMAGE
+119 client name: SMSG_PLAYER_STATUS_CHANGE
+11a client name: SMSG_SKILL_NO_DAMAGE
+11c client name: SMSG_SKILL_WARP_POINT
+11e client name: SMSG_SKILL_MEMO_MESSAGE
+11f client name: SMSG_SKILL_ENTRY
+120 client name: SMSG_BEING_REMOVE_SKILL
+121 client name: SMSG_CART_INFO
+122 client name: SMSG_PLAYER_CART_EQUIP
+123
+125 client name: SMSG_PLAYER_CART_REMOVE
+12b client name: SMSG_CART_REMOVE
+12c client name: SMSG_PLAYER_CART_ADD_ERROR
+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
+139 client name: SMSG_PLAYER_MOVE_TO_ATTACK
+13a client name: SMSG_PLAYER_ATTACK_RANGE
+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
+147 client name: SMSG_SKILL_AUTO_CAST
+148 client name: SMSG_BEING_RESURRECT
+14a client name: SMSG_MANNER_MESSAGE
+14b client name: SMSG_CHAT_SILENCE
+14c client name: SMSG_GUILD_ALIANCE_INFO
+14e client name: SMSG_GUILD_MASTER_OR_MEMBER
+152 client name: SMSG_GUILD_EMBLEM_DATA
+154 client name: SMSG_GUILD_MEMBER_LIST
+156 client name: SMSG_GUILD_MEMBER_POS_CHANGE
+15a client name: SMSG_GUILD_LEAVE
+15e client name: SMSG_GUILD_BROKEN
+160 client name: SMSG_GUILD_POS_INFO_LIST
+162 client name: SMSG_GUILD_SKILL_INFO
+163 client name: SMSG_GUILD_EXPULSION_LIST
+166 client name: SMSG_GUILD_POS_NAME_LIST
+167 client name: SMSG_GUILD_CREATE_RESPONSE
+169 client name: SMSG_GUILD_INVITE_ACK
+16a client name: SMSG_GUILD_INVITE
+16c client name: SMSG_GUILD_POSITION_INFO
+16f client name: SMSG_GUILD_NOTICE
+171 client name: SMSG_GUILD_REQ_ALLIANCE
+173 client name: SMSG_GUILD_REQ_ALLIANCE_ACK
+174 client name: SMSG_GUILD_POSITION_CHANGED
+177 client name: SMSG_PLAYER_IDENTIFY_LIST
+179 client name: SMSG_PLAYER_IDENTIFIED
+17b client name: SMSG_PLAYER_USE_CARD
+17d client name: SMSG_PLAYER_INSERT_CARD
+17f client name: SMSG_GUILD_MESSAGE
+181 client name: SMSG_GUILD_OPPOSITION_ACK
+184 client name: SMSG_GUILD_DEL_ALLIANCE
+185 client name: SMSG_GUILD_ALLIANCE_ADDED_DISABLED
+188 client name: SMSG_PLAYER_REFINE
+189 client name: SMSG_PLAYER_NOTIFY_MAPINFO
+18b client name: SMSG_MAP_QUIT_RESPONSE
+18c client name: SMSG_MONSTER_INFO
+18d client name: SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST
+18f client name: SMSG_PLAYER_SKILL_PRODUCE_EFFECT
+191 client name: SMSG_CHAT_TALKIE_BOX
+192 client name: SMSG_ADMIN_SET_TILE_TYPE
+194 client name: SMSG_SOLVE_CHAR_NAME
+196 client name: SMSG_BEING_STATUS_CHANGE
+199 client name: SMSG_PVP_MAP_MODE
+19a client name: SMSG_PVP_SET
+19b client name: SMSG_BEING_SELFEFFECT
+19e client name: SMSG_PET_CATCH_PROCESS
+1a0 client name: SMSG_PET_ROULETTE
+1a2
+1a3 client name: SMSG_PET_FOOD
+1a4 client name: SMSG_PET_DATA
+1a6 client name: SMSG_PET_EGGS_LIST
+1aa client name: SMSG_PET_MESSAGE
+1ab client name: SMSG_BEING_STAT_UPDATE_1
+1ac client name: SMSG_SKILL_UNIT_UPDATE
+1ad client name: SMSG_SKILL_ARROW_CREATE_LIST
+1b0 client name: SMSG_CLASS_CHANGE
+1b1 client name: SMSG_NPC_SHOW_DIGIT
+1b3 client name: SMSG_NPC_CUTIN
+1b4 client name: SMSG_GUILD_EMBLEM
+1b6 client name: SMSG_GUILD_BASIC_INFO
+1b9 client name: SMSG_SKILL_CAST_CANCEL
+1c3 client name: SMSG_GM_CHAT2
+1c4 client name: SMSG_PLAYER_STORAGE_ADD
+1c5 client name: SMSG_PLAYER_CART_ADD
+1c8 client name: SMSG_PLAYER_INVENTORY_USE
+1c9 client name: SMSG_GRAFFITI_VISIBLE
+1cd client name: SMSG_PLAYER_SKILL_AUTO_SPELLS
+1cf client name: SMSG_SKILL_DEVOTION_EFFECT
+1d0 client name: SMSG_SPIRIT_BALLS
+1d1 client name: SMSG_BLADE_STOP
+1d2 client name: SMSG_COMBO_DELAY
+1d3 client name: SMSG_BEING_SOUND_EFFECT
+1d4 client name: SMSG_NPC_STR_INPUT
+1d6 client name: SMSG_MAP_TYPE
+1d7 client name: SMSG_BEING_CHANGE_LOOKS2
+1dc client name: SMSG_LOGIN_CODING_KEY
+1de client name: SMSG_SKILL_DAMAGE
+1e0 client name: SMSG_ADMIN_GET_LOGIN_ACK
+1e1 client name: SMSG_SPIRIT_BALL_SINGLE
+1e2 client name: SMSG_MARRIAGE_PROPOSAL_OUTDATED
+1e4 client name: SMSG_MARRIAGE_PROCESS_OUTDATED
+1e6 client name: SMSG_FAMILY_CALL_PARTNER
+1e9 client name: SMSG_PARTY_MEMBER_INFO
+1ea client name: SMSG_WEDDING_EFFECT
+1eb client name: SMSG_GUILD_UPDATE_COORDS
+1f2 client name: SMSG_GUILD_MEMBER_LOGIN
+1f3 client name: SMSG_BEING_SPECIAL_EFFECT
+1f4 client name: SMSG_TRADE_REQUEST
+1f5 client name: SMSG_TRADE_RESPONSE
+1f6 client name: SMSG_FAMILY_ASK_FOR_CHILD
+1fc client name: SMSG_PLAYER_REPAIR_LIST
+1fe client name: SMSG_PLAYER_REPAIR_EFFECT
+1ff client name: SMSG_BEING_SLIDE
+201 client name: SMSG_FRIENDS_LIST
+205 client name: SMSG_FAMILY_DIVORCED
+206 client name: SMSG_FRIENDS_PLAYER_ONLINE
+207 client name: SMSG_FRIENDS_REQUEST
+209 client name: SMSG_FRIENDS_REQUEST_ACK
+20a client name: SMSG_FRIENDS_DELETE_PLAYER
+20d client name: SMSG_CHAR_BAN_CHAR_LIST
+20e
+210
+214
+215
+216
+219
+21a
+21b
+21c
+221
+223
+224
+226
+229
+22a client name: SMSG_BEING_VISIBLE
+22b client name: SMSG_BEING_SPAWN
+22c client name: SMSG_BEING_MOVE
+22e
+22f
+230
+235
+238
+239
+23a
+23c
+240
+242
+245
+249
+24a
+250
+252
+253
+255
+256
+257
+25a
+25d client name: CMSG_AUCTION_CLOSE
+25f
+260
+274
+283
+284
+287
+289
+28a
+28e client name: SMSG_CHAR_CHECK_RENAME
+290 client name: SMSG_CHAR_RENAME
+291
+293
+294
+298
+299
+29b
+29d
+2a2
+2b1 client name: SMSG_QUEST_LIST
+2b2
+2b3
+2b4
+2b5
+2b7
+2b8
+2b9
+2bb
+2c1
+2c5
+2c6
+2c9
+2cb
+2cc
+2cd
+2ce
+2d3 client name: SMSG_BIND_ITEM
+2d7 client name: SMSG_BEING_VIEW_EQUIPMENT
+2d9
+2da
+2dc
+2dd
+2de
+2df
+2e0
+2ef
+2f0
+2f2
+43d
+43e
+43f
+440
+441
+442
+446
+7d8
+7e1
+7e2
+7e3
+7e6
+7e9
+7f6
+7fa
+7fb
+7fc client name: SMSG_PARTY_LEADER
+7fd client name: SMSG_ITEM_MVP_DROPPED
+7fe
+800
+803
+805
+807
+809
+80a
+80b
+80e
+810
+812
+813
+814
+816
+818
+81a
+81b
+81c
+81d
+81e
+824
+828 client name: SMSG_CHAR_DELETE2_ACK
+82a client name: SMSG_CHAR_DELETE2_ACCEPT_ACTUAL_ACK
+82c client name: SMSG_CHAR_DELETE2_CANCEL_ACK
+82d client name: SMSG_CHAR_LOGIN2
+836
+837
+83a
+83d
+83e
+840 client name: SMSG_MAP_NOT_FOUND
+845 client name: SMSG_NPC_CASH_POINTS
+849 client name: SMSG_NPC_CASH_BUY
+8b3 client name: SMSG_SCRIPT_MESSAGE
+8b9 client name: SMSG_CHAR_PINCODE_STATUS
+8c0 client name: SMSG_NPC_CASH_TAB_PRICE_LIST
+8ca client name: SMSG_NPC_CASH_SCHEDULE
+8cf
+8d2
+8d5 client name: SMSG_CHAR_CHANGE_SLOT
+8d6 client name: SMSG_NPC_CLOSE_TIMEOUT
+8d8 client name: SMSG_BATTLE_QUEUE_ACK
+8d9 client name: SMSG_BATTLE_JOINED
+8db client name: SMSG_BATTLE_NOTICE_DELETE
+8df client name: SMSG_BATTLE_BEGINS
+8e6
+8e8
+8ea
+8ec
+8ed
+8ee
+8f2
+8fa
+908
+909 client name: SMSG_BOOKING_CANCEL_VOLUNTEER
+90b client name: SMSG_BOOKING_ADD_FILTERING_LIST
+90c client name: SMSG_BOOKING_SUB_FILTERING_LIST
+96d client name: SMSG_MERGE_ITEM
+96f client name: SMSG_ACK_MERGE_ITEMS
+977
+97d client name: SMSG_RANKS_LIST
+97e
+97f
+985
+99b
+99d client name: SMSG_CHAR_CHARACTERS
+9a6
+9a8
+9aa
+9d5
+9d7
+a02
+a1a
+a1c
+a20
+a22
+a28
+2710
+2711
+2712
+2713
+2714
+2716
+2717
+2718
+2719
+2722
+2723
+2724
+2725
+2727
+2728
+272a
+272b
+272c
+272d
+272e
+2731
+2734
+2735
+2736
+2737
+2738
+2739
+2740
+2741
+2af8
+2af9
+2afa
+2afb
+2afc
+2afd
+2afe
+2aff
+2b00
+2b01
+2b02
+2b03
+2b04
+2b05
+2b06
+2b07
+2b08
+2b09
+2b0a
+2b0b
+2b0c
+2b0d
+2b0e
+2b0f
+2b10
+2b11
+2b12
+2b14
+2b16
+2b17
+2b18
+2b19
+2b1a
+2b1b
+2b1c
+2b1d
+2b1e
+2b1f
+2b20
+2b21
+2b22
+2b23
+2b24
+2b25
+2b26
+2b27
+3000
+3001
+3002
+3003
+3004
+3005
+3006
+3007
+3008
+3018
+3019
+3020
+3021
+3022
+3023
+3024
+3025
+3026
+3027
+3029
+3030
+3031
+3032
+3033
+3034
+3035
+3036
+3037
+3039
+303a
+303b
+303c
+303d
+303e
+303f
+3040
+3041
+3048
+3049
+304a
+304b
+304c
+304d
+3050
+3051
+3052
+3053
+3055
+3056
+3060
+3061
+3070
+3071
+3072
+3073
+307c
+307d
+307e
+307f
+3080
+3081
+3082
+3083
+3090
+3091
+3092
+3093
+3800
+3801
+3802
+3803
+3804
+3806
+3807
+3818
+3819
+3820
+3821
+3822
+3823
+3824
+3825
+3826
+3827
+3830
+3831
+3832
+3834
+3835
+3836
+3837
+3839
+383a
+383b
+383c
+383d
+383e
+383f
+3840
+3843
+3848
+3849
+384a
+384b
+384c
+384d
+3850
+3851
+3852
+3853
+3854
+3855
+3856
+3860
+3861
+3870
+3871
+3872
+387c
+387d
+387e
+3880
+3881
+3882
+3883
+3890
+3891
+3892
+3893
+3894
+status_changetype
diff --git a/servergreps/hercules/00000007/uselesspackets.txt b/servergreps/hercules/00000007/uselesspackets.txt
new file mode 100644
index 0000000..f4586b4
--- /dev/null
+++ b/servergreps/hercules/00000007/uselesspackets.txt
@@ -0,0 +1,113 @@
+Useless packet 084a.
+Useless packet 07f5.
+Useless packet 0232.
+Useless packet 0231.
+Useless packet 0234.
+Useless packet 0835.
+Useless packet 0a01.
+Useless packet 0838.
+Useless packet 08e0.
+Useless packet 09a9.
+Useless packet 02f1.
+Useless packet 08fc.
+Useless packet 0200.
+Useless packet 083c.
+Useless packet 083b.
+Useless packet 0844.
+Useless packet 0846.
+Useless packet 0998.
+Useless packet 023f.
+Useless packet 0439.
+Useless packet 0233.
+Useless packet 08d4.
+Useless packet 0436.
+Useless packet 029f.
+Useless packet 02b6.
+Useless packet 090a.
+Useless packet 024e.
+Useless packet 024b.
+Useless packet 0437.
+Useless packet 0288.
+Useless packet 0360.
+Useless packet 02d6.
+Useless packet 035f.
+Useless packet 02d8.
+Useless packet 7530.
+Useless packet 085b.
+Useless packet 09b8.
+Useless packet 0907.
+Useless packet 09b6.
+Useless packet 088a.
+Useless packet 02db.
+Useless packet 09d8.
+Useless packet 0292.
+Useless packet 09d4.
+Useless packet 09d6.
+Useless packet 0212.
+Useless packet 028f.
+Useless packet 091a.
+Useless packet 0273.
+Useless packet 0970.
+Useless packet 024c.
+Useless packet 024f.
+Useless packet 024d.
+Useless packet 07ec.
+Useless packet 0871.
+Useless packet 0241.
+Useless packet 0066.
+Useless packet 0187.
+Useless packet 08ba.
+Useless packet 0064.
+Useless packet 0065.
+Useless packet 0061.
+Useless packet 0068.
+Useless packet 07e4.
+Useless packet 020f.
+Useless packet 0246.
+Useless packet 0247.
+Useless packet 0244.
+Useless packet 0a35.
+Useless packet 027c.
+Useless packet 02ba.
+Useless packet 0801.
+Useless packet 0940.
+Useless packet 02c8.
+Useless packet 09a7.
+Useless packet 02c7.
+Useless packet 0b07.
+Useless packet 0243.
+Useless packet 0251.
+Useless packet 0b09.
+Useless packet 097c.
+Useless packet 022d.
+Useless packet 0368.
+Useless packet 0819.
+Useless packet 0361.
+Useless packet 0815.
+Useless packet 0362.
+Useless packet 08c9.
+Useless packet 0811.
+Useless packet 0366.
+Useless packet 08da.
+Useless packet 0b11.
+Useless packet 0b13.
+Useless packet 0b12.
+Useless packet 0b15.
+Useless packet 0b14.
+Useless packet 095d.
+Useless packet 0b0f.
+Useless packet 0b0d.
+Useless packet 0b0e.
+Useless packet 0b0c.
+Useless packet 07da.
+Useless packet 025d.
+Useless packet 025c.
+Useless packet 025b.
+Useless packet 089c.
+Useless packet 08d7.
+Useless packet 09ab.
+Useless packet 0213.
+Useless packet 0222.
+Useless packet 0248.
+Useless packet 0980.
+Useless packet 0817.
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py
index fc53c92..010b905 100755
--- a/servergreps/hercules/packets.py
+++ b/servergreps/hercules/packets.py
@@ -185,8 +185,8 @@ def processManaPlusCppFiles(parentDir):
elif file1[-4:] == ".cpp":
collectManaPlusUsedPackets(file2)
-def printPackets():
- with open(sys.argv[1] + "/serverpackets.txt", "w") as w:
+def printPackets(packetDir):
+ with open(packetDir + "/serverpackets.txt", "w") as w:
for packet in serverpacketsSorted:
data = packet
while data[0] == "0":
@@ -209,14 +209,14 @@ def printPackets():
if packet in clientPackets:
funcDict[clientPackets[packet][1]] = packet
- with open(sys.argv[1] + "/uselesspackets.txt", "w") as w:
+ with open(packetDir + "/uselesspackets.txt", "w") as w:
for packet in clientPacketsManaPlusClient:
if packet not in clientPackets:
w.write("Useless packet {0}.\n".format(packet))
manaplusFunc = set()
rev = []
- with open(sys.argv[1] + "/clientpackets.txt", "w") as w:
+ with open(packetDir + "/clientpackets.txt", "w") as w:
for packet in clientPacketsManaPlusClient:
clientName = clientPacketsManaPlusClient[packet]
if clientName not in manaplusUsedPacketsSet and clientName.find("_OUTDATED") <= 0:
@@ -235,7 +235,7 @@ def printPackets():
w.write(data)
w.write("\n")
-# with open(sys.argv[1] + "/wrongpackersizes.txt", "w") as w:
+# with open(packetDir + "/wrongpackersizes.txt", "w") as w:
# for packet in sizes:
# if packet == "0000":
# continue
@@ -254,11 +254,15 @@ if len(sys.argv) != 2:
showHelp()
packetVersion = sys.argv[1]
+packetDir = packetVersion
+while len(packetDir) < 8:
+ packetDir = "0" + packetDir
+
srcPath = "../../../server-code/src/"
-namedPacketsPath = packetVersion + "/packets_struct.h"
+namedPacketsPath = packetDir + "/packets_struct.h"
manaplusPath = "../../../manaplus/src/"
protocolPath = manaplusPath + "net/eathena/packets"
-clientPacketsPath = packetVersion + "/packets.h"
+clientPacketsPath = packetDir + "/packets.h"
packetsPath = manaplusPath + "net/eathena/packetsin.inc"
eathenaPath = manaplusPath + "net/eathena/"
@@ -271,4 +275,4 @@ collectManaPlusOutPackets(protocolPath + "out.inc")
processManaPlusCppFiles(eathenaPath);
sortClientPackets()
sortServerPackets()
-printPackets()
+printPackets(packetDir)
diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh
index 4602b69..324f8dc 100755
--- a/servergreps/hercules/update.sh
+++ b/servergreps/hercules/update.sh
@@ -1,13 +1,14 @@
#!/bin/bash
function genpackets {
- cpp -DPACKETVER=$1 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/packets.h
- cpp -DPACKETVER=$1 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/packets_struct.h
- ./packets.py $1
+ cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/packets.h
+ cpp -DPACKETVER=$2 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/packets_struct.h
+ ./packets.py $2
}
-genpackets 20141016
-genpackets 20141022
-genpackets 20150226
-genpackets 20150513
-genpackets 20150805
+genpackets 00000007 7
+genpackets 20141016 20141016
+genpackets 20141022 20141022
+genpackets 20150226 20150226
+genpackets 20150513 20150513
+genpackets 20150805 20150805