Aloosh Posted July 21, 2010 Share Posted July 21, 2010 Hey guys... i made a very nice script to help me in an online game, the thing is... i want autoit to send the key F10 every 5 minutes, but i dont want it to interfere with the script.. something like.. click F10 every 5 minutes without interfering with the original script ( which loops every 20 seconds:P so i cant add it there...) any help Link to comment Share on other sites More sharing options...
Yoriz Posted July 21, 2010 Share Posted July 21, 2010 Hey guys... i made a very nice script to help me in an online game, the thing is... i want autoit to send the key F10 every 5 minutes, but i dont want it to interfere with the script.. something like.. click F10 every 5 minutes without interfering with the original script ( which loops every 20 seconds:P so i cant add it there...) any helpHi, You should read the sticky Announcement: Game Bots and decide if you want to take this any further. GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
Aloosh Posted July 21, 2010 Author Share Posted July 21, 2010 alright... sorry about discussing bots.. can i at least learn it for educational purposes?? Link to comment Share on other sites More sharing options...
adik2dmax666 Posted July 21, 2010 Share Posted July 21, 2010 AdlibRegister("AutoBuffs",300000);5minutes? not sure While 1 sleep(100) Wend Func AutoBuffs() If WinActive("Game") Then ControlSend("[CLASS:GAME]", "", "", "{F10}") EndIf EndFunc First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub] Link to comment Share on other sites More sharing options...
Aloosh Posted July 21, 2010 Author Share Posted July 21, 2010 AdlibRegister("AutoBuffs",300000);5minutes? not sure While 1 sleep(100) Wend Func AutoBuffs() If WinActive("Game") Then ControlSend("[CLASS:GAME]", "", "", "{F10}") EndIf EndFunc Thank You very much i will try your code. i also learned another way, which i will post here for anyone else $timer = TimerInit() $timed = TimerDiff($timer) Global $TIMER = TimerInit() Global Const $TIMEOUT = 550000 While $var=1 If TimerDiff($TIMER) >= $TIMEOUT Then ControlSend("[CLASS:TianLongBaBu WndClass]", "", "", "{F10}") EndIf thanks again Link to comment Share on other sites More sharing options...
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