Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Sun May 26, 2013 4:01 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 297 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 20  Next
Author Message
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 3:40 am 
 
User
User

Joined: Sat May 26, 2012 9:57 pm
Is there anyway that this script will not run on the primary screen? I have dual monitors in which my second screen can have a resolution of 1920x1080. I drag my D3 onto the second screen (i put it on windows mode with the 1920x1080 setup) and when i run the script the mouse tends to click on my primary laptop screen which can't handle the 1920x1080 display(also the game is not on this screen).


You would have to change all the clicks to work however far away that screen is. Or set the second screen as primary and your other monitor as secondary. I do this for when I watch movies while testing scripts.

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 5:28 am 
 
User
User

Joined: Sat Dec 12, 2009 4:03 am
notAres, have you made any improvements to your script? It doesn't seem to be very good at picking up rares.

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 6:44 am 
 
User
User

Joined: Mon Jun 11, 2012 6:41 am
An adaptation to 1920*1200 would be very much appreciated :)
Very nice script, with some little tweaks I got it running, ecept for the merchant part

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 6:54 am 
 
User
User

Joined: Fri Jun 08, 2012 8:40 am
Works perfectly , ur my hero

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 8:38 am 
 
User
User
User avatar

Joined: Sat Jun 09, 2012 5:23 am
notAres, have you made any improvements to your script? It doesn't seem to be very good at picking up rares.


You may have to set the colors for rares according to how your video card renders them and be sure rares pickup is enabled in the script. I had to adjust the color for rares but the color for legendary items was surprisingly the same. Also, don't expect the bot to pick up 100% of the rares. I watched it pick up a Dread Shield Plan last night then 15 mins later watched it walk past some rare boots. But all in all the script is great and I have more gold than I know what to do with. :D

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 8:49 am 
 
User
User

Joined: Sun Jun 10, 2012 3:07 am
Nvm, fucking sexy script.

Would appreciate if you can get a 1280x1024 compatible though

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 10:44 am 
 
User
User

Joined: Sat Nov 27, 2004 4:33 am
Alright guys, it doesnt have random timing nor does it support other resolution than 1920x1080.
This is for DH, with some speed boost, picks up magic to set items, it will sell all magics AND it will deposit your yellows -> set items in the stash(make sure first tab is empty). simple clicking all slots in inventory interface for selling items. it works very well (at least for me). It has a really long combat sequence because im wearing full GF gear(cheap stuff).

http://pastebin.com/vgNC453R


Hey Wetwlly,

I'm trying to understand your script but i am facing some issues here. In your function checkBag(), how does it differentiate blues from the others? Can you help me understand what does $Pixel7 search for (0x140c08) ? DOesn't it just sells everything to the merchant, and tries to deposite whats left into the stash?

Appreciate if you can help me understand. thanks!

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 12:03 pm 
 
User
User

Joined: Mon Jun 11, 2012 11:59 am
I apologize, but, how does the PixelSearch works ? If i copy/paste the Script it work like the Cellar is always closed. But if i set a different color using a print screen its always considers that the cellar is open. I tried a hundrer different colors already !

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 2:04 pm 
 
User
User

Joined: Fri Jun 08, 2012 7:26 pm
I don't get how to run this. started the Script but nothing happens. Which key do I have to press to start this?

read the script, you need to press = once you start it and be at the checkpoint area for the script to run


I read but I think it is F10 for the newest script.. maybe = in the past?

I am not so sure, I had to right click and remove pause from bottom left of my desktop and then press F10..

Somehow it works but it doesn't teleport at good place and it dies before it teleports.. Maybe it's cuz i have a 16:10?

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 2:41 pm 
 
User
User

Joined: Sun Apr 30, 2006 2:28 am
Is there anyway that this script will not run on the primary screen? I have dual monitors in which my second screen can have a resolution of 1920x1080. I drag my D3 onto the second screen (i put it on windows mode with the 1920x1080 setup) and when i run the script the mouse tends to click on my primary laptop screen which can't handle the 1920x1080 display(also the game is not on this screen).

without adjusting clicks position, you can try doing it on a virtual machine (like VMware), this will make another window that you can drag off on to your secondary but not affect the position since it's technically "another computer" thus mouse positions will remain the same on that virtual environment. i've done this successfully able to run d3 in that VM with 30 fps and the script is smooth.

virtualbox doesn't work, i've tried and it won't use the discrete graphics of the host computer.

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 3:25 pm 
 
