Kal Posted December 13, 2007 Share Posted December 13, 2007 Hey guys I'm writing a bot for an online game and I'm using PixelSearch() to find a pixel in a specific in game icon and then move the mouse there. It works with one icon, I'm using a tool called ColorPic to get the color number that is 3543862, but when I try to use another color from another icon in the same way nothing happens even though I got the two color numbers in the exact same way using the same tool. So with the first color number (3543862) everything works: @error is set to 0, but with every other color number I try that I got the same way as the first one @error is set to 1. So what's wrong here? Link to comment Share on other sites More sharing options...
Valuater Posted December 13, 2007 Share Posted December 13, 2007 (edited) Welcome to the Autoit Forums...Maybe take a look at thisGame Bot Builderhttp://www.autoitscript.com/forum/index.ph...st&p=154392and or this tooGet that Colorhttp://www.autoitscript.com/forum/index.ph...st&p=1155158) Edited December 13, 2007 by Valuater Link to comment Share on other sites More sharing options...
Kal Posted December 13, 2007 Author Share Posted December 13, 2007 Thanks for the reply, it worked when I tried the color values I got from your color picker! Link to comment Share on other sites More sharing options...
newb2007 Posted December 13, 2007 Share Posted December 13, 2007 God damnit, i've been trying for several h to make at click on a specific color.. I can only find out color values in at-info. The funny part is i made it work before lool ;( 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