SphereCommunity
Equiped item timers.. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Equiped item timers.. (/Thread-Equiped-item-timers)



Equiped item timers.. - Handred - 07-15-2012 05:27 AM

Has anyone of you also saw that equiped items in layer_special or t_eq_script, like a timer item, sometimes stay at timer 0 without decaying and then firing on=@timer trigger ?


RE: Equiped item timers.. - Skul - 07-15-2012 07:53 AM

Happens if the player logs out, I see it all the time, a good way to avoid that is TIMERf xx, function_name or try placing the memory object on the worldmap somewhere a player can't go (jail room's?) - link the memory object to call commands on the player.


RE: Equiped item timers.. - Handred - 07-15-2012 11:07 AM

Nah does not happen when the player logs out. Its like a 60 seconds timer for a .shout, or for a .vote.
Happens all the time on my GM account but not on a player account, weird stuff, will investigate that.


RE: Equiped item timers.. - Skul - 07-15-2012 02:25 PM

Well, if the timer always has to take place after X seconds, try calling TIMERF off the object, that'll work properly. Not sure if you have been around since that feature was add:
Code:
<obj.>timerf x, func_name
calls func_name after x seconds on <obj.>


RE: Equiped item timers.. - Handred - 07-18-2012 04:11 AM

Yeah figured out that fix already instead of using memory items with timers. Thanks.


RE: Equiped item timers.. - Handred - 07-23-2012 05:59 AM

Its about Sectorsleep. Damnit.