User
User

Joined: Sat Jun 09, 2012 11:50 am
I have modified this script to work for my barb. You need to have a gold and health pick up of at least 6 yards to get all of the gold. At the moment, this is kind of rough, but works. It picks up gold only. Here is the code. Enjoy!

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}") ;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)
              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(500)
           MouseMove (Round(579 * $x_ratio) ,Round(209 * $y_ratio) ,1)
           Sleep (3000)
              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)
           MouseClick("left",Round(1447 *$x_ratio),Round (704 * $y_ratio)) ;moves down and left for gold
           Sleep(1500)
           MouseClick("left",Round(1049 *$x_ratio),Round (104 * $y_ratio)) ;moves up and right for gold
           Sleep(1500)
           MouseClick("left",Round(1073 *$x_ratio),Round (303 * $y_ratio))
           Sleep(1500)
           MouseClick("left",Round(1291 *$x_ratio),Round (801 * $y_ratio))
           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


could u tell me ur skill setup plz? which skill on which button with which rune? maybe it would work then ;)

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 3:31 pm 
 
User
User

Joined: Sat May 26, 2012 9:57 pm
Alright guys, it doesnt have random timing nor does it support other resolution than 1920x1080.
This is for DH, with some speed boost, picks up magic to set items, it will sell all magics AND it will deposit your yellows -> set items in the stash(make sure first tab is empty). simple clicking all slots in inventory interface for selling items. it works very well (at least for me). It has a really long combat sequence because im wearing full GF gear(cheap stuff).

http://pastebin.com/vgNC453R


Hey Wetwlly,

I'm trying to understand your script but i am facing some issues here. In your function checkBag(), how does it differentiate blues from the others? Can you help me understand what does $Pixel7 search for (0x140c08) ? DOesn't it just sells everything to the merchant, and tries to deposite whats left into the stash?

Appreciate if you can help me understand. thanks!


You'll want to have nothing of personal value in your bags. All checkbag/autosell does is sells everything in your bag, considering it does not identify rares, legendaries, and set items -> those cannot be sold so they stay in bag. then your character heads over to stash and stores everything else.

Pixel7 search is looking for the last spot in your bag to be a color other than black(empty slot), it has been working pretty amazingly the past few days making me a lot more gold than just collection off the ground, but that extra 600+ gold for each blue picked up.

So for the last question, YES! it sells everything to the merchant and attempts to deposit the rest(which would be yellows-> set items)

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 4:11 pm 
 
User
User

Joined: Thu Feb 23, 2012 4:54 pm
I have modified this script to work for my barb. You need to have a gold and health pick up of at least 6 yards to get all of the gold. At the moment, this is kind of rough, but works. It picks up gold only. Here is the code. Enjoy!

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}") ;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)
              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(500)
           MouseMove (Round(579 * $x_ratio) ,Round(209 * $y_ratio) ,1)
           Sleep (3000)
              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)
           MouseClick("left",Round(1447 *$x_ratio),Round (704 * $y_ratio)) ;moves down and left for gold
           Sleep(1500)
           MouseClick("left",Round(1049 *$x_ratio),Round (104 * $y_ratio)) ;moves up and right for gold
           Sleep(1500)
           MouseClick("left",Round(1073 *$x_ratio),Round (303 * $y_ratio))
           Sleep(1500)
           MouseClick("left",Round(1291 *$x_ratio),Round (801 * $y_ratio))
           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


hey would like to know your setup as well :)

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 4:27 pm 
 
User
User

Joined: Wed Jun 06, 2012 7:56 pm
could u make 800x600

Top
 Profile  
 Post subject: Re: [Goldfarming] AFK 150k-200k Gold Per Hour [AutoIT Script
PostPosted: Mon Jun 11, 2012 4:30 pm 
 
User
User

Joined: Wed Jun 06, 2012 7:56 pm
honestly, if someone can write me a script for a barb to pick up legendaries/rares/greens & gold farm in royal crypts or act 4 vase killing id be willing to paypal them some $. i really am not that great with computer programming even with the help.


Same here. I'm messing with the script and trying to change the resolution for 3 hours and getting really frustrated.

Playing this on my 11" macbook air so my max resolution is 1366x768.

I'm more then willing to send a small donation if someone can make it work for 800x600 resolution cause it's driving me crazy lol.

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 297 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 20  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron