Help - Search - Members - Calendar
Full Version: Looking for logout on death
AC Tools Everything Macro > AC Tool Macros > Asheron's Call Macros
No0se
I'm looking for a logout on death, something simple, i found the few logout on deaths on these fourms but there seems to be problems with them? could someone help me with a recent and updated logout on death? I've had my trade bot @ our monarchy mansion(thats free) get killed by noobs pulling mobs onto me and then I sit at LS... bad problem. Also the same for buff bots. Please help smile.gif Greatly appreciated and thanks in advance.
Chazcon
Why not learn ACTool and write one?
Ahk
Is this in AC? If so, you can write a script to run away when monsters are near. Also, healing yourself and running I don't think would be at all against code of conduct. As long as you don't target anything, it'd be safe to try and stay alive.

_monstersnear would be particularly useful, and LoadDecalWorld and it's related commands as well. I'd recommend getting the power to boot people from your monarchy, and make a list of people allowed to do it via an @tell and password to boot people. You could also move the bots inside...as a simple alternative.

If you just want to logout and let this happen, you're not doing everything you can about it. There is a vitae variable, and if you can't get that one to work, use the vitae icon in the top and look for it instead. You might want to make sure that the icon will always be in the same place though -- because portal storm, buff and whatever other icons there are could through it off and make your bot not recognize it has vitae.

You could also just mansion recall and recover the bot after booting people. *shrug*

I'd be banning people from the guild, chat, and the bot altogether for killing the bot intentionally.
Chazcon
Hmm Ahk is always too kind...well, maybe it's rubbed off or I'm in a Gandhi mood...here:

CODE
// Simple Logout on Death

SetActiveWindow Asheron's Call

Constants
 MV = 0
 keyLogout = @1 // set to your keyboard mapping for End Character Session
End

While 1 = 1
 ProcessMessages
 Delay 500
End

Procedure Death every 1 sec
 If _myvitae <= $MV
   Set $MV = _myvitae
 Else
   SendText 6, I HAVE DIED!
   While 1 = 1
     Select Life Stone
     If {PluginResult} = OK
       Break
     End
     Delay 50
   End
   Delay 10000
   Keys $kLogout
   Stop
 End
End
Ahk
Well, we should have flamed for posting in the wrong forum, but I suppose we can let it slide smile.gif. Noose, next time read the forum rules before posting. They're pinned at the top, this particular section is for complete and working macros.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.