Page 1 of 1

Best way to identify a death event?

Posted: Tue Apr 10, 2012 9:24 pm
by spartikus
does the "YOU HAVE BEEN SLAIN" still work?

Trying to set up my auto accept rez and just want a reliable death event to fire it off from..

Also have a problem I have noticed a couple of times when the master character dies looting a corpse (mobs respawn righ tin the middle of the loot cycle) the macro wont exit the loop event. Probably because it's waiting for the cursor to pick up something..

Any thoughts on a death event or trigger to active the auto accept rez?

Re: Best way to identify a death event?

Posted: Tue Apr 10, 2012 10:03 pm
by Maskoi
#Event ImDead "You have been slain by#*#"
#Event ImDead "You died."

Re: Best way to identify a death event?

Posted: Tue Apr 10, 2012 10:20 pm
by spartikus
Thanks for the speedy response Mas. I'll fire them up.

Re: Best way to identify a death event?

Posted: Mon Apr 23, 2012 3:17 pm
by spartikus
For anyone working on this in the future there are a couple things I did to make this work..

- I added in a "Hover check" to my combat loop to see if I've been slain
- I had the hover check call a "Waiting for res" subroutine that puts the macro into a state of checking for the rez window
- I added an event to the waiting for rez loop that is triggered by the "returning to Bind Location" message.
- I added in a delay of xxx seconds (5-10 minutes whatever) once you've returned to bind point at which time if a rez screen hasn't been offered the char reports it is logging off to the group.

I haven't debugged and tested the script thoroughly but it is definitely working when I've had a macro die. There is a wait4rez VIP script so I would strongly urge people to get VIP status and use that but the logic above is pretty simple to implement if you want to hashout your own solution.

Enjoy :)