Jump to content
Sign in to follow this  

Mouseclicks in programs

Recommended Posts


I just recently started to use AutoIt and as I was making a small "test" code bit in silkroad online but I found that whenever I made it active, the autoit script paused and didnt do anything. Is that just something with silkroad or do I have to do something special to enable it to do that as I've seen it done before. Here's the code in case I noobed out and the mistake is in there.

$continue = true

while $continue = true

WinActivate("SRO_Client", "")


$coord = PixelSearch( 200, 200, 1600, 1000, 4986121, 10 )

If Not @error Then

MouseClick("left", $coord[0], $coord[1],1)



;$continue = false

sleep (1000)


Share this post

Link to post
Share on other sites

The never ending stream of gamers.

I think that SRO uses gameguard to block the actions that you are attempting. I'm not sure that you can get there from here.


Share this post

Link to post
Share on other sites

Mmm, I code in C++ as well as game :) .

Anyways, I thought it was something like that, thnx

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.