Jump to content
Sign in to follow this  

Mouse Dont Clicks... Help!

Recommended Posts


Ive done some simple code to test autoit with my game (FLYFF)

it Sometimes Clicks And Sometimes Dont, but, all times PixelSearch Find the color that i want,



Search for Unique RED Name of Monster and Retrieve (x and y)

Mouse uses x and y from search and Clicks on Founded Position.


like i said this dont work fine (finds Color, But Sometimes Dont Click,) (Used a MsgBox To check if it was finding color)

Im Doing Something Wrong?

; Pixel BOT Flyff

WinActivate ("FLYFF")

; Settings | Constants
$COLOR = 0xFF0000; Pure RED
$FLYFFX1 = 100
$FLYFFY1 = 100
$FLYFFX2 = 1111
$FLYFFY2 = 800
Sleep (1000)
While 1
    $SearchResult = PixelSearch($x1 + 35, $y1 + 35, $x2, $y2, $Color, 5, 2)
    If @error Then
        MsgBox(1, "WTF" , "No Pixel Found")
        MouseMove ($Coord[0], $Coord[1])
        ControlClick ("FLYFF","","", "left", 2)


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.