summaryrefslogtreecommitdiff
path: root/servergreps
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-06 19:42:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-06 19:42:39 +0300
commit0c4ec01ab5610ef97dc39619726cab7ea5413346 (patch)
treeb30d9dcacfe9b08b8bd45692ae2238326eaef95a /servergreps
parent1ddb9fac2c36bd1c7e9dcb1f874c19878f475a49 (diff)
downloadevol-tools-0c4ec01ab5610ef97dc39619726cab7ea5413346.tar.gz
evol-tools-0c4ec01ab5610ef97dc39619726cab7ea5413346.tar.bz2
evol-tools-0c4ec01ab5610ef97dc39619726cab7ea5413346.tar.xz
evol-tools-0c4ec01ab5610ef97dc39619726cab7ea5413346.zip
servergreps: remove function for add info into manaplus headers.
Diffstat (limited to 'servergreps')
-rwxr-xr-xservergreps/hercules/packets.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py
index 0f89cc7..fd53673 100755
--- a/servergreps/hercules/packets.py
+++ b/servergreps/hercules/packets.py
@@ -302,28 +302,6 @@ def printPackets(packetDir):
# if sizes[packet] != clientPackets[packet][0]:
# w.write("{0:>4} {1:4} -> {2:4}\n".format(data, sizes[packet], clientPackets[packet][0]))
-#def processTempFile(path):
-# with open(path + "/packetsout.inc", "r") as r:
-# with open(path + "/packetsout2.inc", "w") as w:
-# comaSplit = re.compile(",")
-# for line in r:
-# line2 = line.strip()
-# if len(line2) < 10 or line.find("packet(") < 0:
-# w.write(line)
-# continue
-# parts = comaSplit.split(line)
-# packet = parts[1].strip()
-# packet = packet[2:].lower()
-# if packet not in clientPackets:
-# w.write(line)
-# continue
-# parts[2] = str(clientPackets[packet][0])
-# while len(parts[2]) < 4:
-# parts[2] = " " + parts[2]
-# parts[3] = " " + clientPackets[packet][1] + ");\n"
-# w.write(parts[0] + "," + parts[1] + "," + parts[2] + "," + parts[3])
-
-
def showHelp():
print("Usage: packets.py version");
exit(1)
@@ -354,5 +332,4 @@ collectManaPlusOutPackets(protocolPath + "out.inc", int(packetVersion))
processManaPlusCppFiles(eathenaPath);
sortClientPackets()
sortServerPackets()
-#processTempFile(packetDir)
printPackets(packetDir)