Originally Posted by
wy5307
i changed the location where the mouse checks for the cellar entrance because it was pointing to somewhere else. 300 to 100
RandMove(Round(100 * $x_ratio), Round(70 * $y_ratio), 1, 1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
Sleep(350)
If CheckDead() Then
Return
EndIf
;Checks if Dank Cellar is Open
$Pixel2 = PixelSearch(0, 0, Round(600 * $x_ratio), Round(600 * $y_ratio), 0x334FB7, 3)
If Not @error Then
GUICtrlSetData($lblStatus, "Status: Cellar - Found")
$cellarCount += 1
MouseClick("left", Round(100 * $x_ratio), Round(70 * $y_ratio), 1) ;Entrance to cellar
but now i don't know how to work it out from here...
for the line pixelsearch where is it pointing to check for what color pixel?