summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-31 16:39:53 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-31 16:39:53 -0400
commit1a444e3861985b53ac3abf0d95d94471d5eb261f (patch)
tree3637ae743e9db2d82c9f4ed45d22edb6548ead46 /tools
parent182e82a79c0455b6e6734b1cb6d83cfcd7f28d61 (diff)
downloadtmwa-1a444e3861985b53ac3abf0d95d94471d5eb261f.tar.gz
tmwa-1a444e3861985b53ac3abf0d95d94471d5eb261f.tar.bz2
tmwa-1a444e3861985b53ac3abf0d95d94471d5eb261f.tar.xz
tmwa-1a444e3861985b53ac3abf0d95d94471d5eb261f.zip
send pvp channel and rank to client
Diffstat (limited to 'tools')
-rwxr-xr-xtools/protocol.py15
1 files changed, 15 insertions, 0 deletions
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=[