diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-31 17:55:29 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-06-16 12:15:35 -0400 |
commit | a8c5e27698455abbf24da88d487c9f4c8887ea5c (patch) | |
tree | 85c34faa912c5330c3c9c58c1d14d7f296de5e62 /tools | |
parent | 1a444e3861985b53ac3abf0d95d94471d5eb261f (diff) | |
download | tmwa-a8c5e27698455abbf24da88d487c9f4c8887ea5c.tar.gz tmwa-a8c5e27698455abbf24da88d487c9f4c8887ea5c.tar.bz2 tmwa-a8c5e27698455abbf24da88d487c9f4c8887ea5c.tar.xz tmwa-a8c5e27698455abbf24da88d487c9f4c8887ea5c.zip |
send map pvp status
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 17 |
1 files changed, 14 insertions, 3 deletions
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'), |