Jump to content

another Pixelsearch question


Yzak
 Share

Recommended Posts

Hi people ,

I have a little problem,

is easy set 1 color in Pixelsearch , like :

$array = Pixelsearch (500, 600, 600, 500, 0x6b5e11)

MouseClick ( "left" , $array[0], $array[1] )

But if i wanna more color like 0x6b5e11 but next pixel 0x44330e and next pixel 0x443311 ... ecc

Is possible ??? ...

Thanx ( and the winner in this topic is .......... )

Link to comment
Share on other sites

Hi people ,

I have a little problem,

is easy set 1 color in Pixelsearch , like :

$array = Pixelsearch (500, 600, 600, 500, 0x6b5e11)
MouseClick ( "left" , $array[0], $array[1] )

But if i wanna more color like 0x6b5e11 but next pixel 0x44330e and next pixel 0x443311 ... ecc

Is possible ??? ...

To code some kind of "Autoit Sniper" :) for some foolish game, eh? :D

:evil: That's :evil: illegal :evil:

;)^_^:D:):D;):D;):D

Well, once you found the "eye's color" pixel of your enemy, (if ... then) search a 1x1 area just right hand side next to the found pixel to see if it meets the next criteria, if so, then the next, next, next....

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...