Jump to content
Sign in to follow this  
Kal

Problem with PixelSearch()

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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 ;(

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