diff options
Diffstat (limited to 'servergreps/hercules/src/manaplus.py')
-rwxr-xr-x | servergreps/hercules/src/manaplus.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/servergreps/hercules/src/manaplus.py b/servergreps/hercules/src/manaplus.py index 144dd3f..56fd11c 100755 --- a/servergreps/hercules/src/manaplus.py +++ b/servergreps/hercules/src/manaplus.py @@ -87,3 +87,11 @@ class ManaPlus: m = self.packetOutNametre.search(line) if m is not None: self.manaplusUsedPacketsSet.add(m.group("name")) + + def processPackets(self, packetVersion): + manaplusPath = "../../../manaplus/src/" + protocolPath = manaplusPath + "net/eathena/packets" + eathenaPath = manaplusPath + "net/eathena/" + self.collectInPackets(protocolPath + "in.inc", int(packetVersion)) + self.collectOutPackets(protocolPath + "out.inc", int(packetVersion)) + self.processCppFiles(eathenaPath) |