Page 1 of 2

[Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT] [DH]

Posted: June 6th, 2012, 8:58 pm
by carefoot
[Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script] [1920x1080] [made for DH]


Free alternative for those of us who may not be buying Hellbuddy, Immortal or Virtual Steroids. I am tempted too level up a DH just to use a macro instead of a 'bot'.

How to get everything started

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. Return to game, press =


Summary
With 205% Gold Find in Inferno my DH used this code to make 1.7mil in 9 hours while I was at work yesterday
It is made very specifically for DH class (may be able to be edited per class)
More Gold Find = More Gold
Must open quest Act I Legacy of Cain - Explore Cellar (run once/leave game and resume before turning code on)
Will Repair broken gear
Understands if cellar is closed or open

This Code will do the following:

[*]Run to Dank Celler at the top of the mapChecks if the location is open or closed
[*]If Open it enters, Kills Sarkoth, Collects Gold, Teleports to town, Exits, Resumes, and Starts loop over[*]If Closed Teleports to town, Exits, Resumes, and Starts loop over
[*]Checks if you need to repair gear, automates loop to repair if needed, then restarts the main loop again

Requirements
  • Must be in FullScreen WINDOWED 1920x1080 (for the pixel color search to work)
  • Must have a minimum of 5 radius pick up (or you wont get all the gold that drops)
My Skill Set Up
On Right Click - Elemental Arrow with Nether Tentacles (Used to kill Sarkoth)
On 1 - Caltrops With Hooked Spines (to slow enemies on your path to cellar)
On 2 - Smoke Screen with Lingering Fog (to avoid enemies on path to cellar)
On 3 - Preparation with Battle Scars (to add discipline for more smoke screens and add health on path to cellar)
On 4 - Marked for Death with Grim Reaper(allows for more damage and creates aoe to minions in cellar)
Note: You can get an extra 10% GF switching out Marked for Death with Ferrets

If you have any advice on coding, changes, or better ways to go about this please feel free to give feedback especially since this is the first time I have ever written any script before.

EDIT: Added descriptions next to a lot of the coding for individuals to understand placement etc.
EDIT: Attempted some equations to automatically convert any 16:9 ratio resolutions.

Code: Select all

