summaryrefslogtreecommitdiff
path: root/servergreps/hercules/packets.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-05 19:52:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-05 19:52:21 +0300
commit32a89b1e6ee1b8d7bc195709edfe15df8725bc77 (patch)
treea0818ef050d2ff2202a0dbdfdf36c9fa484c3320 /servergreps/hercules/packets.py
parentd4136a89129d2043f6dab714465f63bf2350dbb1 (diff)
downloadtools-32a89b1e6ee1b8d7bc195709edfe15df8725bc77.tar.gz
tools-32a89b1e6ee1b8d7bc195709edfe15df8725bc77.tar.bz2
tools-32a89b1e6ee1b8d7bc195709edfe15df8725bc77.tar.xz
tools-32a89b1e6ee1b8d7bc195709edfe15df8725bc77.zip
servergreps: add basic rAthena parsing for out packets.
Diffstat (limited to 'servergreps/hercules/packets.py')
-rwxr-xr-xservergreps/hercules/packets.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py
index 49368ba..c5b73ed 100755
--- a/servergreps/hercules/packets.py
+++ b/servergreps/hercules/packets.py
@@ -8,6 +8,7 @@ import sys
from src.hercules import Hercules
from src.manaplus import ManaPlus
+from src.rathena import Rathena
from src.reporter import Reporter
@@ -26,12 +27,20 @@ packetVersion = sys.argv[3]
hercules = Hercules()
hercules.dirName = "hercules"
hercules.reportName = "hercules"
+rathena = Rathena()
+rathena.dirName = "rathena"
+rathena.reportName = "rathena"
+
manaplus = ManaPlus()
reporter = Reporter()
reporter.packetDir = packetDir;
hercules.prepareTempFiles(codeDir, packetDir, packetVersion)
hercules.processPackets(packetDir, packetVersion)
+rathena.prepareTempFiles("rathena", packetDir, packetVersion)
+rathena.processPackets(packetDir, packetVersion)
+
manaplus.processPackets(packetVersion);
reporter.reportManaplus(hercules, manaplus)
reporter.reportHercules(hercules)
+reporter.reportRathena(hercules, rathena)