LongJump Auto-Strafing Script
This .AHK script is used primarily for KreedZ (kz) servers.
Information about this script;
Script created by Rustykoc
A video demonstrating:
Information about this script;
All it does is press A+D and move the mouse for you while you hold the key. I was able to do up to 292 longjumps on 128-tick servers. This particular configuration is for mouse sensitivity of 8. It's AutoHotkey based, bound to mouse4 by default:
Parameters to fiddle with are as follows: sleepInterval - time between mouse movements. moveCount - amount of times mouse is moved for 1 strafe. relativeMove - how far the mouse is moved by one tick.
It's made for right-sided prestrafe, but you can change it to left-sided by swapping the strafe() calls around. With a little more work put in it, it can be made to look pretty legit.
It's made for right-sided prestrafe, but you can change it to left-sided by swapping the strafe() calls around. With a little more work put in it, it can be made to look pretty legit.
A video demonstrating:
Code:
#NoEnv
SendMode, Input
SetBatchLines -1
CoordMode, Mouse, Screen
mouseXY(x, y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}
strafe(left)
{
moveCount := 35
sleepInterval := 2
relativeMove := 6
if (left)
{
key := "a"
move := -relativeMove
} else
{
key := "d"
move := relativeMove
}
send {%key% down}
DllCall("Sleep", "UInt", 5)
Loop, %moveCount%
{
mouseXY(move, 0)
DllCall("Sleep", "UInt", sleepInterval)
}
send {%key% up}
}
$XButton1::
while getkeystate("XButton1","P")
{
strafe(false)
strafe(true)
}
return





LOL