My wife had just finished making dinner, I'll try it right now. I'm assuming the box area the pixel search is looking is wrong for your resolution..no idea why. It'll be awhile till i fix it.
Code:
MouseMove(Round($cellarCoordx[$CellCoord] * $x_ratio), Round($cellarCoordy[$CellCoord] * $y_ratio), 1) ;moves cursor over to the cellar
sleep($cellarCheckSleep)
If $CellCoord < 6 then
$Pixel2 = PixelSearch($cellarCoordx[$CellCoord] - 71 * $x_ratio,$cellarCoordy[$CellCoord] - 148 * $y_ratio,$cellarCoordx[$CellCoord] + 139 * $x_ratio,$cellarCoordy[$CellCoord] + 22 * $y_ratio, 0x334FB7, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
Else
$Pixel2 = PixelSearch($cellarCoordx[$CellCoord] - 71 * $x_ratio,$cellarCoordy[$CellCoord] - 148 * $y_ratio,$cellarCoordx[$CellCoord] + 139 * $x_ratio,$cellarCoordy[$CellCoord] + 22 * $y_ratio, 0x007CB7F8, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
EndIf