Popeye1 Posted October 22, 2010 Posted October 22, 2010 (edited) While 1 ;start master loop MouseClick("left") Sleep(1000) WEnd ; end master loop This is the test script i'm using because weird things are happening in my main script, such as clicks not going through sometimes. The click is just clicking a game client window and is supposed to select a new location every 1 second, wherever the mouse cursor is pointed at. The strange problem here is that it only clicks about once every 3-5 seconds, instead of once a second. Can anyone think of a reason as to why every click isn't being registered? I'm pretty sure this is not some kind of anti-macro thing related to this game because i've never came across such a problem in any game i've played. Edited October 22, 2010 by Popeye1
MrMitchell Posted October 22, 2010 Posted October 22, 2010 http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2link
iamtheky Posted October 22, 2010 Posted October 22, 2010 because there is a crapload more statements to get through in the while perhaps. Way to mention (unnecessarily i might add) that this is for a game client, as that should promptly get it locked. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Developers Jos Posted October 22, 2010 Developers Posted October 22, 2010 The posted script will click one time per second. Have you read the sticky at the top of this forum? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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