From 6fd7eab6ba5d836c47847aca618ee02a50967072 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 7 May 2015 19:35:44 -0400 Subject: allow to make npcs sit --- tools/protocol.py | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index f13d627..e15d5f0 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -2249,27 +2249,29 @@ def build_context(): at(10, opt2, 'opt2'), at(12, option, 'option'), at(14, species, 'species'), - at(16, u16, 'unused hair style'), + at(16, u8, 'unused hair style'), + at(17, u8, 'unused look'), at(18, u16, 'unused weapon'), - at(20, u16, 'unused head bottom or species again'), - at(22, u16, 'unused shield or part of guild emblem'), - at(24, u16, 'unused head top or unused part of guild emblem'), - at(26, u16, 'unused head mid or part of guild id'), - at(28, u16, 'unused hair color or part of guild id'), + at(20, u16, 'unused head bottom'), + at(22, u16, 'unused shield'), + at(24, u16, 'unused head top'), + at(26, u16, 'unused head mid'), + at(28, u8, 'unused hair color'), + at(29, u8, 'unused'), at(30, u16, 'unused clothes color'), - at(32, u16, 'unused 1'), - at(34, u16, 'unused 2'), - at(36, pos1, 'unused pos again'), - at(39, u8, 'unused 4b'), - at(40, u16, 'unused 5'), - at(42, u16, 'unused zero 1'), - at(44, u8, 'unused zero 2'), + at(32, u16, 'unused gloves'), + at(34, u32, 'unused guild id'), + at(38, u16, 'unused guild emblem id'), + at(40, u16, 'unused manner'), + at(42, u16, 'unused opt3'), + at(44, u8, 'unused karma or atk range'), at(45, u8, 'unused sex'), at(46, pos1, 'pos'), - at(49, u8, 'five1'), - at(50, u8, 'five2'), - at(51, u8, 'zero'), - at(52, u16, 'level'), + at(49, u8, 'unused2'), + at(50, u8, 'unused3'), + at(51, u8, 'unused4'), + at(52, u8, 'unused5'), + at(53, u8, 'unused6'), ], fixed_size=54, pre=[BOOT, FINISH, GM, MAGIC, SCRIPT, TIMER, 0x007d, 0x0085, 0x0089, 0x008c, 0x009f, 0x00b8, 0x00b9, 0x00e6, 0x00f7, 0x0143, 0x0146, 0x01d5], -- cgit v1.2.3-60-g2f50