From a8c5e27698455abbf24da88d487c9f4c8887ea5c Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 31 May 2015 17:55:29 -0400 Subject: send map pvp status --- tools/protocol.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index d6667af..1a59399 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4278,10 +4278,21 @@ def build_context(): Being adds/removes a persistent status effect. ''', ) - # 0x0199 define='SMSG_PVP_MAP_MODE', - # 0x019a define='SMSG_PVP_SET', + map_user.s(0x0199, 'map pvp status', + define='SMSG_PVP_MAP_MODE', + fixed=[ + at(0, u16, 'packet id'), + at(2, u16, 'status'), + ], + fixed_size=4, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Send the map pvp status + ''', + ) map_user.s(0x019a, 'being pvp status', - define='SMSG_BEING_SELFEFFECT', + define='SMSG_PVP_SET', fixed=[ at(0, u16, 'packet id'), at(2, block_id, 'block id'), -- cgit v1.2.3-60-g2f50