File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ block webfisher:
4747 info (fmt" AutoShop enabled, using bait { globalConfig.bait} . " )
4848
4949 # Add some wait time so the user can get situated
50+ debug (" Waiting for 5 seconds..." )
5051 sleep (5000 )
5152
5253 if globalConfig.castOnStart == true :
Original file line number Diff line number Diff line change @@ -59,14 +59,13 @@ proc getPixelColor(screenshot: PXImage; x: int; y: int): Pixel =
5959 pixel.r = ((color shr 16 ) and 0x FF ).int
6060 pixel.g = ((color shr 8 ) and 0x FF ).int
6161 pixel.b = (color and 0x FF ).int
62- debug (fmt" Pixel r { pixel.r} g { pixel.g} b { pixel.b} " )
6362 return pixel
6463
6564proc checkPixels (screenshot: PXImage , pixelList: PixelList , count: int ): bool =
6665 var valid = 0
6766 for checkPixel in pixelList:
6867 let pixel = getPixelColor (screenshot, checkPixel.x, checkPixel.y)
69- debug (fmt" checkPixel r { checkPixel.r} g { checkPixel.g} b { checkPixel.b} " )
68+ debug (fmt" Pixel check real:ideal | r { pixel.r } : { checkPixel.r} | g { pixel.g } : { checkPixel.g} | b { pixel.b } : { checkPixel.b} " )
7069 if pixel.r == checkPixel.r and
7170 pixel.g == checkPixel.g and
7271 pixel.b == checkPixel.b:
You can’t perform that action at this time.
0 commit comments