diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/protocol.py b/tools/protocol.py index 5d27f0d..800c3ec 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4761,6 +4761,24 @@ def build_context(): Change npc title ''', ) + map_user.s(0x0229, 'script message', + define='SMSG_SCRIPT_MESSAGE', + head=[ + at(0, u16, 'packet id'), + at(2, u16, 'packet length'), + at(4, u8, 'message type'), + ], + head_size=5, + repeat=[ + at(0, u8, 'c'), + ], + repeat_size=1, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Send server message + ''', + ) # TOC_LOGINCHAR # login char |