diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-06 19:48:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-06 19:53:02 +0300 |
commit | 4318c5855e7f306b96094aa406b359fa2f6370d7 (patch) | |
tree | 2cb51549fa72ad403515e0f9576131a024ee7866 /servergreps | |
parent | 934c6a8d467834e09d04df822c37954922a3a4bd (diff) | |
download | evol-tools-4318c5855e7f306b96094aa406b359fa2f6370d7.tar.gz evol-tools-4318c5855e7f306b96094aa406b359fa2f6370d7.tar.bz2 evol-tools-4318c5855e7f306b96094aa406b359fa2f6370d7.tar.xz evol-tools-4318c5855e7f306b96094aa406b359fa2f6370d7.zip |
servergreps: save wrong client to server packet sizes into separate file.
Diffstat (limited to 'servergreps')
23 files changed, 60 insertions, 64 deletions
diff --git a/servergreps/hercules/00000000/clientpackets.txt b/servergreps/hercules/00000000/clientpackets.txt index a29d37a..95e9a86 100644 --- a/servergreps/hercules/00000000/clientpackets.txt +++ b/servergreps/hercules/00000000/clientpackets.txt @@ -221,8 +221,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pUseSkillToPosMoreInfo ? UNIMPLIMENTED clif->pWalkToXY ? UNIMPLIMENTED clif->pWantToConnection -WRONG SIZE 00f3 CMSG_CHAT_MESSAGE clif->pMoveToKafra -1 vs 8 -WRONG SIZE 0193 CMSG_CLOSE_STORAGE clif->pSolveCharName 2 vs 6 -WRONG SIZE 01fd CMSG_NPC_REPAIR clif->pRepairItem 15 vs 4 -WRONG SIZE 0202 CMSG_PLAYER_CHANGE_DIR clif->pFriendsListAdd 5 vs 26 -WRONG SIZE 0208 CMSG_FRIENDS_REQUEST_ACK clif->pFriendsListReply 14 vs 11 diff --git a/servergreps/hercules/00000000/clientwrongpacketsizes.txt b/servergreps/hercules/00000000/clientwrongpacketsizes.txt new file mode 100644 index 0000000..40142e2 --- /dev/null +++ b/servergreps/hercules/00000000/clientwrongpacketsizes.txt @@ -0,0 +1,5 @@ +00f3 CMSG_CHAT_MESSAGE clif->pMoveToKafra -1 vs 8 +0193 CMSG_CLOSE_STORAGE clif->pSolveCharName 2 vs 6 +01fd CMSG_NPC_REPAIR clif->pRepairItem 15 vs 4 +0202 CMSG_PLAYER_CHANGE_DIR clif->pFriendsListAdd 5 vs 26 +0208 CMSG_FRIENDS_REQUEST_ACK clif->pFriendsListReply 14 vs 11 diff --git a/servergreps/hercules/00000007/clientpackets.txt b/servergreps/hercules/00000007/clientpackets.txt index a29d37a..95e9a86 100644 --- a/servergreps/hercules/00000007/clientpackets.txt +++ b/servergreps/hercules/00000007/clientpackets.txt @@ -221,8 +221,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pUseSkillToPosMoreInfo ? UNIMPLIMENTED clif->pWalkToXY ? UNIMPLIMENTED clif->pWantToConnection -WRONG SIZE 00f3 CMSG_CHAT_MESSAGE clif->pMoveToKafra -1 vs 8 -WRONG SIZE 0193 CMSG_CLOSE_STORAGE clif->pSolveCharName 2 vs 6 -WRONG SIZE 01fd CMSG_NPC_REPAIR clif->pRepairItem 15 vs 4 -WRONG SIZE 0202 CMSG_PLAYER_CHANGE_DIR clif->pFriendsListAdd 5 vs 26 -WRONG SIZE 0208 CMSG_FRIENDS_REQUEST_ACK clif->pFriendsListReply 14 vs 11 diff --git a/servergreps/hercules/00000007/clientwrongpacketsizes.txt b/servergreps/hercules/00000007/clientwrongpacketsizes.txt new file mode 100644 index 0000000..40142e2 --- /dev/null +++ b/servergreps/hercules/00000007/clientwrongpacketsizes.txt @@ -0,0 +1,5 @@ +00f3 CMSG_CHAT_MESSAGE clif->pMoveToKafra -1 vs 8 +0193 CMSG_CLOSE_STORAGE clif->pSolveCharName 2 vs 6 +01fd CMSG_NPC_REPAIR clif->pRepairItem 15 vs 4 +0202 CMSG_PLAYER_CHANGE_DIR clif->pFriendsListAdd 5 vs 26 +0208 CMSG_FRIENDS_REQUEST_ACK clif->pFriendsListReply 14 vs 11 diff --git a/servergreps/hercules/20120700/clientpackets.txt b/servergreps/hercules/20120700/clientpackets.txt index 17b6c6d..86fa56b 100644 --- a/servergreps/hercules/20120700/clientpackets.txt +++ b/servergreps/hercules/20120700/clientpackets.txt @@ -234,7 +234,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon ? UNIMPLIMENTED clif->pUseSkillToPos -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 -WRONG SIZE 0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 -WRONG SIZE 0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 -WRONG SIZE 089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 diff --git a/servergreps/hercules/20120700/clientwrongpacketsizes.txt b/servergreps/hercules/20120700/clientwrongpacketsizes.txt new file mode 100644 index 0000000..1a3be50 --- /dev/null +++ b/servergreps/hercules/20120700/clientwrongpacketsizes.txt @@ -0,0 +1,4 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 +0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 +0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 +089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 diff --git a/servergreps/hercules/20130000/clientpackets.txt b/servergreps/hercules/20130000/clientpackets.txt index 2120246..fb67278 100644 --- a/servergreps/hercules/20130000/clientpackets.txt +++ b/servergreps/hercules/20130000/clientpackets.txt @@ -233,9 +233,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pTaekwon ? UNIMPLIMENTED clif->pUseSkillToPos -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 -WRONG SIZE 0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 -WRONG SIZE 0819 CMSG_SEARCHSTORE_SEARCH clif->pStoragePassword -1 vs 36 -WRONG SIZE 0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 -WRONG SIZE 089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 -WRONG SIZE 0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pReqTradeBuyingStore 2 vs -1 diff --git a/servergreps/hercules/20130000/clientwrongpacketsizes.txt b/servergreps/hercules/20130000/clientwrongpacketsizes.txt new file mode 100644 index 0000000..9b80cf2 --- /dev/null +++ b/servergreps/hercules/20130000/clientwrongpacketsizes.txt @@ -0,0 +1,6 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 +0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 +0819 CMSG_SEARCHSTORE_SEARCH clif->pStoragePassword -1 vs 36 +0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 +089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 +0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pReqTradeBuyingStore 2 vs -1 diff --git a/servergreps/hercules/20130221/clientpackets.txt b/servergreps/hercules/20130221/clientpackets.txt index 2120246..fb67278 100644 --- a/servergreps/hercules/20130221/clientpackets.txt +++ b/servergreps/hercules/20130221/clientpackets.txt @@ -233,9 +233,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pTaekwon ? UNIMPLIMENTED clif->pUseSkillToPos -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 -WRONG SIZE 0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 -WRONG SIZE 0819 CMSG_SEARCHSTORE_SEARCH clif->pStoragePassword -1 vs 36 -WRONG SIZE 0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 -WRONG SIZE 089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 -WRONG SIZE 0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pReqTradeBuyingStore 2 vs -1 diff --git a/servergreps/hercules/20130221/clientwrongpacketsizes.txt b/servergreps/hercules/20130221/clientwrongpacketsizes.txt new file mode 100644 index 0000000..9b80cf2 --- /dev/null +++ b/servergreps/hercules/20130221/clientwrongpacketsizes.txt @@ -0,0 +1,6 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 +0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 +0819 CMSG_SEARCHSTORE_SEARCH clif->pStoragePassword -1 vs 36 +0871 CMSG_PLAYER_CHANGE_ACT clif->pChangeDir 7 vs 5 +089c CMSG_MAP_SERVER_CONNECT clif->pFriendsListAdd 19 vs 26 +0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pReqTradeBuyingStore 2 vs -1 diff --git a/servergreps/hercules/20140000/clientpackets.txt b/servergreps/hercules/20140000/clientpackets.txt index 5090344..79b16ad 100644 --- a/servergreps/hercules/20140000/clientpackets.txt +++ b/servergreps/hercules/20140000/clientpackets.txt @@ -232,7 +232,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon ? UNIMPLIMENTED clif->pUseSkillToPos -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pItemListWindowSelected 2 vs -1 -WRONG SIZE 035f CMSG_MAP_PING clif->pWalkToXY 6 vs 5 -WRONG SIZE 0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 -WRONG SIZE 0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pFriendsListAdd 2 vs 26 diff --git a/servergreps/hercules/20140000/clientwrongpacketsizes.txt b/servergreps/hercules/20140000/clientwrongpacketsizes.txt new file mode 100644 index 0000000..ade7d03 --- /dev/null +++ b/servergreps/hercules/20140000/clientwrongpacketsizes.txt @@ -0,0 +1,4 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pItemListWindowSelected 2 vs -1 +035f CMSG_MAP_PING clif->pWalkToXY 6 vs 5 +0436 CMSG_SKILL_USE_POSITION clif->pFriendsListAdd 10 vs 26 +0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pFriendsListAdd 2 vs 26 diff --git a/servergreps/hercules/20140403/clientpackets.txt b/servergreps/hercules/20140403/clientpackets.txt index 577be9e..09d4305 100644 --- a/servergreps/hercules/20140403/clientpackets.txt +++ b/servergreps/hercules/20140403/clientpackets.txt @@ -232,11 +232,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon -WRONG SIZE 0202 CMSG_PLAYER_CHANGE_DIR clif->pTakeItem 5 vs 6 -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 -WRONG SIZE 0360 CMSG_BUYINGSTORE_OPEN clif->pChangeDir 6 vs 5 -WRONG SIZE 0361 CMSG_HOMUNCULUS_MENU clif->pReqOpenBuyingStore 5 vs -1 -WRONG SIZE 07e4 CMSG_ITEM_PICKUP clif->pFriendsListAdd 6 vs 26 -WRONG SIZE 07ec CMSG_MOVE_TO_STORAGE clif->pSolveCharName 8 vs 6 -WRONG SIZE 0815 CMSG_BUYINGSTORE_CREATE clif->pChangeDir -1 vs 5 -WRONG SIZE 0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pTakeItem 2 vs 6 diff --git a/servergreps/hercules/20140403/clientwrongpacketsizes.txt b/servergreps/hercules/20140403/clientwrongpacketsizes.txt new file mode 100644 index 0000000..c5ec840 --- /dev/null +++ b/servergreps/hercules/20140403/clientwrongpacketsizes.txt @@ -0,0 +1,8 @@ +0202 CMSG_PLAYER_CHANGE_DIR clif->pTakeItem 5 vs 6 +022d CMSG_BUYINGSTORE_CLOSE clif->pWantToConnection 2 vs 19 +0360 CMSG_BUYINGSTORE_OPEN clif->pChangeDir 6 vs 5 +0361 CMSG_HOMUNCULUS_MENU clif->pReqOpenBuyingStore 5 vs -1 +07e4 CMSG_ITEM_PICKUP clif->pFriendsListAdd 6 vs 26 +07ec CMSG_MOVE_TO_STORAGE clif->pSolveCharName 8 vs 6 +0815 CMSG_BUYINGSTORE_CREATE clif->pChangeDir -1 vs 5 +0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pTakeItem 2 vs 6 diff --git a/servergreps/hercules/20141016/clientpackets.txt b/servergreps/hercules/20141016/clientpackets.txt index 271eae3..546838e 100644 --- a/servergreps/hercules/20141016/clientpackets.txt +++ b/servergreps/hercules/20141016/clientpackets.txt @@ -235,5 +235,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 -WRONG SIZE 0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pTakeItem 2 vs 6 diff --git a/servergreps/hercules/20141016/clientwrongpacketsizes.txt b/servergreps/hercules/20141016/clientwrongpacketsizes.txt new file mode 100644 index 0000000..dab6a5d --- /dev/null +++ b/servergreps/hercules/20141016/clientwrongpacketsizes.txt @@ -0,0 +1,2 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 +0940 CMSG_SEARCHSTORE_NEXT_PAGE clif->pTakeItem 2 vs 6 diff --git a/servergreps/hercules/20141022/clientpackets.txt b/servergreps/hercules/20141022/clientpackets.txt index 629cef3..ae39fe4 100644 --- a/servergreps/hercules/20141022/clientpackets.txt +++ b/servergreps/hercules/20141022/clientpackets.txt @@ -233,5 +233,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 -WRONG SIZE 0835 CMSG_SEARCHSTORE_CLICK clif->pSearchStoreInfoListItemClick 2 vs 12 diff --git a/servergreps/hercules/20141022/clientwrongpacketsizes.txt b/servergreps/hercules/20141022/clientwrongpacketsizes.txt new file mode 100644 index 0000000..010dc30 --- /dev/null +++ b/servergreps/hercules/20141022/clientwrongpacketsizes.txt @@ -0,0 +1,2 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 +0835 CMSG_SEARCHSTORE_CLICK clif->pSearchStoreInfoListItemClick 2 vs 12 diff --git a/servergreps/hercules/20150226/clientpackets.txt b/servergreps/hercules/20150226/clientpackets.txt index 629cef3..ae39fe4 100644 --- a/servergreps/hercules/20150226/clientpackets.txt +++ b/servergreps/hercules/20150226/clientpackets.txt @@ -233,5 +233,3 @@ PSESENT BUT UNIMPLIMENTED CMSG_PARTY_INVITED ? UNIMPLIMENTED clif->pSkillSelectMenu ? UNIMPLIMENTED clif->pStoragePassword ? UNIMPLIMENTED clif->pTaekwon -WRONG SIZE 022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 -WRONG SIZE 0835 CMSG_SEARCHSTORE_CLICK clif->pSearchStoreInfoListItemClick 2 vs 12 diff --git a/servergreps/hercules/20150226/clientwrongpacketsizes.txt b/servergreps/hercules/20150226/clientwrongpacketsizes.txt new file mode 100644 index 0000000..010dc30 --- /dev/null +++ b/servergreps/hercules/20150226/clientwrongpacketsizes.txt @@ -0,0 +1,2 @@ +022d CMSG_BUYINGSTORE_CLOSE clif->pMoveFromKafra 2 vs 8 +0835 CMSG_SEARCHSTORE_CLICK clif->pSearchStoreInfoListItemClick 2 vs 12 diff --git a/servergreps/hercules/20150513/clientwrongpacketsizes.txt b/servergreps/hercules/20150513/clientwrongpacketsizes.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/servergreps/hercules/20150513/clientwrongpacketsizes.txt diff --git a/servergreps/hercules/20150805/clientwrongpacketsizes.txt b/servergreps/hercules/20150805/clientwrongpacketsizes.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/servergreps/hercules/20150805/clientwrongpacketsizes.txt diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py index fd53673..38a8143 100755 --- a/servergreps/hercules/packets.py +++ b/servergreps/hercules/packets.py @@ -265,16 +265,6 @@ def printPackets(packetDir): rev.append("{0:4} {1:33} {2}".format("?", "UNIMPLIMENTED", packet)) # rev.append("{0:4} {1:>4} {2} UNIMPLIMENTED".format(packet, clientPackets[packet][0], clientPackets[packet][1])) - for packet in clientPacketsManaPlusClient: - if packet in clientPackets and clientPacketsManaPlusClient[packet][1] != clientPackets[packet][0]: - packet1 = clientPacketsManaPlusClient[packet] - packet2 = clientPackets[packet] - rev.append("WRONG SIZE {0:4} {1:33} {2:35} {3:4} vs {4:4}".format(packet, - packet1[0], - packet2[1], - packet1[1], - packet2[0])) - for packet in allPackets: if packet not in clientPacketsManaPlusClient: continue @@ -291,16 +281,22 @@ def printPackets(packetDir): w.write(data) w.write("\n") -# with open(packetDir + "/wrongpackersizes.txt", "w") as w: -# for packet in sizes: -# if packet == "0000": -# continue -# data = packet -# while data[0] == "0": -# data = data[1:] -# if packet in serverpacketsSorted: -# if sizes[packet] != clientPackets[packet][0]: -# w.write("{0:>4} {1:4} -> {2:4}\n".format(data, sizes[packet], clientPackets[packet][0])) + rev = [] + with open(packetDir + "/clientwrongpacketsizes.txt", "w") as w: + for packet in clientPacketsManaPlusClient: + if packet in clientPackets and clientPacketsManaPlusClient[packet][1] != clientPackets[packet][0]: + packet1 = clientPacketsManaPlusClient[packet] + packet2 = clientPackets[packet] + rev.append("{0:4} {1:33} {2:35} {3:4} vs {4:4}".format(packet, + packet1[0], + packet2[1], + packet1[1], + packet2[0])) + rev.sort() + + for data in rev: + w.write(data) + w.write("\n") def showHelp(): print("Usage: packets.py version"); |