[color=#B22222]How to get everything started[/color]

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. Return to game, press =


[b][color=#B22222]Summary[/color][/b]
With 205% Gold Find in Inferno my DH used this code to make [b][i][u]1.7mil in 9 hours[/u][/i][/b] while I was at work yesterday
It is made very specifically for DH class [i][color=#0000CD](may be able to be edited per class)[/color][/i]
More Gold Find = More Gold
Must open quest Act I Legacy of Cain - Explore Cellar (run once/leave game and resume before turning code on)
Will Repair broken gear
Understands if cellar is closed or open

[b][color=#B22222]This Code will do the following:[/color][/b]

[*][color=#0000FF]Run to Dank Celler at the top of the map[/color][color=#0000FF]Checks if the location is open or closed[/color]
[*][color=#008000]If Open it enters, Kills Sarkoth, Collects Gold, Teleports to town, Exits, Resumes, and Starts loop over[/color][*][color=#B22222]If Closed Teleports to town, Exits, Resumes, and Starts loop over[/color]
[*][color=#0000FF]Checks if you need to repair gear, automates loop to repair if needed, then restarts the main loop again[/color]

[color=#B22222]Requirements[/color]

[list][*][b]Must be in FullScreen WINDOWED 1920x1080[/b] ([i][color=#0000CD]for the pixel color search to work)[/color][/i][*][b]Must have a minimum of 5 radius pick up [/b]([color=#0000CD][i]or you wont get all the gold that drops[/i][/color])[/list]

[b][color=#B22222]My Skill Set Up[/color][/b]
[u][b]On Right Click[/b][/u] - Elemental Arrow with Nether Tentacles [i][color=#0000CD](Used to kill Sarkoth)[/color][/i]
[b][u]On 1 [/u][/b] - Caltrops With Hooked Spines [color=#0000CD][i](to slow enemies on your path to cellar)[/i][/color]
[b][u]On 2 [/u][/b] - Smoke Screen with Lingering Fog [i][color=#0000CD](to avoid enemies on path to cellar)[/color][/i]
[b][u]On 3[/u][/b] - Preparation with Battle Scars [color=#0000CD][i](to add discipline for more smoke screens and add health on path to cellar)[/i][/color]
[b][u]On 4[/u][/b] - Marked for Death with Grim Reaper[color=#0000CD][i](allows for more damage and creates aoe to minions in cellar)[/i][/color]
[b][i][color=#800080]Note: You can get an extra 10% GF switching out Marked for Death with Ferrets[/color][/i][/b]

[color=#008000][b][i]If you have any advice on coding, changes, or better ways to go about this please feel free to give feedback especially since this is the first time I have ever written any script before.[/i][/b][/color]

[b][i][color=#B22222]EDIT:[/color] [color=#800080]Added descriptions next to a lot of the coding for individuals to understand placement etc.[/color][/i][/b]
[b][i][color=#B22222]EDIT:[/color] [color=#800080]Attempted some equations to automatically convert any 16:9 ratio resolutions.[/color][/i][/b]

Posted: June 7th, 2012, 2:23 am
by fadeous
ugh dont even get started on this lol , VS bot is like missing, hellbuddy is a wreck , hahaha im soo bummed out right now i put so much into VS im gonna start making some macros as well because the bots out there i feel cant be trusted right now

Posted: June 7th, 2012, 11:46 am
by Tault_admin
100 to you and moved to confirmed.

Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT] [DH]

Posted: June 8th, 2012, 6:36 pm
by greenxeyezz
Is it just me or is the code just the code for the post and not the code for AUTOIT?

Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT] [DH]

Posted: June 9th, 2012, 6:01 pm
by pupipo
greenxeyezz wrote:Is it just me or is the code just the code for the post and not the code for AUTOIT?
And, can anyone post the real code? :P
Thanks!

Posted: June 10th, 2012, 5:12 pm
by itsicarus
Global $Paused

HotKeySet("=","Leave")
HotKeySet("-", "Pause")
HotKeySet("x", "Stop")

$default_resolutionX = 1920
$default_resolutionY = 1080
$x_ratio = @Desktopwidth / $default_resolutionX
$y_ratio = @Desktopheight / $default_resolutionY

$go = True
$Leave = False

While $go
if($Leave) Then
$Pixel1 = PixelSearch((1482 * $x_ratio),(20 * $y_ratio),(1535 * $x_ratio),(95 * $y_ratio),0xFFF000) ;searches top right screen for yellow of broken armor
If Not @error Then
Send("t")
Sleep(8000)
MouseClick("left", Round(1480 * $x_ratio),Round(281 * $y_ratio));begin movement towards merchant
Sleep(1500)
MouseClick("left", Round(1316 * $x_ratio),Round(206 * $y_ratio)) ;moves to get merchant in screen
Sleep(1500)
MouseClick("left", Round(845 * $x_ratio),Round(225 * $y_ratio)) ;NPC Merchant to the right of cain's home
Sleep(1500)
MouseClick("left", Round(521 * $x_ratio),Round(506 * $y_ratio)) ;button to open up repair menu
Sleep(1500)
MouseClick("left", Round(260 * $x_ratio),Round(595 * $y_ratio)) ;button to pay for repairs
Sleep(2500)
Send("{ESCAPE}") ;exits store menu
Sleep(250)
Send("{ESCAPE}") ;opens menu
Sleep(1000)
MouseClick("left", Round(956 * $x_ratio),Round(579 * $y_ratio)) ;button to leave game
Sleep(8000)
MouseClick("left", Round(230 * $x_ratio),Round(416 * $y_ratio)) ;button to resume game from main menu
Sleep(8000)
Else
MouseClick("left", Round(587 * $x_ratio),Round(333 * $y_ratio)) ;starts the main run
Sleep(1800)
Send("2")
MouseClick("left", Round(96 * $x_ratio),Round(383 * $y_ratio))
Sleep(800)
Send("1")
Sleep(1500)
MouseClick("left", Round(417 * $x_ratio),Round(422 * $y_ratio)) ;middle of area outside of cellar
Send("1")
Sleep(2000)
Send("3")
Send("2")
MouseMove(Round(115 * $x_ratio),Round(210 * $y_ratio),1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
Sleep(2000)
$Pixel2 = PixelSearch(0,0,(960 * $x_ratio),(540 * $y_ratio),0x3B62E3,3) ;searches for the specific blue pixel that only occurs when mouse hovers over open cellar
If Not @error Then
MouseClick("left",Round(115 *$x_ratio),Round(210 * $y_ratio)) ;Entrance to cellar
Sleep(1900)
Send(2)
Sleep(1800)
MouseClick("left",Round(531 *$x_ratio),Round(769 * $y_ratio))
Sleep(2000)
MouseClick("left",Round(547 *$x_ratio),Round(490 * $y_ratio)) ;moves to doorway leading to rare inside cellar
Sleep(1500)
MouseMove(Round(579 * $x_ratio),Round(209 * $y_ratio),1) ;hovers over the rare Sarkoth
Send(4)
Sleep(1000)
Send("{SHIFTDOWN}")
MouseDown("right") ;attack middle
Sleep(3800)
MouseMove(Round(467 * $x_ratio),Round(269 * $y_ratio),1) ;attack left, add more sleep time if you can't kill minion on left
Sleep(3000)
MouseMove(Round(682 * $x_ratio),Round(147 * $y_ratio),1) ;attack right
Sleep(800)
MouseMove(Round(579 * $x_ratio),Round(209 * $y_ratio),1) ;move back to middle
Sleep(1000)
MouseUP("right")
Sleep(300)
Send("{SHIFTUP}")
Sleep(500)
MouseClick("left",Round(579 *$x_ratio),Round(209 * $y_ratio)) ;location of sarkoth after death
Sleep(2500)
MouseClick("left",Round(866 *$x_ratio),Round(324 * $y_ratio)) ;moves to right top corner for gold
Sleep(1500)
MouseClick("left",Round(902 *$x_ratio),Round(954 * $y_ratio)) ;moves to bottom middle for gold
Sleep(1500)
MouseClick("left",Round(687 *$x_ratio),Round(413 * $y_ratio)) ;moves to left top corner for gold
Sleep(1500)
Send("t")
Sleep(8200)
Send("{Escape}") ;menu
MouseClick("left",Round(956 *$x_ratio),Round(579 * $y_ratio)) ;button to leave game
Sleep(13000)
MouseClick("left",Round(230 *$x_ratio),Round(416 * $y_ratio)) ;button to resume game from main menu
Sleep(7000)
Else
MouseClick("left",Round(900 *$x_ratio),Round(900 * $y_ratio)) ;moves down screen away from cellar in attempt for safety before teleporting back to town
Sleep(1200)
Send("t")
Sleep(8200)
Send("{ESCAPE}") ;menu
MouseClick("left",Round(956 *$x_ratio),Round(579 * $y_ratio)) ;button to leave game
Sleep(13000)
MouseClick("left",Round(230 *$x_ratio),Round(416 * $y_ratio)) ;button to resume game from main menu
Sleep(8000)
EndIf
EndIf
EndIf
WEnd

Func Pause()
$Leave = False
EndFunc

Func Stop() ;to allow the script to stop
Exit
EndFunc

Func Leave()
$Leave = True
EndFunc
This is a direct copy/paste from another site, he just forgot to include the code ;o

Re:

Posted: June 11th, 2012, 1:27 pm
by pupipo
Thank you!

Posted: June 12th, 2012, 5:22 pm
by zenmind
I was banned yesterday during the ban wave while using hellbuddy, so i dont advise any1 to use it!
Do you guys know if this marcro method isnt detectable like Hb?
Thanks

Re:

Posted: June 14th, 2012, 1:50 am
by carefoot
itsicarus wrote:
This is a direct copy/paste from another site, he just forgot to include the code ;o
Actually I included a link my post got edited.

Posted: June 19th, 2012, 6:47 am
by bigrob121
Using this now, works great. Does anybody know if they can detect macroing? Is this not the same method of botting as hellbuddy?

Posted: June 19th, 2012, 2:39 pm
by Tault_admin
Its much harder to detect it. They mainly search for specific programs so with autoit maybe but id look up ways to hide autoit processes from warden.

Posted: July 14th, 2012, 1:44 pm
by nerc961
How can i use this ? how can u use macros in D3 ??

Posted: July 19th, 2012, 7:41 am
by wulfgar1114
where do u put the code in i am new to this

Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT] [DH]

Posted: August 6th, 2012, 11:25 am
by guille7777
My screen resolution is 1680x1050(16:10), this script doesn't work for me.

What should i modify to get this work for my resolution?

Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT] [DH]

Posted: August 9th, 2012, 11:24 am
by chezter
wow love you