Found this on another forum, and since its great and i use it i decided to post it here, i take no credit for it
Latest version can always be found here: [AutoIt] Sarkoth farm script 1.9.3 - Pastebin.com
Latest INI can always be found here: Sarkoth Run - DH.ini - Pastebin.com (great readme if you are confused)
Stats:
Open Cellar Run: 35-39 seconds
Closed Cellar Run: 16-17 seconds
Gold Per Hour @ 180% GF: 300-500k
Summary
-Auto Loot (Infinitely customizable)
-Auto Stash (Page 1 and 2)
-Auto Vendor (By color, or by location)
-Customizable runs till vendor
-Death Check
-Repair Check
-Input Limit Check
-Network Disconnect Check
-Basic State Checking
-Random Clicks (Never click the same pixels again)
-Customizable attack functions
-Automatic INI reading/writing (no more changing values in the script!)
Controls
= Starts the Script
X Stops the Script
{PAUSE} Pauses the Script
Custom Looting
Find an affix that you like? Want to loot more of it?
Turn the a screenshot into a looting tool.
-Drop item on the ground
-Screenshot the item
-Edit screenshot in your image editor of choice (I use Paint.Net)
-Crop image so just the affix is visible like this -> Attachment 8133
-Save image as PNG and put it in the image folder
-Add the image name to the custom list in the script
-Now you are looting any specific gear you want.
-Use the Custom Looting Bot to test it, drop some items in town.
-Run bot.
Instructions
Install The Script
Download zip here: https://dl.dropbox.com/u/9955791/BotFiles.zip
Put the folder holding the PNGs wherever you want them (I advise the same folder as where your scripts are saved)
Update your INI with the location of your PNGs
Put the DLLs in C:\Windows\System32\
Run the script (be sure to run as x64 if you are on 64 bit OS)
Begin the script with =
Press x to stop it
Edit the settings in the ini file it generates (And only the INI)
*If you are running anything but fullscreen windowed mode @ 1920x1080, the size of letters will mismatch and not loot anything. Resize or make your own pngs.*
Set Game Options
Must be in FULLSCREEN WINDOWED (Created for 1920x1080, other resolutions are not guaranteed to work)
Must bind Move to Mouse 3 (Middle Mouse Button)
Set Player Location
1. Select Quest: Act I Legacy of Cain - Explore Cellar
2. Waypoint to Old Ruins
3. Run west until you hit a checkpoint (should occur in about 5-10 seconds)
4. Teleport to town, leave game
5. Run AutoIt Script
6. From the Menu press =
Requirements
REQUIRED BUILD-ish
http://us.battle.net/d3/en/calculato...XVT!aYW!YaaabY
One of the cool things is that you dont need to have the same abilities in the same location, in the INI you can change it so that your ferret is on 1 or 4 etc. This way there isn't any more ability swapping than needed between real play and botting.
TroubleShooting
1 - Its not working
=> Read the instructions... they are different than most scripts
2 - Mouse Moves around in bottom right corner on menu
=> PNGs are not being found, doublecheck INI settings
=> PNGs are unclear, try making your own. Different systems have different graphic settings which can throw it off.
=> Try the other DLLs, sometimes people find the DLLs for x32 work on x64, sometimes the opposite.
3 - Teleports as soon as its in game
=> OldRuins.PNG is unclear, try making your own (Words in upper right corner)
=> Long load time from main menu to OldRuins. working on a fix.
4 - I'm looting whites, a lot of them.
=> Set LootTomes to False, some systems have a bug in which whites are looted too.
=> Still?, Set LootMagic to False,
=> Still?, Set LootGems to False,
=> Still?, You're screwed.... Send me a PM saying you tried all this and ill see if we can solve something
4 - Im on a x64 System.
=> Some people have had to reinstall AutoItx64 to get it to work.
=> Some people have had to use x86 DLLs, others x64, more of an art than a science.
5 - Popup that says "The server seems to be offline."
=> Allow script through firewall
This script uses imagesearching so I need contributors to help supply me with screenshots for other resolutions
1. Main Menu. (Res doesn't yet have MainMenu)
2. As soon as you log into the game (at the checkpoint). (Res doesn't yet have OldRuins)
3. As soon as you are in the Dank Cellar. (Res doesn't yet have DankCellar)
4. As soon as you return from a TP and are in New Tristram. (Res doesn't yet have NewTristram)
5. Various Rares, Legendaries, Sets, Gems on the ground (Res doesn't yet have vowels)
6. Various Rares, Legendaries, Sets, Tome of Secrets in your Inventory (Res doesn't have TomeIcon)
Known Working Resolutions
2560x1440
1920x1080
1600x900