diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-06 16:18:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-06 16:18:24 +0300 |
commit | 7d0cf91b6fd5d17cff33de03695d4689a7eaae65 (patch) | |
tree | 6209b1493e440cbd3f956f9cd309e9c79e8a8ac3 /servergreps | |
parent | cf5ff02d496f7e4c7e330afae2a77386d464ff76 (diff) | |
download | evol-tools-7d0cf91b6fd5d17cff33de03695d4689a7eaae65.tar.gz evol-tools-7d0cf91b6fd5d17cff33de03695d4689a7eaae65.tar.bz2 evol-tools-7d0cf91b6fd5d17cff33de03695d4689a7eaae65.tar.xz evol-tools-7d0cf91b6fd5d17cff33de03695d4689a7eaae65.zip |
servergreps: update packet extraction from manaplus.
Diffstat (limited to 'servergreps')
-rwxr-xr-x | servergreps/hercules/packets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py index 2d143e8..c1fa7d8 100755 --- a/servergreps/hercules/packets.py +++ b/servergreps/hercules/packets.py @@ -17,7 +17,7 @@ serverpacketre3 = re.compile("(WFIFOW|WBUFW)([ ]*)[(]([ ]*)([\w>_-]+),([ ]*)" serverpacketre4 = re.compile("int cmd([ ]*)=([ ]*)0x(?P<packet>[0-9a-fA-F]+);") protocolinre = re.compile("packet[(](?P<name>[A-Z0-9_]+),([ ]*)0x(?P<packet>[0-9a-fA-F]+),([ ]*)(?P<len>[\w-]+),([ ]*)") protocolinverre = re.compile("^// (?P<ver>[0-9]+)$") -protocoloutre = re.compile("packet[(](?P<name>CMSG_[A-Z0-9_]+),([ ]*)0x(?P<packet>[0-9a-fA-F]+)[)];") +protocoloutre = re.compile("packet[(](?P<name>CMSG_[A-Z0-9_]+),([ ]*)0x(?P<packet>[0-9a-fA-F]+),([ ]*)(?P<len>[\w-]+),([ ]*)(?P<function>[0-9a-zA-Z_>-]+)[)];") clientpacketre = re.compile("(\t*)packet[(]0x(?P<packet>[0-9a-fA-F]+),(?P<len>[\w-]+),(?P<function>[0-9a-zA-Z_>-]+)(,|[)])") packetNameClientre = re.compile("(?P<name>(S|C)MSG_[A-Z0-9_]+)") namedPacketre = re.compile("((\t|[ ])*)(?P<name>[\w0-9_]+)([ ]*)=([ ]*)0x(?P<value>[0-9a-fA-F]+)") |