Jump to content

Autoit turns application into slidshow


Recommended Posts

Hello,
 
So I have this basic script and lately it started behaving weird.
Whenever I activate the script it looks like there is a very fast slideshow going on in the game i'm running.
However i'm not losing any or barely any fps.
it scans but seems to be really slow. 1/10 times this problems does not appear! that single times it runs smoothly without it looking like a slideshow.
 
This is a part of the script that cause the slideshow.
 
 
Click()

Func Click()
    While 1
        If _WinAPI_GetAsyncKeyState(0x12) = True Then
           Sleep(0)
            Local $coord = PixelSearch(922, 498, 996, 563, 12191508, 30)
            If Not @error Then
                MouseClick("Left")
                Sleep(0)
            EndIf
        EndIf
    WEnd
EndFunc

I tried to use different sleep speeds but that is not effecting it putting the sleep to 0 makes i quicker thats why I use it.

As second I cannot make this faster right? Make autoit use more resources for example?

 

Link to comment
Share on other sites

aimbot functions are generally a tad longer than 10 lines...and questions about them are always against the rules...just saying.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

  • Moderators

Emmhor1,

 

Whenever I activate the script it looks like there is a very fast slideshow going on in the game i'm running

I >have already pointed you to the Forum rules once - I do not appreciate having to do it a second time. For your own sake, please make sure there is not a third. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...