Yzak Posted December 14, 2007 Share Posted December 14, 2007 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 More sharing options...
rudi Posted December 14, 2007 Share Posted December 14, 2007 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? That's illegal 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 More sharing options...
Yzak Posted December 14, 2007 Author Share Posted December 14, 2007 U are the winner lol... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now