LongJump Auto-Strafing Script

Posts 16–30 of 43 · Page 2 of 3
I know you said the script was made for 8 ingame sens, but you didn't say the perfect dpi. Any dpi I should use with it?
why i have only 8-10 stafe? sens in game set 8
A lot of unknown commands for the console: Unknown command: #NoEnv
Unknown command: SendMode,
Unknown command: SetBatchLines
Unknown command: CoordMode,
Unknown command: mouseXY
Unknown command: {
Unknown command: DllCall
Unknown command: }
Unknown command: strafe
Unknown command: {
Unknown command: moveCount
Unknown command: sleepInterval
Unknown command: relativeMove
Unknown command: if
Unknown command: {
Unknown command: key
Unknown command: move
Unknown command: }
Unknown command: {
Unknown command: key
Unknown command: move
Unknown command: }
Unknown command: send
Unknown command: DllCall
Unknown command: Loop,
Unknown command: {
Unknown command: mouseXY
Unknown command: DllCall
Unknown command: }
Unknown command: send
Unknown command: }
Unknown command: $XButton1
Unknown command: while
Unknown command: {
Unknown command: strafe
Unknown command: strafe
Unknown command: }
Unknown command: return

What am I doing wrong?
Quote Originally Posted by Hustle_ftw View Post
A lot of unknown commands for the console: Unknown command: #NoEnv
Unknown command: SendMode,
Unknown command: SetBatchLines
Unknown command: CoordMode,
Unknown command: mouseXY
Unknown command: {
Unknown command: DllCall
Unknown command: }
Unknown command: strafe
Unknown command: {
Unknown command: moveCount
Unknown command: sleepInterval
Unknown command: relativeMove
Unknown command: if
Unknown command: {
Unknown command: key
Unknown command: move
Unknown command: }
Unknown command: {
Unknown command: key
Unknown command: move
Unknown command: }
Unknown command: send
Unknown command: DllCall
Unknown command: Loop,
Unknown command: {
Unknown command: mouseXY
Unknown command: DllCall
Unknown command: }
Unknown command: send
Unknown command: }
Unknown command: $XButton1
Unknown command: while
Unknown command: {
Unknown command: strafe
Unknown command: strafe
Unknown command: }
Unknown command: return

What am I doing wrong?
Do you have autohotkey installed?
Can you give me idea how to make this more efficiency ?
#NoEnv
SendMode, Input
SetBatchLines -1
CoordMode, Mouse, Screen


mouseXY(x, y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,in t,0)
}

strafe(left)
{
moveCount := 20
sleepInterval := 1
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}
}

$V::
while getkeystate("V","P")
{
strafe(false)
strafe(true)
}
return There is the script from Video
That shaking looks really suspect but I'll try it out, thanks.
For those having trouble getting any decent distances, this script is very consistent just hard to get used to. By default KZTimer won't allow anything over 20 strafes other than in FailStats so the "best" consistent settings I found are the following:
Code:
moveCount := 25
sleepInterval := 1
relativeMove := 6
The actual "best" settings for best distance that I have found are slightly faster than those, but sometimes (50% of the time) it will do 21 or 22 strafes and your jump will not count which may annoy you, however, they can get higher distances for sure.
Code:
moveCount := 22
sleepInterval := 1
relativeMove := 6
I managed to hit a 293.72 with the second set of settings, realisticly though you probably won't get stats like this withing 20 minutes since this is almost the perfect scenario with 275.60 prespeed, an almost perfect duck and the script gods blessed me with 100% sync on all 20 of the strafes, maybe 274/5 is possible but I'm done for now, best of luck.

Both of these configs will be super fishy in case that isn't obvious, any server with admins will ban you almost immediately, if you want more "realistic" settings turn the delay up to 3 or 4 since that's what makes it look so cheated. Here's this video:
Quote Originally Posted by onetapped View Post
Got it to work on bhops but not lj's
how did you do that?
the link please ???
Would this work on 128 tick servers, and the video doesnt work anymore I think...
Quote Originally Posted by cgallagher21 View Post
This .AHK script is used primarily for KreedZ (kz) servers.

Information about this script;





Script created by Rustykoc

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
u mean thhat when u bhop u just press m4 and done?
Posts 16–30 of 43 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us