Sign in to follow this  
Followers 0
Guest spaceroy

Game does not register input

6 posts in this topic

Helow :-)

I made a simple script to help me afk in mu online (www.muonline.com)

it does not work in game. i can turn it on and off when in game with the '

symbol (like the script says).

But Mu never registers anything... strange

it works with half-life 2 and other stuff with no problems.

it seems the script is not emulating the keystrokes propely :-(

---------------------------------------------------------

Global $togg

HotKeySet("'", "Toggle")

While 1

Sleep(100)

WEnd

Func Toggle()

$togg = NOT $togg

While $togg

MouseClick("right")

sleep(1000)

Send ("{SPACE}")

WEnd

EndFunc

----------------------------------------------------------

Share this post


Link to post
Share on other sites



I know nothing about games but it may be worth using ControlSend instead of Send.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

I know nothing about games but it may be worth using ControlSend instead of Send.

Oooo, send goes to active window.

hmmmm isnt there anyway of sending keystrokes and mouseclicks to system as if it was genuine keystrokes?

Share this post


Link to post
Share on other sites

Damn, I started out trying to make a prog in delphi but i got the same prob there.

So If I understand correctly autoit falls short here?

Hmmmm, guess I have to dig deeper in delphi.

Share this post


Link to post
Share on other sites

Welcome to the forums!

Try placing this near the start of your script:

opt("sendKeyDownDelay", 50)

Does this work any better for you?

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