From 7d0cf91b6fd5d17cff33de03695d4689a7eaae65 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Apr 2016 16:18:24 +0300 Subject: servergreps: update packet extraction from manaplus. --- servergreps/hercules/packets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[0-9a-fA-F]+);") protocolinre = re.compile("packet[(](?P[A-Z0-9_]+),([ ]*)0x(?P[0-9a-fA-F]+),([ ]*)(?P[\w-]+),([ ]*)") protocolinverre = re.compile("^// (?P[0-9]+)$") -protocoloutre = re.compile("packet[(](?PCMSG_[A-Z0-9_]+),([ ]*)0x(?P[0-9a-fA-F]+)[)];") +protocoloutre = re.compile("packet[(](?PCMSG_[A-Z0-9_]+),([ ]*)0x(?P[0-9a-fA-F]+),([ ]*)(?P[\w-]+),([ ]*)(?P[0-9a-zA-Z_>-]+)[)];") clientpacketre = re.compile("(\t*)packet[(]0x(?P[0-9a-fA-F]+),(?P[\w-]+),(?P[0-9a-zA-Z_>-]+)(,|[)])") packetNameClientre = re.compile("(?P(S|C)MSG_[A-Z0-9_]+)") namedPacketre = re.compile("((\t|[ ])*)(?P[\w0-9_]+)([ ]*)=([ ]*)0x(?P[0-9a-fA-F]+)") -- cgit v1.2.3-70-g09d2