PixelSearch - odd results

Ask gaming related questions (AHK v1.1 and older)
fug5333
Posts: 32
Joined: 03 May 2016, 08:55

PixelSearch - odd results

04 Oct 2019, 07:10

It doesn't appear to search for anything, just frantically click! :(

PixelSearch, OutX, OutY, 70, 390, 815, 500, 0x65411D, 10, RGB


Loop
{
if ErrorLevel
{
Sleep 10
SoundBeep
}
else
{
;MsgBox Found at %OutX%, %OutY%
Click
}
}

I would be okay with imagesearch too as it would serve the same purpose if not be a little more accurate. The 'SoundBeep' is pretty much there for debugging. I never hear a beep.

Any help? Thanks!
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: PixelSearch - odd results

04 Oct 2019, 07:18

Click on its own will issue a single left mouseclick at ur current cursor location. u havent specified any coordinates
fug5333
Posts: 32
Joined: 03 May 2016, 08:55

Re: PixelSearch - odd results

04 Oct 2019, 07:21

Ohh geez! Complete brain fart!
Sid4G
Posts: 48
Joined: 02 Apr 2016, 19:11

Re: PixelSearch - odd results

05 Oct 2019, 04:17

Lol I'm in tears xDDD

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 41 guests