Guest spaceroy Posted September 18, 2005 Posted September 18, 2005 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 ----------------------------------------------------------
BigDod Posted September 18, 2005 Posted September 18, 2005 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
Guest spaceroy Posted September 18, 2005 Posted September 18, 2005 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?
Guest spaceroy Posted September 18, 2005 Posted September 18, 2005 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.
LxP Posted September 19, 2005 Posted September 19, 2005 Welcome to the forums! Try placing this near the start of your script: opt("sendKeyDownDelay", 50) Does this work any better for you?
TigPT Posted December 11, 2006 Posted December 11, 2006 I made some MUonline scripts, maybe useful.. MUonline Scripts PostHope help you.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now