Setup Part one:
Make sure your defalt attack is the 1 key.
Make sure your ranged attack is set to the 8 key.
Setup the camera following style as "always", its in your interface options, and make sure your camera is behind your toon, and looking down on him/her a bit.
Run Wow in Windowed mode at 1024x768
*********************************
Setup Part two:
Find yourself a spot where you will be able to tab to select mobs, and still be within range of your bow/throwing knives or axe/wand etc etc.
Make sure you have plenty of said "pulling" weapon.
Run the script, but dont walk away just yet.
Watch and see what happens to make sure you are in a good spot and it will loot correctly.
The PAUSE key exits this script.
If everything works, enjoy. If something goes wrong with the script please post errors here.
As of right now this bot will not move you closer or further away from a mob. It just stands there and fights. I have plans for future updates but right now ive been up for somwhere in the area of 36 hours so im going to sleep.
here's the code:
Code:
; <AUT2EXE VERSION: 3.1.0.4> ; ---------------------------------------------------------------------------- ; <AUT2EXE INCLUDE-START: C:\Documents and Settings\Home\My Documents\NutralBot.au3> ; ---------------------------------------------------------------------------- ; ************************************************** ************************************************** **** ; NutralBot v1.5 beta by Dirtybob. ; Globals $win_title = "World of Warcraft" ; Sets the "Pause" Key to Exit the bot. HotKeySet("{PAUSE}", "EndScript") ; Fires up WOW, puts it on top. I recomend Windowed Mode. WinActivate($win_title, "") WinSetOnTop($win_title, "", 0) Sleep(1000) ; Checks your toons life, its its too low it sits down to rest. Func Life_Check() $Coord = PixelSearch ( 0, 0, 194, 76, 0x00D900 , 0, 0 ) If not @error Then sleep(1000) Find_mob() else Send("x") sleep(5000) Send("x") endif EndFunc ; Looks for a mob func Find_Mob() Send("{TAB}") sleep(500) $Coord = PixelSearch ( 0, 0, 382, 58, 0x3F3E3F , 0, 0 ) If not @error Then Pull_mob() else sleep(500) ;Move_Toon() Life_check() EndIf EndFunc ; Pulls the mob by shooting, or whatever ranged you have set to key 8 Func Pull_Mob() Send("8") Sleep(1300) Attack_Mob() EndFunc ;Func Move_Toon() ;Not supported yet ; ; ;EndFunc Func Attack_Mob() Send("1") Mob_Life() endfunc Func Mob_Life() while 1 $Coord = PixelSearch ( 0, 0, 263, 75, 0x009800 , 0, 0 ) If @error Then Loot_Mob() else sleep(5000) endif wend EndFunc Func Loot_mob() send("{SHIFTDOWN}") MouseClick("right", 507, 360, 1, 1) sleep(300) send("{SHIFTUP}") sleep(500) send("{SHIFTDOWN}") sleep(300) MouseClick("right", 473, 408, 1, 1) send("{SHIFTUP}") sleep(500) send("{SHIFTDOWN}") sleep(300) MouseClick("right", 517, 410, 1, 1) send("{SHIFTUP}") sleep(500) send("{SHIFTDOWN}") sleep(300) MouseClick("right", 539, 414, 1, 1) send("{SHIFTUP}") sleep(750) Life_Check() Endfunc Life_Check() ; Exits the Bot. Func EndScript() $exit = MsgBox(4, "Ender", "Exit the Bot?") If $exit = 6 Then Exit EndIf EndFunc
Einstellung Teil eins: Stellen Sie sicher, daß Ihr defalt Angriff der 1 Schlüssel ist. Stellen Sie sicher, daß Ihr erstreckter Angriff auf den Schlüssel 8 eingestellt wird. Gründen Sie die Kamera nach Art als "immer", seinen innen Ihren Schnittstelle Wahlen, und stellen Sie sicher, daß Ihre Kamera hinter Ihrem toon und dem Schauen unten auf him/her einer Spitze ist. Lassen Sie Wimmern im Windowed Modus an 1024x768 laufen *********************************
Einstellung Teil zwei: Finden Sie sich ein Punkt, wo Sie tab, um Pöbel vorzuwählen in der LageSIND, und seien Sie noch innerhalb des Bereiches Ihrer bow/throwing Messer oder axe/wand usw. usw.. Stellen Sie, viel von besagtem zu haben Waffe sicher ", ziehend". Lassen Sie den Index laufen, aber nicht gehen weg gerade schon. Passen Sie auf und sehen Sie, was geschieht sicherzustellen, daß Sie in einem guten Punkt sind und er plündert richtig.
Der PAUSE Schlüssel nimmt diesen Index heraus.
Wenn alles arbeitet, genießen Sie. Wenn etwas falsch zum Index bitte paßt, geben Sie Störungen hier bekannt.
Ab im Augenblick diesem BOT verschiebt Sie nicht nahe oder weiter entfernt von einen Pöbel. Es gerechte Standplätze dort und Kämpfe. Ich habe Pläne für zukünftige Updates aber im Augenblick das ive, das oben für somwhere im Bereich von 6 Stunden so im gehend zu schlafen gewesen wird.