Working perfectly here, 4mil gold in 15 hours, excellent work. Any solution for the selling of rares as of yet?
Working on rares now. Just finished eliminating the imagesearch include, was as simple as adding the imagesearch wrapper to my code.
No need i already did.
Func StashLoot()
GUICtrlSetData($lblStatus, "Status: Putting Items in Stash")
Sleep(Random(1000, 1500))
MouseClick("left", 1064*$x_ratio, 256*$y_ratio)
Sleep(Random(1500, 2000))
;Legendaries ORANGE ITEMS
While $StashLegendary
Sleep(Random(200, 300))
$LegendPixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x4D2C0D, 0)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Legendaries")
MouseClick("right", $LegendPixel[0], $LegendPixel[1])
Else
ExitLoop
EndIf
WEnd
;Rares YELLOW ITEMS
While $StashRare
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x4A3C0B, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Rares")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x473A0D, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Rares")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x443608, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Rares")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x96782B, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Rares")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
ExitLoop
EndIf
EndIf
EndIf
EndIf
WEnd
;Tomes
If _ImageSearchArea($pngLoc & "TomeIcon.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then
GUICtrlSetData($lblStatus, "Status: Stashing Tomes")
MouseClick("left",500*$x_ratio,360*$y_ratio,1,1)
Sleep(Random(500, 750))
MouseClick("right",$gX,$gY,1,1)
Sleep(Random(400, 600))
MouseClick("left",500*$x_ratio,200*$y_ratio,1,1)
Sleep(Random(200, 500))
EndIf
;Magic BLUE ITEMS
While $StashMagic
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x223874, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Magic")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x182037, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Magic")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x0000FF, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Magic")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
Sleep(Random(200, 300))
$RarePixel = PixelSearch(1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio, 0x141C38, 1)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Stashing Magic")
MouseClick("right", $RarePixel[0], $RarePixel[1])
Else
ExitLoop
EndIf
EndIf
EndIf
EndIf
Btw i have added you, lets write over that instead of forum also much faster :P
Try the new version killerpy
EDIT: Didn't get the add wazer
notAres could you add the gem stashing please a few pages back I posted the script im using for that.
png's are included it works the same way as the tome stashing.
Only thing I changed is that the gems will be stashed to the first pack instead of the second as my gems are stored there.
pngs gems.rar
Code:;Gems If _ImageSearchArea($pngLoc & "Ru1.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "Ru2.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "Em1.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "Em2.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "To1.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "To2.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "Am1.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf If _ImageSearchArea($pngLoc & "Am2.png",1,1398*$x_ratio, 572*$y_ratio, 1914*$x_ratio, 888*$y_ratio,$gX,$gY,140) Then GUICtrlSetData($lblStatus, "Status: Stashing Gems") MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) MouseClick("right",$gX,$gY,1,1) Sleep(Random(400, 600)) MouseClick("left",500*$x_ratio,200*$y_ratio,1,1) Sleep(Random(200, 500)) EndIf
I'm stumped.
I am experiencing the same road block when it comes to finding the resume button.
I replaced all the .png with my own and I just tried the newest set of autoit code and images/dlls.
This isn't my first walk in the park either.
I literally went over every part of the code involved in the beginning of the bot and I cannot make any progress :|
For more profit it would be great if this is possible to sell all the magic items with lvl requirement 1-59 and to disentchant the lvl 60Blues cause u can sell the materials for 1,7k gold per one
Just updated to 1.6e and even unhooked my second display.
All variables are out of the equation as I even started with a completely clean setup.
Time to take a break and figure it out later unless someone find a solution.