Triggerbot speed

Ask gaming related questions
LonelyTwat
Posts: 15
Joined: 10 Apr 2017, 20:44

Triggerbot speed

24 May 2017, 19:34

Okay so for some reason this code only works in Fullscreen windowed which is kind of annoying honestly and i can't figure it out also sometimes it misses a few shots is it possible to make it any faster for CS:GO?

Code: Select all

Threshold = 20
*~$t::
MouseGetPos, MouseX, MouseY
PixelGetColor, Color1, (MouseX+2), (MouseY+2)
StringSplit, Colorz, Color1
Color1B = 0x%Colorz3%%Colorz4%
Color1G = 0x%Colorz5%%Colorz6%
Color1R = 0x%Colorz7%%Colorz8%
Color1B += 0
Color1G += 0
Color1R += 0
 
while (GetKeyState("t", "P"))
    {
        BlockInput, MouseMove
        sleep 1
        MouseGetPos, MouseX, MouseY
        PixelGetColor, Color2, (MouseX+2), (MouseY+2)
        StringSplit, Colorz, Color2
        Color2B = 0x%Colorz3%%Colorz4%
        Color2G = 0x%Colorz5%%Colorz6%
        Color2R = 0x%Colorz7%%Colorz8%
        Color2B += 0
        Color2G += 0
        Color2R += 0
        if (Color1R > (Color2R + Threshold)) or (Color1R < (Color2R - Threshold)) or (Color1G > (Color2G + Threshold)) or (Color1G < (Color2G - Threshold)) or (Color1B > (Color2B + Threshold)) or (Color1B < (Color2B - Threshold))
            {
                send {LButton}
            }
    }
BlockInput, MouseMoveOff
Return
LonelyTwat
Posts: 15
Joined: 10 Apr 2017, 20:44

Re: Triggerbot speed

26 May 2017, 19:46

bump
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: Triggerbot speed

27 May 2017, 08:06

Certain AutoHotkey features only work in windowed mode. Nothing we can do here. As far as making it faster, maybe put SetBatchLines, -1 at the top of the script.

Return to “Gaming”

Who is online

Users browsing this forum: bidomo and 8 guests