As a last resort you could also delete everything related to open cellar detection, the function that check if you're in the cellar should do his job based on imagedetection rather than pixel detection, replace the first code by the second,begin around lines ~220
Code:
;Checks if Dank Cellar is Open
$Pixel2 = PixelSearch(0, 0, Round(600*$x_ratio), Round(400 * $y_ratio), 0x334FB7, 3)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Cellar - Found")
$cellarCount += 1
MouseClick("left", Round(255*$x_ratio),Round(290 * $y_ratio), 1) ;Entrance to cellar
Sleep(800 * $movementSpeed)
Moving($walktime)
Else ;ABORT RUN
GUICtrlSetData($lblStatus, "Status: Cellar - Not Found" & @CRLF)
Sleep(10)
mousemove(962,518,1) ;Keep me safE!
Send($Hydra)
Sleep(620)
Send($MirrorImage)
Sleep(400)
send("{SHIFTDOWN}")
sleep(200)
Mouseclick("left")
sleep(300)
send("{SHIFTUP}")
sleep(400)
Call("TownPortal")
If Not CheckDead() Then
Call("LeaveGame")
EndIf
Return
EndIf
By this :
Code:
MouseClick("left", Round(255*$x_ratio),Round(290 * $y_ratio), 1) ;Entrance to cellar
Sleep(800 * $movementSpeed)
Moving($walktime)
and adding
$cellarCount += 1 a line under
If CheckFor("DankCellar", "Area") Then
But if the problem is the execution of the pixelSearch then you might only be able to loot gold, gems and tomes :s