Search found 25 matches

by cyrexsef
23 May 2022, 12:47
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

Try running as admin. Also see notes here about key delays & other factors. https://www.autohotkey.com/boards/viewtopic.php?f=7&t=11084 If !A_IsAdmin && !(DllCall("GetCommandLine", "str") ~= " /restart(?!\S)") { Try Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%" ExitApp } d::SetTimer, d Up,...
by cyrexsef
22 May 2022, 19:22
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

Yes. Try: d::SetTimer, d Up, % (punch := !punch) ? 50 : "Off" d Up::Send % punch ? "{s down}u{s up}d" : "" so in notepad its working, but in the game its not doing anything what im using z::SetTimer, z Up, % (punch := !punch) ? 50 : "Off" z Up::Send % punch ? "{s down}u{s up}d" : "" not sure why I ...
by cyrexsef
22 May 2022, 19:11
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

Yes. Try: d::SetTimer, d Up, % (punch := !punch) ? 50 : "Off" d Up::Send % punch ? "{s down}u{s up}d" : "" so in notepad its working, but in the game its not doing anything what im using z::SetTimer, z Up, % (punch := !punch) ? 50 : "Off" z Up::Send % punch ? "{s down}u{s up}d" : "" not sure why
by cyrexsef
22 May 2022, 12:31
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

d::SetTimer, d Up, % (punch := !punch) ? 50 : "Off" d Up::SendInput % punch ? "punch1punch2punch3" : "" Punch is just a variable correct? Punch1punch2punch3 are the button inputs correct? So will it work like this? d::SetTimer, d Up, % (punch := !punch) ? 50 : "Off" d Up::SendInput % punch ? "Send ...
by cyrexsef
22 May 2022, 11:41
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

There could be a way if you identify something that could be a an indicator of "opponent input", such as something that changes on the screen. AHK can identify pixel colors and images. You might want to have a peek at the documentation, in case it generates some ideas. Okay thank you, on a new note...
by cyrexsef
22 May 2022, 11:32
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

There could be a way if you identify something that could be a an indicator of "opponent input", such as something that changes on the screen. AHK can identify pixel colors and images. You might want to have a peek at the documentation, in case it generates some ideas. Okay thanks. On a separate no...
by cyrexsef
22 May 2022, 09:36
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Re: Any way to get opponent input from fighting game?

mikeyww wrote:
22 May 2022, 07:59
I am often proven wrong, but my impression is that AHK cannot infiltrate your game program and determine what input has been received there.
So there's no way to 'auto block' or 'auto jump' on opponent input in ahk?
by cyrexsef
22 May 2022, 07:31
Forum: Gaming Help (v1)
Topic: Any way to get opponent input from fighting game?
Replies: 13
Views: 1093

Any way to get opponent input from fighting game?

Hello my question is if there is any way to get the opponent input in a fighting game. I.E. when they press back key

T.i.a
by cyrexsef
21 Apr 2022, 10:12
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

If it works, then it's right! :) Test in Notepad. Looks OK, though does not necessarily do I would like to stop this script with the press of 'c' button and then when I press 'c' again the script starts from the very beginning again. In any case, my discussion here is a bit silly and useless. To fi...
by cyrexsef
21 Apr 2022, 10:04
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

You haven't answered the question, but yes, you can :arrow: Reload . Example is this correct? Loop { send, {s down}{a down}{k down} sleep 50 send, {s up}{a up}{k up} Send %A_Index% } c:: If c Reload Sleep 1000 Return No, it isn't right, because in @mikeyww's example he changed the variable "c" to T...
by cyrexsef
20 Apr 2022, 12:52
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

mikeyww wrote:
19 Apr 2022, 22:40
You haven't answered the question, but yes, you can :arrow: Reload. Example
is this correct?

Code: Select all

Loop {
send, {s down}{a down}{k down}
sleep 50
send, {s up}{a up}{k up} 
Send %A_Index%
}
c::
If c
Reload
Sleep 1000
Return
by cyrexsef
20 Apr 2022, 12:49
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

mikeyww wrote:
19 Apr 2022, 22:40
You haven't answered the question, but yes, you can :arrow: Reload. Example
no its not working in notepad either
by cyrexsef
19 Apr 2022, 19:46
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

In terms of the first issue: test in Notepad first. Does it work there? You can also see the AHK tray icon change colors, so you'll know whether the script is paused. Your script worked perfectly in my test. is there a way I can make a script file which on press of c will terminate the script compl...
by cyrexsef
19 Apr 2022, 18:13
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

Re: stopping or pausing a script then running from start

Loop { Sleep, 200 Send %A_Index% } c:: If c Reload Else Pause,, % c := True Return Thanks Im using:: Loop { send, {s down}{a down}{k down} sleep 500 send, {s up}{a up}{k up} sleep 500 Send %A_Index% } c:: If c Reload Else Pause,, % c := True Return but he keeps ducking when I turn the script off? I...
by cyrexsef
19 Apr 2022, 12:10
Forum: Gaming Help (v1)
Topic: stopping or pausing a script then running from start
Replies: 12
Views: 1364

stopping or pausing a script then running from start

Hello I have a script with kick and punch etc command string. I would like to stop this script with the press of 'c' button and then when I press 'c' again the script starts from the very beginning again. if its too hard to do stop and start on c. it can be a different button too. Pls can anyone help?
by cyrexsef
22 Mar 2022, 00:23
Forum: Gaming Help (v1)
Topic: Pause/resume script
Replies: 5
Views: 14927

Re: Pause/resume script

Rohwedder wrote:
20 Mar 2022, 12:01
If these lines are only part of blue.ahk, then only blue.ahk.
And how to start script again?
by cyrexsef
20 Mar 2022, 11:07
Forum: Gaming Help (v1)
Topic: Pause/resume script
Replies: 5
Views: 14927

Re: Pause/resume script

Rohwedder wrote:
19 Mar 2022, 10:52
Hallo,
try:

Code: Select all

*F2::
Suspend ;Suspend Hotkeys off/on
Pause,, 1 ;Pause Script off/on
Return
Thank you will this stop all running scripts or just blue.ahk?
by cyrexsef
19 Mar 2022, 10:39
Forum: Gaming Help (v1)
Topic: Pause/resume script
Replies: 5
Views: 14927

Pause/resume script

I have a script called blue.ahk. I would like to pause the script with f2 key press.

How can I do this?
by cyrexsef
19 Mar 2022, 10:12
Forum: Gaming Help (v1)
Topic: Tekken 7 blocking low hits
Replies: 0
Views: 538

Tekken 7 blocking low hits

Does anybody have the code to block low hits in TeKken 7?

I would highly appreciate it

Go to advanced search