Sign in to follow this  
Followers 0
Diablo117

Mouseclicks in programs

3 posts in this topic

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", "")

WinWaitActive("SRO_Client")

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

If Not @error Then

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

EndIf

Send("1")

;$continue = false

sleep (1000)

wend

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.


[size="1"][font="Arial"].[u].[/u][/font][/size]

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  
Followers 0