From 1a444e3861985b53ac3abf0d95d94471d5eb261f Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 31 May 2015 16:39:53 -0400 Subject: send pvp channel and rank to client --- tools/protocol.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index 86b625f..d6667af 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4280,6 +4280,21 @@ def build_context(): ) # 0x0199 define='SMSG_PVP_MAP_MODE', # 0x019a define='SMSG_PVP_SET', + map_user.s(0x019a, 'being pvp status', + define='SMSG_BEING_SELFEFFECT', + fixed=[ + at(0, u16, 'packet id'), + at(2, block_id, 'block id'), + at(6, u32, 'rank'), + at(10, u32, 'channel'), + ], + fixed_size=14, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Send the pvp status + ''', + ) map_user.s(0x019b, 'being effect', define='SMSG_BEING_SELFEFFECT', fixed=[ -- cgit v1.2.3-60-g2f50