Jump to content

simulated clicks not working


Recommended Posts

i need some help.

i am trying to make a little script that remembers the interval between 2 clicks and clicks a 3rd time after the same interval.

i managed to write a noobish piece of code that does what i want it to do in any active window EXCEPT the one i'm interested in (a game, duuh!)

i can't figure out wether the script isn't receiving the keystrokes or the game the game doesn't accept the simulated clicks.

global $x=0, $y=0

HotKeySet("{END}", "timer")

HotKeySet("{DEL}", "timerdif")

While 1

Sleep(100)

WEnd

func timer()

$x=timerinit()

MouseClick("left")

EndFunc

func timerdif()

$y=timerdiff($x)

sleep($y)

MouseClick("left")

EndFunc

can anyone help?

Link to comment
Share on other sites

Shot-Online Uses a Hybrid form of Gameguard. However the good news is, it looks like it Uses DX9? If this is the case I would Suggest running it in a VM and running your script on the Host box, this has worked for me in the Past.

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Link to comment
Share on other sites

in a VM? i don't understand ( future doctor, not future programmer, lol )

i guess knowing what VM is would explain the host box thingie, but if it doesn't, i would need some help on that too

oh.. do you mean a virtual machine?

any other idea for a workaround?

Edited by ovideo
Link to comment
Share on other sites

in a VM? i don't understand ( future doctor, not future programmer, lol )

i guess knowing what VM is would explain the host box thingie, but if it doesn't, i would need some help on that too

oh.. do you mean a virtual machine?

any other idea for a workaround?

VMWare is where you can install a system and run as a victural machine, so you can be running 2 systems at the same time, btw don't try autoit with GG, it will not work.
Link to comment
Share on other sites

  • 3 weeks later...

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...