Ok came back at it with fresh eyes. The script works perfect as it is, except that once I unequip the mask, I turn back into a human male, but its like the client hangs up on the paperdoll and it stops responding (can't equip or unequip anything until I restart the client), but the client doesn't crash or anything.
Oh and I've tried two different clients, a clean ML install (6.0.0) and the UORennaisance server's client (5.0.5.3)
Starting to think it might be the client, if anyone checks my code for me, please let me know if the paperdoll hangs up after you unequip the mask. Or of course if you spot the problem with my code, please let me know. Thanks!
Code:
[itemdef i_mask_dire_wolf_form}
DEFNAME=i_mask_dire_wolf_form
ID=i_mask_tribal_red
NAME=mask of dire wolf form
on=@create
color=044a
hitpoints={10 50}
on=@equip
SRC.BODY c_wolf_dire_mask
src.message=You feel the power of the <name>.
on=@unequip
SRC.BODY C_MAN
src.message=You no longer feel like a dire wolf.
Code:
[CHARDEF c_wolf_dire_mask]
DEFNAME=c_wolf_dire_mask
ID=c_wolf_dire
NAME=dire wolf
ICON=i_pet_wolf_dire
SOUND=snd_animals_wolf1
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP
//CAN=MT_WALK|MT_RUN|MT_NONHUM
DAM=20,32
ARMOR=20
DESIRES=r_jungle,r_forests
AVERSIONS=r_civilization
FOODTYPE=t_meat_raw
MAXFOOD=15
RESOURCES=1 i_ribs_raw,7 i_hide_spined
BLOODCOLOR=colors_blood
MOVERATE=100
TAG.Barding.Diff=50.3
FollowerSlots=1
TAG.SlayerGroup=WOLF
TEVENTS=e_carnivores
CATEGORY=Animals
SUBSECTION=Wild
DESCRIPTION=Wolf (dire)
ON=@Create
NPC=brain_animal
FAME={1000 1499}
KARMA={-1000 -1499}
STR={96 120}
MAXHITS={58 72}
DEX={81 105}
MAXSTAM={81 105}
INT={36 60}
MAXMANA={36 60}
MAGICRESISTANCE={57.0 75.0}
TACTICS={50.0 70.0}
TAMING={80.0 85.0}
WRESTLING={60.0 80.0}
MODAR={0 5}
RESCOLD={5 10}
RESENERGY={10 15}
RESFIRE={10 20}
RESPOISON={5 10}
-Murmur
Just tried an official install client 7.0.13.4, same issue
Tried client 4.0.11c(patch0), same issue