Nickshimo Posted November 3, 2013 Posted November 3, 2013 im using a autoit script to press the buttons f1 f2 f3 and f4.. sometimes its really fast and i can use it in the game i play other times it will go slow and it will mess me up any way to fix it so its the fastest it can be at all times?
LiquidNitrogen Posted November 3, 2013 Posted November 3, 2013 Post your script so we can try to help you better Formerly ReaperX
Nickshimo Posted November 3, 2013 Author Posted November 3, 2013 HOTKEYSET("-","CloseScript") HOTKEYSET("+s","AutoBoKey") WHILE 1 SLEEP(5) WEND FUNC CLOSESCRIPT() EXIT ENDFUNC FUNC AUTOBOKEY() SEND("{F1}") SLEEP(2) SEND("{F2}") SLEEP(2) SEND("{F3}") SLEEP(2) SEND("{e}") ENDFUNC ; DeTokenise by myAut2Exe >The Open Source AutoIT/AutoHotKey script decompiler< 2.9 build(146)
michaelslamet Posted November 3, 2013 Posted November 3, 2013 You get that script from decompil ; DeTokenise by myAut2Exe >The Open Source AutoIT/AutoHotKey script decompiler< 2.9 build(146) You get that script from decompiling other people's script?
LiquidNitrogen Posted November 3, 2013 Posted November 3, 2013 I'm typing this on my phone so I can't really edit your code and post it but add a loop in the autobokey() function so the keys are being sent constantly and then add HotKeySet() in the loop so you can press a key to exit the loop when you're finished. Formerly ReaperX
Nickshimo Posted November 3, 2013 Author Posted November 3, 2013 You get that script from decompil You get that script from decompiling other people's script? its something we use for a game and he told me to see if i knew how to fix the speed.... i couldnt so im asking u ;]
scubar Posted November 3, 2013 Posted November 3, 2013 HOTKEYSET("-","CloseScript") HOTKEYSET("+s","AutoBoKey") WHILE 1 SLEEP(5) WEND FUNC CLOSESCRIPT() EXIT ENDFUNC FUNC AUTOBOKEY() SEND("{F1}") SLEEP(2) SEND("{F2}") SLEEP(2) SEND("{F3}") SLEEP(2) SEND("{e}") ENDFUNC ; DeTokenise by myAut2Exe >The Open Source AutoIT/AutoHotKey script decompiler< 2.9 build(146) Sorry to say this but game automation is against the forum rules. The fact you also decompiled someones script will also not go down well with the mods.
WildGenie Posted November 3, 2013 Posted November 3, 2013 if you haven't go 3.3.6.1 try this site http://www.script-example.com/themen/AutoIT-Online-Compiler.php
Moderators Melba23 Posted November 3, 2013 Moderators Posted November 3, 2013 Nickshimo,Posting a gamebot as a first post is understandable, but posting decompiled code is most certainly not. Take a month to read the Forum rules. If and when you return, please follow them as you are now on your last chance. WildGenie,As you seem so keen to offer help after it became clear that the script was decompiled, you get the same treatment. ReaperX,You say you were on your phone, so you get the benefit of the doubt in this case as to whether you had spotted the the last line of post #3. All,We are serious about this - the decompiling of scripts has never been and never will be acceptable here. If you post post such code or if you offer any help at all in a thread where the code is obviously decompiled then expect draconian sanctions. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts