SphereCommunity
Players can not pass through doors dead - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Players can not pass through doors dead (/Thread-Players-can-not-pass-through-doors-dead)



Players can not pass through doors dead - Skul - 08-10-2014 02:27 AM

Code:
[CHARDEF 0192]
//Ghost robe is not automatic !
//DEFNAME2=GHOSTMAN
DEFNAME=c_ghost_man
NAME=Ghost
ICON=i_pet_MAN
SOUND=snd_human_m_die_01
CAN=MT_EQUIP|MT_WALK|MT_RUN|MT_GHOST
RESOURCES=
FOODTYPE=
//SHELTER=r_house
AVERSIONS=t_TRAP,t_eerie_stuff
DESIRES=i_gold,e_notoriety
DESCRIPTION=Ghost
SUBSECTION=Miscellaneous
CATEGORY=Civilized

ON=@Create
NPC=brain_human

FENCING={15.0 38.0}
PARRYING={15.0 38.0}
SWORDSMANSHIP={15.0 38.0}
WRESTLING={15.0 38.0}
MACEFIGHTING={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
TACTICS={15.0 38.0}
As a player, they can not pass through doors dead. This causes some problems as players are getting stuck in dungeons and other areas.

Works fine with .gm 1, but with .gm 0 it rubberbands as I attempt to cross through a door.


RE: Players can not pass through doors dead - Skul - 08-11-2014 11:45 PM

.bump.


RE: Players can not pass through doors dead - Rizz - 08-12-2014 02:58 AM

Same problem here...

I noticed that in the past was possible to check the can_flags as "<src.can_flags>" but now is only possible with "<src.can>"... could be the problem?


RE: Players can not pass through doors dead - XuN - 08-12-2014 03:09 AM

As temporal fix use can |=mt_ghost in @Death and remove it when ressurrecting.


RE: Players can not pass through doors dead - Rizz - 08-12-2014 03:36 AM

PHP Code:
ON=@SPELLEFFECT
if (<argn1>==59)
    
CAN = <CAN>&~MT_GHOST
endif 


Like this?


RE: Players can not pass through doors dead - Skul - 08-12-2014 11:21 PM

Yep, works fine now. Thanks.


RE: Players can not pass through doors dead - Extreme - 08-18-2014 04:16 AM

It's now fixed internally. See r2007.