What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Suggestion: Hotkey for start and stop

chaos50006

New Member
Joined
Jan 31, 2012
Messages
21
Reaction score
0
Sometimes i am in game and suddenly i see a node that the bot has missed or a horde player that needs to die, i then have to alt tab out just to stop the bot. please can you add a hotkey for stopping and starting the bot to save me the hassle of alt tabbing.
Chaos
 
simple enough set it to windowed mode.. removes the need to alt tab :]
 
I would like to have an option to set a hot key to start and stop boting without having to leave the focus of the game window as well.
 
I whipped up a quick autoit script that suits my needs for this functionality.

Its something i spent about 10 minutes on and its probably not the most perfect way to do it but here it is

Code:
[COLOR="#008000"];the function hot key is CTRL+/[/COLOR]
[B]HotKeySet("^/", "StopBot")[/B]
[COLOR="#008000"];loop[/COLOR]
[B]While 1
Sleep(1000)
WEnd
Func StopBot()
If ProcessExists("Honorbuddy.exe") Then
WinActivate ("Honorbuddy")[/B]
[COLOR="#008000"];maximize the window for the purpose of ensuring the start/stop button is always in the same place for the mouse click[/COLOR]
[B]WinSetState ("Honorbuddy", "", @SW_MAXIMIZE )
Sleep(40)[/B]
[COLOR="#008000"];remember mouse postition[/COLOR]
[B]$pos = MouseGetPos()[/B]
[COLOR="#008000"];prevent user inuruption[/COLOR]
[B]BlockInput (1)[/B]
[COLOR="#008000"];click the start stop button[/COLOR]
[B]MouseClick("left", 1835, 1031, 1, 1)[/B]
;just emulates ctrl press to prevent it getting stuck from blocked input
[B]Send("{CTRLDOWN}")
Send("{CTRLUP}")[/B]
[COLOR="#008000"];allow input again[/COLOR]
[B]BlockInput (0)[/B]
[COLOR="#008000"];un-maximize honorbuddy[/COLOR]
[B]WinSetState ( "Honorbuddy", "", @SW_RESTORE) [/B]
[COLOR="#008000"];return mouse to original position[/COLOR]
[B]MouseMove($pos[0], $pos[1], 0)[/B]
[COLOR="#008000"];restore wow window[/COLOR]
[B]WinActivate ("World of Warcraft")
EndIf
EndFunc[/B]


I play wow in Fullscreen-Windowed mode and the result of this code is when I press the Hotkey ctrl+/ it brings up honorbuddy maximizesit clicks on the stop/start button and brings wow back up with my cursor in its original position. Its fast and it works so I'm happy.

This can be run in the background independently if you want this functionality. I have this code incorporated into a script that I already always have running so it is always active (that's why I have the IF statement checking for honorbuddy)

Hope this is useful to someone.
 
Last edited:
Bump.
Any solution around?
I dont get why pause has to be so "hidden" in Honornbuddy, but in Demonbuddy its right next to start...
 
Back
Top