Search found 38 matches

by Raiden96
18 Sep 2022, 07:11
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

Thanks, I'll check it out and let you know how it went.
by Raiden96
09 Sep 2022, 12:32
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

t3h m00kz I've tried the code you sent and sadly it doesn't work as intended. 1.Whether i hold or tap W it sends the first parry upwards. The subsequent ones are always down parrys for god knows what reason. Also if i hold W it gets messed up. Not to mention the character moves in the direction of ...
by Raiden96
07 Sep 2022, 11:30
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

t3h m00kz wrote:
07 Sep 2022, 11:05
all good, that last script revision I posted should cover that. I figured it was directional, give it a try
Thanks a lot! I think we're getting close. For some reason, i can't move while script is running. I don't understand why. Also what's the point of F5 (script reloading)?
by Raiden96
07 Sep 2022, 10:11
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

try this GLOBAL isHoldingF := "0" ;The player is holding the F key F5:: ;F5 to reload script send {F5} reload return *$~F:: ;F pressed isHoldingF := "1" return *$~F Up:: ;F released isHoldingF := "0" return *$~W:: *$~S:: *$~A:: *$~D:: ;for W, A, S, and D, if isHoldingF{ ;if the player is holding F,...
by Raiden96
07 Sep 2022, 03:02
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

Thanks for your input! I really appreciate it. After my work hours are over i'll give them a try and let you know how it went.
by Raiden96
04 Sep 2022, 10:11
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Re: Help writing a parry script

Anyone?
by Raiden96
02 Sep 2022, 10:46
Forum: Gaming Help (v1)
Topic: Help writing a parry script
Replies: 12
Views: 1408

Help writing a parry script

As the title says, i'm trying to write a parry script for the surge 2. surge2 = ahk_exe TheSurge2.exe F2:: Suspend, Toggle Soundbeep, 300, 500 Return #If WinActive(surge2) && A_IsSuspended F2:: Suspend, Off Soundbeep, 700, 300 Return #If WinActive(surge2) While GetKeyState("F", "P") W:: While GetKey...
by Raiden96
16 Aug 2022, 09:23
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Re: Help rewriting this code Topic is solved

Thanks! I suppose i got what i'm looking for. I'll keep playing with it. Maybe i can find new ways to improve it. Thanks again!
by Raiden96
15 Aug 2022, 08:53
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Re: Help rewriting this code Topic is solved

@mikeyww Thanks a lot! That did it. Can't believe i forgot this simple detail. Btw can i use ~ in front of the activation key because i noticed that if i hold down the activation key it kinda bugs out the move. I hope you know what i'm saying.
by Raiden96
15 Aug 2022, 08:24
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Re: Help rewriting this code Topic is solved

mikeyww Since we're still on the topic do you think you can lend me a hand on this? Mbutton:: SetKeyDelay, 10, 10 Send {W down} Send {Space down} Send RButton Send {Space up} Send {W up} Return To perform a combo i have to press W then Space then right click in quick succession. Technically speakin...
by Raiden96
14 Aug 2022, 14:16
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Re: Help rewriting this code Topic is solved

mikeyww wrote:
14 Aug 2022, 09:10
Could try:

Code: Select all

~RButton Up::
SetKeyDelay, 25, 25
Send {LButton 4}
Return
Thanks! Looks good. The issue seems to be related to the game itself. Maybe i can find a workaround. Regardless, thanks a lot for your help!
by Raiden96
14 Aug 2022, 09:05
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Re: Help rewriting this code Topic is solved

@mikeyww Alright i guess. Might wanna tweak the delay a bit since 10ms since a bit too low. Could be the game's limitations as well since it does something funny that i can't figure out. Thanks!
by Raiden96
14 Aug 2022, 07:34
Forum: Gaming Help (v1)
Topic: Help rewriting this code Topic is solved
Replies: 10
Views: 918

Help rewriting this code Topic is solved

While this piece of code does the the job it's supposed to do can't help but wonder if there isn't a better way of writing this code. I'm not sure it's 100% correct.

Code: Select all

~RButton Up::
SetMouseDelay, 10
Click, 4
Return
Thanks!
by Raiden96
29 Jul 2022, 07:49
Forum: Gaming Help (v1)
Topic: Win active not working Topic is solved
Replies: 4
Views: 733

Re: Win active not working Topic is solved

I see. Thanks once again! You're answers and insights have been invaluable!
by Raiden96
29 Jul 2022, 02:06
Forum: Gaming Help (v1)
Topic: Win active not working Topic is solved
Replies: 4
Views: 733

Re: Win active not working Topic is solved

Works great. Thank you very much! Also, i didn't know you could send 2 keys like this Send w{MButton} . It's definitely something I've never seen before. This is good to know. PS: Still used to normal programming. Kinda odd that the 2 ifs would exclude each other. But then again, I'm a novice with a...
by Raiden96
28 Jul 2022, 10:49
Forum: Gaming Help (v1)
Topic: Win active not working Topic is solved
Replies: 4
Views: 733

Win active not working Topic is solved

Hello, I have this code. #IfWinActive ahk_exe nioh.exe #If A_IsSuspended F2:: Suspend soundbeep, 700, 300 return #If F2:: soundbeep, 300, 500 Suspend return $XButton1:: SetKeyDelay, 50, 50 Send {w down}{w up} Send {Mbutton down}{Mbutton up} Return #IfWinActive For now i want it to press both W and m...
by Raiden96
03 Jul 2022, 10:58
Forum: Gaming Help (v1)
Topic: Press a key as long as the same key is being held down Topic is solved
Replies: 2
Views: 373

Press a key as long as the same key is being held down Topic is solved

Hello, I'm trying make a script that keeps on tapping E as long as i hold E down. #IfWinActive ".exe" E:: ; celebration slide SetKeyDelay, 50, 50 While GetKeyState("E", "P") { Send {E down} Send {E up} } #IfWinActive Return I also want it to run only when a certain game is in focus. But if the scrip...
by Raiden96
06 Apr 2022, 13:22
Forum: Gaming Help (v1)
Topic: Slight issues with this code
Replies: 6
Views: 582

Re: Slight issues with this code

Thank you Xtra ! Sadly still not working as intended. I think i should have been more specific regarding the combo i'm trying to pull. The F key is the melee key. By default in the game, while holding down F near an enemy you slash it 2 times with your knife and in order to pull the finisher combo, ...
by Raiden96
06 Apr 2022, 11:27
Forum: Gaming Help (v1)
Topic: Slight issues with this code
Replies: 6
Views: 582

Re: Slight issues with this code

What you just posted looks like what you described if you do not want to send g. Does it not work? Well not really. It does send the first 2 consecutive F's but i need the third one to be held down for half a second then released not simply pressed and released. Pressed and held down for a little w...

Go to advanced search