diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-15 11:12:56 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-15 11:12:56 -0400 |
commit | d3c96421dd371db34119de1437fe7f25a05dc4bc (patch) | |
tree | b54e989cae9eaee8f3e7695300bd7e75d90b0d6b /tools | |
parent | d5e9d1ecbee0f7540acbe4343bd68e6482e8394a (diff) | |
download | tmwa-d3c96421dd371db34119de1437fe7f25a05dc4bc.tar.gz tmwa-d3c96421dd371db34119de1437fe7f25a05dc4bc.tar.bz2 tmwa-d3c96421dd371db34119de1437fe7f25a05dc4bc.tar.xz tmwa-d3c96421dd371db34119de1437fe7f25a05dc4bc.zip |
implement SMSG_PLAYER_CLIENT_COMMAND
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/protocol.py b/tools/protocol.py index 800c3ec..0adc95a 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4779,6 +4779,23 @@ def build_context(): Send server message ''', ) + map_user.s(0x0230, 'remote client command', + define='SMSG_PLAYER_CLIENT_COMMAND', + head=[ + at(0, u16, 'packet id'), + at(2, u16, 'packet length'), + ], + head_size=4, + repeat=[ + at(0, u8, 'c'), + ], + repeat_size=1, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Execute a client command remotely + ''', + ) # TOC_LOGINCHAR # login char |