Help - Search - Members - Calendar
Full Version: ACTool wont log when using - Keys ~{Esc}
AC Tools Everything Macro > AC Tool Macros > Asheron's Call Macros
klyhutch
ACTool will not log my character when calling the LogOut Procedure. The macro stops as if the keys were pressed, but my character just stands there at his LS.

Is there something I am doing wrong or does ACTool not recognize these two keys being used together?

CODE
Delay 5000

While 1 = 1
  Call DeathCheck
End

Procedure DeathCheck
  While 1 = 1
    Delay 1000
    LoadRGB 640, 03
    If {RGBRed} = 177 AND {RGBGreen} = 0 AND {RGBBlue} = 0
      Timestamp I Died!!
      Delay 10000
      Call LogOut
    Else
      Break
    End
  End
End

Procedure LogOut
  Timestamp Logging Out
  Delay 15000
  Keys ~{Esc}
  Stop
End


NOTE: The RGB values and coordinates are correct for detecting Vitae Penalty.
Ahk
I used to use that as well, and I don't believe there were any issues with it back when. You might try using KeyDown instead of keys...and also, to verify the keys work, only write a one line macro to press them, instead of all the other code. You did not say whether LogOut was in the Test Log tab at the end, even though you said the RGB checks worked.
klyhutch
QUOTE(Ahk @ Jul 31 2007, 12:34 AM) *
I used to use that as well, and I don't believe there were any issues with it back when. You might try using KeyDown instead of keys...and also, to verify the keys work, only write a one line macro to press them, instead of all the other code. You did not say whether LogOut was in the Test Log tab at the end, even though you said the RGB checks worked.


Sorry bout that, yes the LogOut is in the test log.

Thankyou for youer suggestions. I ran some tests to verify that ACTool was sending the commands and low and behold, it is not. It will not send the command to press the {Esc} button for whatever reason.

After getting extremely frustrated with the whole thing I solved the problem by assigning the "End Character Session" in the Keyboard Configuration options, to keys that ACTool is sending the commands for. Instead of using ~{ESC} to log out, I can use just about any combination of keys I choose. In this case I use ~L and it works great.

I am not sure why ACTool wont press the {ESC} button, maybe its a flaw in my installation and/or set up? If it is a bug consider this my report.

Thanks agian for your help.
Amuk
The Escape button and F# buttons quit working with the TOD expansion. The directX change if I remember right. I started just using Alt+F4 to kill it.
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.