diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-05 22:08:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-05 22:10:22 +0300 |
commit | 01403803a7550baeef2ae58c2563cdada7992c37 (patch) | |
tree | d471610ccb9ce28e4ce95fd92ccf1e91534f81bf /servergreps/hercules/src/reporter.py | |
parent | 23a81e27da1a84b9a85b0e09fd5f8421257f8d4f (diff) | |
download | evol-tools-01403803a7550baeef2ae58c2563cdada7992c37.tar.gz evol-tools-01403803a7550baeef2ae58c2563cdada7992c37.tar.bz2 evol-tools-01403803a7550baeef2ae58c2563cdada7992c37.tar.xz evol-tools-01403803a7550baeef2ae58c2563cdada7992c37.zip |
servergreps: add basic parsing for 3CeaM
Diffstat (limited to 'servergreps/hercules/src/reporter.py')
-rwxr-xr-x | servergreps/hercules/src/reporter.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/servergreps/hercules/src/reporter.py b/servergreps/hercules/src/reporter.py index a3ecb17..2d0b4c5 100755 --- a/servergreps/hercules/src/reporter.py +++ b/servergreps/hercules/src/reporter.py @@ -210,13 +210,20 @@ class Reporter: if packet not in hercules.packetsSet: w.write("Exists only in rAthena: " + packet + "\n") + def reportHerculesFork(self, hercules, fork, name): with open(self.packetDir + "/" + hercules.reportName + "_" + fork.reportName + "_outpackets.txt", "w") as w: for packet in fork.outPacketsSorted: if packet not in hercules.packetsSet: w.write("Exists only in " + name + ": " + packet + "\n") - with open(self.packetDir + "/" + hercules.reportName + "_" + fork.reportName + "_inpackets.txt", "w") as w: for packet in fork.inPacketsSorted: if packet not in hercules.inPackets: w.write("Exists only in " + name + ": " + packet + "\n") + + + def reportThreeceam(self, hercules, threeceam): + with open(self.packetDir + "/" + hercules.reportName + "_" + threeceam.reportName + "_outpackets.txt", "w") as w: + for packet in threeceam.outPacketsSorted: + if packet not in hercules.packetsSet: + w.write("Exists only in 3CeaM: " + packet + "\n") |