From d3c96421dd371db34119de1437fe7f25a05dc4bc Mon Sep 17 00:00:00 2001 From: mekolat Date: Fri, 15 Apr 2016 11:12:56 -0400 Subject: implement SMSG_PLAYER_CLIENT_COMMAND --- tools/protocol.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tools') 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 -- cgit v1.2.3-60-g2f50