Can someone help me? I'm getting the same issue where some complain about the hero run south and teleport > town > exit? I'm still getting this error despite many troubleshooting of it..
I came across another modify version of same script mentioned above that allows me to successfully run to the cellar but the radius of collecting all the gold doesn't really run well and it got stuck in town.
this is the script that allows me to run to dank cellar successfully but with tons of errors if the cellar is CLOSED. it will eventually teleport back to town but when it comes to dropping of rare/blues/etc it some how stuck there. can someone assist me in looking at the script below and input them into ares script? all i need is to farm gold and i don't need extra stuffs like collecting of rare/blues/etc.
APPRECIATED if you can modify for me as i still can't get ARES's script to work.
Code:
Global $Paused
HotKeySet("=","Leave") ;script can START by pressing =
HotKeySet("-", "Pause") ;script can be Pause by pressing -
HotKeySet("x", "Stop") ;script can be Stopped by pressing x
$go = True
$Leave = False
$runMade = 0
While $go
if($Leave) Then
$Pixel1 = PixelSearch(1482,20,1535,95,0xFFF000) ;searches top right screen for yellow of broken armor
If Not @error Then
;we need to repair
Send("t")
Sleep(8000)
MouseClick("left", 1480, 281) ;begin movement towards merchant
Sleep(1500)
MouseClick("left", 1316, 206) ;moves to get merchant in screen
Sleep(1500)
MouseClick("left", 845, 225) ;NPC Merchant to the right of cain's home
Sleep(1500)
MouseClick("left", 521, 506) ;button to open up repair menu
Sleep(1500)
MouseClick("left", 260, 595) ;button to pay for repairs
Sleep(2500)
Send("{ESCAPE}") ;close windows
Sleep(200);
ResumeGame()
Else
;starts the run
MouseClick("left", 54, 129)
Sleep(1000)
Send("2")
Sleep(800)
Send("1")
Sleep(1000)
MouseClick("left", 87, 429)
Sleep(800)
Send("1")
Sleep(1500)
Send("3")
MouseMove(203, 186,1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
Sleep(2000)
$Pixel2 = PixelSearch(69,96,288,246,0xffffff) ;searches for the specific blue pixel that only occurs when mouse hovers over open cellar
If Not @error Then
MouseClick("left",203, 186) ;Entrance to cellar
Sleep(3000)
Send(2)
Sleep(1800)
MouseClick("left", 531, 769)
Send(4)
Sleep(2000)
MouseClick("left", 547, 490) ;moves to doorway leading to rare inside cellar
Sleep(1500)
MouseMove(624,258,1) ;hovers over the rare Sarkoth
Send("{SHIFTDOWN}")
MouseDown("right")
Sleep(3200)
MouseMove(474, 273, 1) ;attack left, add more sleep time if you can't kill minion on left
Sleep(1000)
MouseMove(732, 232, 1) ;attack right
Sleep(500)
MouseMove(624,258, 1) ;attack mid again
Sleep(1000)
MouseUP("right")
Sleep(300)
Send("{SHIFTUP}")
Send(4)
Sleep(500)
SearchBlue()
SearchYellow()
SearchOrange()
SearchWhite()
SearchBlue()
SearchYellow()
SearchOrange()
SearchWhite()
Sleep(1500)
Send("t")
Sleep(10200)
Town()
ResumeGame()
Else
Send("t")
Sleep(8200)
ResumeGame()
EndIf
EndIf
EndIf
WEnd
Func Pause()
$Leave = False
EndFunc
The exact thread that the script is modified is at http://www.ownedcore.com/forums/diab...imized-dh.html (Sharing my autoIt script :: Sarkoth (loot and optimized for DH))
i believe the reason why i'm still unable to use makus/ares script is because of the code show below or likewise:
Code:
MouseMove(203, 186,1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
Sleep(2000)
$Pixel2 = PixelSearch(69,96,288,246,0xffffff) ;searches for the specific blue pixel that only occurs when mouse hovers over open cellar
. i try input this into makus' script but getting tons of error too. i ain;t coding guy and i really appreciate anyone can help me out with this. btw, i'm using fullscreen 1920x1080 16:9