This is something i wrote in AutoIT for my own AH bot that worked on image recognition, but since there are other superior bots out there i chose to pick them, and use my own script to make sure they were running, i also made a timer for logout / login, so i didnt have to worrie if the script was running 24/7.
The scripts are very messy, but all the code is commented.
Anyhow you need very very little basic AutoIt Knowledge to make it work, it relies on ImageSearch, so it will only work with the D3Prefs i added in there, make sure you put them to "Read Only", and you have to use the Windows Classic Theme with a resolution of 1920x1080.
So what do you have to do?
1. Change the resolution, Theme, and D3 Prefs to Match.
2. Unzip the folder to the location of your "primary bot" in my case happybot, the .exe has to be there.
(If your not using happybot, make sure you change all the
Code:
ProcessClose ( "HappyAuction.exe" )
and
Code:
Run("HappyAuction.exe", @ScriptDir)
Sleep ( 5000 )
Send ( "{F12}" )
To the name of the .exe you want to make sure runs, also set the hotkey to whatever you have as starter hotkey for the bot)
And if you are not using a AH Bot, but some ingame bot, you will need to edit quite alot of the code, since it uses the gold emblem next to money as "Reference" for that it is in the AH.
3. Find the Atributes and values you want it to set everytime, take a screen shot, put it in to "Pictures" and name it "Atrib1", "Atrib2" or "Atrib3",
Find out how far you have to Scroll the atrib bar to get to the picture and change
Code:
MouseMove ( 266, 516 ,10 ) ; Change this to how far it has to scroll to get to atribute 2
Accordingly
4. Change the varriables in "QuickBot.Au3" to the the values you need, $Password = "ThisIsMyPassword!" is your password etc.
5. Put the LogOut / LogIn Timer to whatever you wish, remember its in seconds, so if you want it to log out in 5 houers, change To And thats about it, the hardest part will be changing the atributes and scroll to location X/Y values.
The script checks if you are in the RMAH or the GAH and puts you in to the GAH it also checks if the AH is sorted by Time left, the code is very messy, but it works fine for me, so i tought i would share.
Here is the zip Timer&QuickBot.rar
PS: Compile everything when you are done editing or it wont work.