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
Some problems
Author Message
senk
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2015
Reputation: 0



Post: #1
Some problems
Hello,
After trying to find my "problems" on the forums i didn't find anything about this (and the one i found didn't help to me). The thing is i'm trying to start an UO server but i want to fix the deathshroud bug: it dissapears after world saves AND when you equip it, looks like you're dead (can't see backpack, etc) I tried changing Hitpoints in the scp but nothing.

Sphere 0.56b and client 4.0.11c

Thanks everyone!
(This post was last modified: 01-14-2015 02:12 AM by senk.)
01-14-2015 02:10 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #2
RE: Some problems
the client might be responsible for the look of the robe. In sphere.ini check this:
Code:
// Whether PCs get a resurrection robe when they get resurrected.
NoResRobe=1
and in sphere_item__provisions_clothing check the robe if it looks like this.
Code:
[ITEMDEF 01f03]
DEFNAME=i_robe
TYPE=t_clothing
DYE=1
FLIP=1
//LAYER=layer_robe
//ARMOR=7
VALUE=105
WEIGHT=16.1
RESOURCES=16 i_cloth,1 i_thread
SKILLMAKE=Tailoring 59.0,t_sewing_kit
ReqStr=10
TEVENTS=t_equipitem
DUPELIST=01f04
CATEGORY=Provisions - Clothes
SUBSECTION=Shirts & Robes
DESCRIPTION=Robe
ON=@Create
   HITPOINTS={36 48}
   RESPHYSICAL=1
in sphere_triggers check add this:
Code:
[FUNCTION f_onserver_save]
serv.savestatics

it might help.... :/
01-14-2015 07:50 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
senk
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2015
Reputation: 0



Post: #3
RE: Some problems
(01-14-2015 07:50 AM)amonvangrell Wrote:  the client might be responsible for the look of the robe. In sphere.ini check this:
Code:
// Whether PCs get a resurrection robe when they get resurrected.
NoResRobe=1
and in sphere_item__provisions_clothing check the robe if it looks like this.
Code:
[ITEMDEF 01f03]
DEFNAME=i_robe
TYPE=t_clothing
DYE=1
FLIP=1
//LAYER=layer_robe
//ARMOR=7
VALUE=105
WEIGHT=16.1
RESOURCES=16 i_cloth,1 i_thread
SKILLMAKE=Tailoring 59.0,t_sewing_kit
ReqStr=10
TEVENTS=t_equipitem
DUPELIST=01f04
CATEGORY=Provisions - Clothes
SUBSECTION=Shirts & Robes
DESCRIPTION=Robe
ON=@Create
   HITPOINTS={36 48}
   RESPHYSICAL=1
in sphere_triggers check add this:
Code:
[FUNCTION f_onserver_save]
serv.savestatics

it might help.... :/

Thanks for the answer! I already solved it, finally! With this script:


[ITEMDEF 02683]
DEFNAME=i_deathshroud_craft
NAME=hooded shroud
TYPE=t_clothing
DYE=1
FLIP=1
//LAYER=layer_robe
//ARMOR=20
VALUE=547
WEIGHT=12.6
RESOURCES=10 i_cloth,5 i_gem_diamond,1 i_wire_gold,1 i_thread,1 i_scroll_resurrection
SKILLMAKE=Tailoring 70.0,t_sewing_kit,Magery 70.0,Anatomy 100.0
CanUse=can_u_human|can_u_elf
ReqStr=10
DUPELIST=02684
CATEGORY=Provisions - Clothes
SUBSECTION=Shirts & Robes
DESCRIPTION=Death Shroud (craftable)
ON=@Create
HITPOINTS={36 48}
RESPHYSICAL=1

The thing is the icon (object in backpack) it's different, do u know how can i modify it? Big Grin
01-14-2015 09:21 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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