Jump to content

Recommended Posts

Posted

If you are absolutely positive that you are already searching for the correct colour (which is likely because it seems to be working for you in windowed mode) then I'm afraid I'm out of ideas. Perhaps someone with more experience can help you.

Posted

Perhaps the exact same colour isn't being displayed each time?

Try changing the PixelSearch() line to this:

Local $Coords = PixelSearch(0, 0, @DesktopWidth - 1, @DesktopHeight - 1, $Match, 10)

The 10 tells AutoIt to find any matching pixel within ten shades of the specified colour. If it still doesn't find a match, increase this number; if it finds wrong pixels decrease it.

Posted

This doesn't seem to work for games like warrock (free game found at WarRock) because the mouseclick sends the screen in all weird directions. Is this because the screen is a representation of 360 degrees? Anyone know how to get around this?

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
  • Recently Browsing   0 members

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