Jump to content
Sign in to follow this  
Yzak

another Pixelsearch question

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 .......... )

Share this post


Link to post
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!

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...