Alrighty,
I am getting kinda annoyed by Glider's downtime, and i know a little scripting so i thought i would write a bot useing AutoIT.
Heres what it does:
It tabs for neutral mobs by looking for the yellow bar that is above the mobs health bar, this is also where is tells you what the name of the mob is.
Once it has a mob it sends the command to press the "8" hot-key on your keyboard. I used the 8 because thats where my bow is.
Then it waits for the bows cooldown, mine is 2.4sec. and the sends the 1 key to attack, attacks for 20 seconds, then trys to loot.
Really simple, really easy.
WATCH OUT
1. It will not check your toons health before attacking.
2. It wont turn you around if your facing the wrong way.
3. It wont buff.
4. It wont run away if your getting pwnt.
-feel free to take this and improve it, or just delete it and call me a newb. im not that good a scripting.
Thanks, MeowBird
BTW, Here is the code: (you will need to edit out some of my stuff)
Code:
; <AUT2EXE VERSION: 3.1.0.4>
; ----------------------------------------------------------------------------
; <AUT2EXE INCLUDE-START: C:\Documents and Settings\Home\My Documents\HunterBot.au3>
; ----------------------------------------------------------------------------
; ************************************************** ************************************************** ****
; NutralBot by MeowBird.
; Globals
$win_title = "World of Warcraft"
; Stuff that you may need to know.
; Color of neutral mobs = 0xD2CF00
; Color of hostile mobs = 0xD20000
; When you use "sleep(XXX)" to wait in AutoIT 1000=1 second
; Sets the "Pause" Key to Exit the bot.
HotKeySet("{PAUSE}", "EndScript")
; Fires up WOW and makes sure its on top. I recomend Windowed Mode.
WinActivate($win_title, "")
WinSetOnTop($win_title, "", 0)
Sleep(1000)
; Starts the whole script. This is the First mob search. after it everything is basicly handled in the loop.
find_Mob()
func find_Mob()
Send("{TAB}")
sleep(1000)
EndFunc
; Scans for a neutral mob, by looking by the yellow color where the mob name is by the mobs thumbnail at the top center of the WOW screen. Edit the lines with **** to suit your needs.
While 1
$Coord = PixelSearch ( 0, 0, 271, 62, 0xD2CF00 , 0, 0 )
If @error Then
sleep(1000)
find_Mob()
else
Send("{8}") ****This is my Bow, used for pulling. Key 8******
sleep(2400) ****Speed of my bow, 2.4sec******
Send("{1}")
sleep(20000) *****Time to Fight. 20 sec, then loot****
send("{SHIFTDOWN}")
MouseClick("right", 507, 360, 1, 1) ***Checks for loot***
send("{SHIFTUP}")
EndIf
Wend
; Exits the Bot.
Func EndScript()
$exit = MsgBox(4, "Ender", "Exit the Bot?")
If $exit = 6 Then
Exit
EndIf
EndFunc