Jump to content

Game does not register input


Guest spaceroy
 Share

Recommended Posts

Guest spaceroy

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

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

Link to comment
Share on other sites

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


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

Link to comment
Share on other sites

Guest spaceroy

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?

Link to comment
Share on other sites

Guest spaceroy

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.

Link to comment
Share on other sites

  • 1 year 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...