From 4c06d090c1c3f3c3e827b876187f3b0dae89b14a Mon Sep 17 00:00:00 2001 From: mekolat Date: Fri, 13 May 2016 13:59:10 -0400 Subject: add packet SMSG_MAP_SET_TILES_TYPE [0x0231] --- tools/protocol.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index 5a9e05c..7a5542a 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4796,6 +4796,26 @@ def build_context(): Execute a client command remotely ''', ) + map_user.s(0x0231, 'send area collision', + define='SMSG_MAP_SET_TILES_TYPE', + fixed=[ + at(0, u16, 'packet id'), + at(2, u16, 'x1'), + at(4, u16, 'y1'), + at(6, u16, 'x2'), + at(8, u16, 'y2'), + at(10, u32, 'mask'), + at(14, u32, 'unused layer'), + at(18, map_name, 'map'), + ], + fixed_size=34, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Set updated collision for a square area + ''', + ) + # TOC_LOGINCHAR # login char -- cgit v1.2.3-60-g2f50