Jump to content

Skipping Mouseclick: what could be the cause of it..?


baroim
 Share

Recommended Posts

Hi Guys,..i have a problem with skipping MousClick. I am compiling a script to be run as a bot. Attached is what I have came up with, its quite lengthy but straight forward. In general, the script works as follow:

- PixelChecksum

- Run a series of MouseClick

- IF PixelChecksum..Then

Else

Run s series of MouseClick - 01

Run another series of MouseClick - 02

- Back to step number two but with different coordinate

The problem kicks in when it gets to do the MouseClick after the Else condition, rather than clicking the specified coordinates, it only does half the job, and clicking the rest of the coordinates on the next run, so after Else condition, I ended up having 4 sessions of MouseClick (Half of the MouseClick -01, the other half, half of MouseClick – 02, and the other half). But strangely enough, if I test them by them selves (as independent scripts), they work okay..? And also, I am using the same sleep(100) in between the MouseClick, but the problem only happen on the series MouseClick after the Else condition…

Any idea why is this happening guys? Thanks.

BotScript.au3

Link to comment
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
 Share

  • Recently Browsing   0 members

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