SphereCommunity
Some problems - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Some problems (/Thread-Some-problems)



Some problems - senk - 01-14-2015 02:10 AM

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!


RE: Some problems - amonvangrell - 01-14-2015 07:50 AM

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.... :/


RE: Some problems - senk - 01-14-2015 09:21 AM

(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