summaryrefslogtreecommitdiff
path: root/servergreps/hercules/src/reporter.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-05 22:23:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-05 22:23:19 +0300
commit12126528a6acd121bb2d2d6831a4ec8ceabf7c62 (patch)
tree308c47df9a8ff4b50420603525d047801663fae8 /servergreps/hercules/src/reporter.py
parentb4e13632aaf59425022797fb6c0c7eff2957cd7d (diff)
downloadtools-12126528a6acd121bb2d2d6831a4ec8ceabf7c62.tar.gz
tools-12126528a6acd121bb2d2d6831a4ec8ceabf7c62.tar.bz2
tools-12126528a6acd121bb2d2d6831a4ec8ceabf7c62.tar.xz
tools-12126528a6acd121bb2d2d6831a4ec8ceabf7c62.zip
servergreps: add basic parsing for idathena.
Diffstat (limited to 'servergreps/hercules/src/reporter.py')
-rwxr-xr-xservergreps/hercules/src/reporter.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/servergreps/hercules/src/reporter.py b/servergreps/hercules/src/reporter.py
index 2d0b4c5..18caa5a 100755
--- a/servergreps/hercules/src/reporter.py
+++ b/servergreps/hercules/src/reporter.py
@@ -227,3 +227,10 @@ class Reporter:
for packet in threeceam.outPacketsSorted:
if packet not in hercules.packetsSet:
w.write("Exists only in 3CeaM: " + packet + "\n")
+
+
+ def reportIdathena(self, hercules, idathena):
+ with open(self.packetDir + "/" + hercules.reportName + "_" + idathena.reportName + "_outpackets.txt", "w") as w:
+ for packet in idathena.outPacketsSorted:
+ if packet not in hercules.packetsSet:
+ w.write("Exists only in idAthena: " + packet + "\n")