I am trying to have my number 3 button spam as fast as possible inside Warhammer. I am currently using this script. Is there a way to make this 10 fold faster than what it is currently spamming?
#ifWinActive Warhammer: Age of Reckoning`, Copyright 2001-2009 Electronic Arts`, Inc.
{
$2::
Loop
{
if not GetKeyState("2", "P")
break
Send 2
sleep 0
}
return
$3::
Loop
{
if not GetKeyState("3", "P")
break
Send 3
sleep 1
}
Thank you
Warhammer Button Spam
Started by
endity
, May 06 2009 04:43 AM
6 replies to this topic
#1
-
Posted 06 May 2009 - 04:43 AM
This is pretty fast... =D
SetKeyDelay, 0 #ifWinActive Warhammer: Age of Reckoning`, Copyright 2001-2009 Electronic Arts`, Inc. { $2:: Loop { if not GetKeyState("2", "P") break Send 2 } return $3:: Loop { if not GetKeyState("3", "P") break Send 3 }
#2
-
Posted 06 May 2009 - 05:07 AM
was i wrong, it makes me a very sad panda!
Thank you for the fast response. I copied that into my script and got a error.
Line#
001:SetKeyDelay,0
-------->003:{
I imagine that error means that is the problem?
Line#
001:SetKeyDelay,0
-------->003:{
I imagine that error means that is the problem?
#3
-
Posted 06 May 2009 - 05:12 AM
You are correct, endity... His script should be
However, I would do it this way, and I think it will probably be a bit faster:
SetKeyDelay, 0 #ifWinActive Warhammer: Age of Reckoning`, Copyright 2001-2009 Electronic Arts`, Inc. $2:: Loop { if not GetKeyState("2", "P") break Send 2 } return $3:: Loop { if not GetKeyState("3", "P") break Send 3 }
However, I would do it this way, and I think it will probably be a bit faster:
SetKeyDelay, 0 #ifWinActive Warhammer: Age of Reckoning`, Copyright 2001-2009 Electronic Arts`, Inc. $2:: 2Down := True While (2Down = True) SendInput, 2 return $3:: 3Down := True While (3Down = True) SendInput, 3 return $2 Up::2Down := False $3 Up::3Down := False
#4
-
Posted 06 May 2009 - 05:16 AM
oh, sry! i forgot }
SetKeyDelay, 0 #ifWinActive Warhammer: Age of Reckoning`, Copyright 2001-2009 Electronic Arts`, Inc. { $2:: Loop { if not GetKeyState("2", "P") break Send 2 } return $3:: Loop { if not GetKeyState("3", "P") break Send 3 } return }
#5
-
Posted 06 May 2009 - 05:37 AM
was i wrong, it makes me a very sad panda!
Thank you both for the awesome response and help. I used your second script and it worked very very well for me. Only thing that happens to me in game sometimes it will stick spamming it and sometimes it will not stick and I have to hold the button down for it to go off. When it sticks where I can release and it will continue to spam my char will aimlessly wonder off without me controlling it. Is there a reason for this.
#6
-
Posted 06 May 2009 - 05:39 AM
Krogdor@
I dont think it needs to be any faster... =D I think mine is too fast already.
But Endity better try them both out.
I dont think it needs to be any faster... =D I think mine is too fast already.
But Endity better try them both out.
#7
-
Posted 06 May 2009 - 05:40 AM
was i wrong, it makes me a very sad panda!