Sprint Smash Bind

Posts 1–13 of 13 · Page 1 of 1
Sprint Smash Bind
This will be a legit looking sprint smash (because i only used autoit to do it lol)

Instructions:
1. Get AutoIT (duh)
2. Copy Paste Script
3. Replace ] on the 1st line to wherever you wanna bind it
4. SMASH!

Code:
HotKeySet("{]}", "Start") ; replace ] with the bind you wanna use

While 1                                                                 
	sleep(1)                       
WEnd

Func Start ()
		ControlSend("Vindictus", "", "", "{w up}")
		ControlSend("Vindictus", "", "", "{space up}")
		ControlSend("Vindictus", "", "", "{shiftdown}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w down}")
		Sleep(100)
		ControlClick("Vindictus", "", "", "right", 1)
		Sleep(100)
		ControlSend("Vindictus", "", "", "{w up}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{shiftup}")
		ControlSend("Vindictus", "", "", "{space down}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w down}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w up}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{space up}")
		Sleep(10)
EndFunc
what does this do sprint smash?
Quote Originally Posted by dumblet View Post
This will be a legit looking sprint smash (because i only used autoit to do it lol)

Instructions:
1. Get AutoIT (duh)
2. Copy Paste Script
3. Replace ] on the 1st line to wherever you wanna bind it
4. SMASH!

Code:
HotKeySet("{]}", "Start") ; replace ] with the bind you wanna use

While 1                                                                 
	sleep(1)                       
WEnd

Func Start ()
		ControlSend("Vindictus", "", "", "{w up}")
		ControlSend("Vindictus", "", "", "{space up}")
		ControlSend("Vindictus", "", "", "{shiftdown}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w down}")
		Sleep(100)
		ControlClick("Vindictus", "", "", "right", 1)
		Sleep(100)
		ControlSend("Vindictus", "", "", "{w up}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{shiftup}")
		ControlSend("Vindictus", "", "", "{space down}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w down}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{w up}")
		Sleep(10)
		ControlSend("Vindictus", "", "", "{space up}")
		Sleep(10)
EndFunc
I like the simplicity of the code, but I'd like to take it one step farther. Is there some way to do a "Control" Mouse movement within a certain window?
like this?

ControlClick("Vindictus", "", "", "left", 3, 781, 573)

/watch?v=WCOx_iUH4sk

that's sprint smash
Looks awesome I must admit, I'll try it out tomorrow.
wow this is awsome
whats the command to set it to the right mouse key
Quote Originally Posted by gohan2525 View Post
whats the command to set it to the right mouse key
Depends on your character and what skills you have. But in general it's called a smash.
It messes up a few times but still ok,

I tried to make it so that if u press the bind, it will loop over and over but i can't seem to figure out how to use _IfPressed (or something like that) thing
Quote Originally Posted by dumblet View Post
It messes up a few times but still ok,

I tried to make it so that if u press the bind, it will loop over and over but i can't seem to figure out how to use _IfPressed (or something like that) thing
Found this in AutoIt help:
#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
Sleep ( 250 )
If _IsPressed("23", $dll) Then
MsgBox(0,"_IsPressed", "End Key Pressed")
ExitLoop
EndIf
WEnd
DllClose($dll)
From AutoIT forums:
#include <Misc.au3>

$pressed = 0
While 1
Sleep(100)
; press
If _IsPressed ("01") And $pressed = 0 Then $pressed = 1

; release and action
If Not _IsPressed ("01") And $pressed = 1 Then
$pressed = 0
Action ()
EndIf

WEnd

Func Action()
MsgBox(64, "", "released")
EndFunc
Might be of some help to you.
ya i checked that out, i guess i'm just dumb (i'm dumblet DUH) and i can't figure it out

when i tried it, it worked backwards, if i pressed it button, it stops, if i let go, it sprint smashes
Give this a try I didn't have a chance to test it in-game but it should work.

[ sprint smash
] exit script
Middle mouse button(mouse 3) will spam it

to change the spam key change the number between _isPressed("#")
here are some common keys

01 Left mouse button
02 Right mouse button
04 Middle mouse button (three-button mouse)
45 E key
51 Q key

i also changed the title a bit so the script doesn't get confused with other windows that might have vindictus in their title.

Code:
#include <Misc.au3>

$dll = DllOpen("user32.dll")
$smashing = 0
$title = "[CLASS:Valve001; TITLE:Vindictus]"

HotKeySet("[", "Start") ; replace [ with the bind you wanna use
HotKeySet("]", "Close")

While 1
	If _IsPressed("04", $dll) And $smashing = 0 Then Start()
	sleep(1)
WEnd

Func Close()
	DllClose($dll)
	Exit
EndFunc

Func Start ()
		$smashing = 1
		ControlSend($title, "", "", "{w up}")
		ControlSend($title, "", "", "{space up}")
		ControlSend($title, "", "", "{shiftdown}")
		Sleep(10)
		ControlSend($title, "", "", "{w down}")
		Sleep(100)
		ControlClick($title, "", "", "right", 1)
		Sleep(100)
		ControlSend($title, "", "", "{w up}")
		Sleep(10)
		ControlSend($title, "", "", "{shiftup}")
		ControlSend($title, "", "", "{space down}")
		Sleep(10)
		ControlSend($title, "", "", "{w down}")
		Sleep(10)
		ControlSend($title, "", "", "{w up}")
		Sleep(10)
		ControlSend($title, "", "", "{space up}")
		Sleep(10)
		$smashing = 0
EndFunc
Wooot, i'll give it a shot
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us