Jump to content
Sign in to follow this  
Nickshimo

Fixing speed

Recommended Posts

Nickshimo

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?

Share this post


Link to post
Share on other sites
LiquidNitrogen

Post your script so we can try to help you better


Formerly ReaperX

Share this post


Link to post
Share on other sites
Nickshimo
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)

Share this post


Link to post
Share on other sites
michaelslamet

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? :ermm:

Share this post


Link to post
Share on other sites
LiquidNitrogen

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

Share this post


Link to post
Share on other sites
Nickshimo

You get that script from decompil

 

You get that script from decompiling other people's script? :ermm:

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 ;]

Share this post


Link to post
Share on other sites
WildGenie

try compile autoit version 3.3.6.1

Share this post


Link to post
Share on other sites
scubar

 

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.

Share this post


Link to post
Share on other sites
Melba23

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. :naughty:

WildGenie,

As you seem so keen to offer help after it became clear that the script was decompiled, you get the same treatment. :naughty:

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. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×