diff options
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") |