The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to make an item that...
Author Message
Murmur
Apprentice
*

Posts: 33
Likes Given: 3
Likes Received: 2 in 2 posts
Joined: Feb 2013
Reputation: 0



Post: #4
RE: Trying to make an item that...
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

*you glance to your left to a region you just surveyed... you glimpse a magical being, more shadow than substance, caught midway in transformation... the figure smiles, the corners of his mouth jut upwards slightly on the edges, suddenly stretched to a length not at all human...*
(This post was last modified: 04-29-2017 01:56 PM by Murmur.)
04-29-2017 01:45 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Trying to make an item that... - Murmur - 04-28-2017, 03:46 PM
RE: Trying to make an item that... - Murmur - 04-29-2017 01:45 PM
RE: Trying to make an item that... - Ben - 04-29-2017, 09:50 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)