SpeedCounter.ahk script

02/10/2017 13:24 012oab#1
Can anyone gv me a speedcounter script ?
02/10/2017 13:45 Shin..#2
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
$MButton::
Loop, 1
{
Send {space down}
sleep 10
Send {space up}
Sleep 10
Send {a down}
sleep 10
Send {space down}
sleep 10
Send {a up}
sleep 10
Send {space up}
Sleep 10
Send {RButton down}
Sleep 10
Send {RButton up}
}
return
02/10/2017 14:44 012oab#3
Is this correct if im using E to move forward , S to move left , D to move back , F to move right and button is b ?



#InstallMouseHook
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , H
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
if not A_IsAdmin
{
MsgBox, You are running this script with no administrator rights. It may not work.
}

$*b::
;ensuring that the player doesn't interfere with the macro
Send {SC011 Up} ;E
Send {SC01E Up} ;S
Send {SC01F Up} ;D
Send {SC020 Up} ;F
;the actual inputs
Send {Space Down}
DllCall("kernel32.dll\Sleep", "UInt", 20.5)
Send {3 Down}
Send {Click Right Down}
Send {Space Up}
DllCall("kernel32.dll\Sleep", "UInt", 20.5)
Send {3 Up}
Send {SC020 Down}
Send {Space Down}
DllCall("kernel32.dll\Sleep", "UInt", 20.5)
Send {Space Up}
Send {SC020 Up}
;ensuring that the macro doesn't interfere with the player
if GetKeyState("SC011","P")
Send {SC011 Down}
if GetKeyState("SC01E","P")
Send {SC01E Down}
if GetKeyState("SC01F","P")
Send {SC01F Down}
if GetKeyState("SC020","P")
Send {SC020 Down}
DllCall("kernel32.dll\Sleep", "UInt", 350)
if GetKeyState("RButton","P")
Send {Click Right Down}
else
Send {Click Right Up}
return

$*Ins::Suspend
02/10/2017 16:37 [F]alke#4
Quote:
Originally Posted by Shin.. View Post
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
$MButton::
Loop, 1
{
Send {space down}
sleep 10
Send {space up}
Sleep 10
Send {a down}
sleep 10
Send {space down}
sleep 10
Send {a up}
sleep 10
Send {space up}
Sleep 10
Send {RButton down}
Sleep 10
Send {RButton up}
}
return
S4 League hat 62.5 FPS max du ente mit einen 10er delay brauchst du ca 80 FPS
02/10/2017 17:43 Shin..#5
Quote:
Originally Posted by Ғalke View Post
S4 League hat 62.5 FPS max du ente mit einen 10er delay brauchst du ca 80 FPS
Habe einfach ein alten sc reingepostet er kann ihn ja einstellen habe keine zeit.
02/10/2017 18:10 012oab#6
nvm forget its working now but how can i hold the cs right click long so that some long delay attack can hit me when i use revenge ?

#InstallMouseHook
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , H
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
if not A_IsAdmin
{
MsgBox, You are running this script with no administrator rights. It may not work.
}

$*b::
;ensuring that the player doesn't interfere with the macro
Send {SC011 Up} ;W
Send {SC01E Up} ;A
Send {SC01F Up} ;S
Send {SC020 Up} ;D
;the actual inputs
Send {Space Down}
DllCall("kernel32.dll\Sleep", "UInt", 16.5)
Send {3 Down}
Send {Click Right Down}
Send {Space Up}
DllCall("kernel32.dll\Sleep", "UInt", 16.5)
Send {3 Up}
Send {SC01E Down}
Send {Space Down}
DllCall("kernel32.dll\Sleep", "UInt", 16.5)
Send {Space Up}
Send {SC01E Up}
;ensuring that the macro doesn't interfere with the player
if GetKeyState("SC011","P")
Send {SC011 Down}
if GetKeyState("SC01E","P")
Send {SC01E Down}
if GetKeyState("SC01F","P")
Send {SC01F Down}
if GetKeyState("SC020","P")
Send {SC020 Down}
DllCall("kernel32.dll\Sleep", "UInt", 350)
if GetKeyState("RButton","P")
Send {Click Right Down}
else
Send {Click Right Up}
return

$*Ins::Suspend