Wszystkie dyskusje > Fora Steam > Off Topic > Szczegóły wątku
Mikasa Ackerman (Zbanowany) 29 kwietnia 2018 o 3:11
how do i write a script ?
i want to afk farm in a final fantasy game , how do i make a script that constantly inputs "move up" and "confirm" the rest is possible with ingame boosters but i need to move for encounters to happen and i need to confirm the battle results afterwards
< >
Wyświetlanie 1-7 z 7 komentarzy
Sable 29 kwietnia 2018 o 3:12 
Use autohotkey scripts, look it up to see how to create a simple script that inputs the same key combination for a set amount of time.

Here is an example:

^j:: Loop, 500 { send, {Up} send, ^a send, {BS} send, {Enter} send, {Enter} sleep, 500 } Return

I use that to mass delete Discord messages that I've sent. Input the keys you need to press for "move up" and "confirm". Change the number after "Loop," to a bigger number if you plan to leave it running for a long time.
Ostatnio edytowany przez: Sable; 29 kwietnia 2018 o 3:14
edger 29 kwietnia 2018 o 3:13 
Generate a macro and automatically replay it
Yeah, I'd also recommend autohotkey
Sable 29 kwietnia 2018 o 3:16 
Tell you what, you tell me which keys you need to press for those two actions, as well as how long you plan to leave it running, and I'll edit the script for you here.

The only thing you need is Autohotkey itself: https://autohotkey.com/
Ostatnio edytowany przez: Sable; 29 kwietnia 2018 o 3:16
Mikasa Ackerman (Zbanowany) 29 kwietnia 2018 o 3:24 
Początkowo opublikowane przez Cyber SABLE Saber:
Tell you what, you tell me which keys you need to press for those two actions, as well as how long you plan to leave it running, and I'll edit the script for you here.

The only thing you need is Autohotkey itself: https://autohotkey.com/


arrow up (for moving ) and c (confirm) , i just tried holding both down and it confirmed it
Sable 29 kwietnia 2018 o 3:34 
After installing autohotkey:

^j:: Loop, 100 { send, {Up} send, {Up} send, {Up} send, {Up} send, {c} sleep, 1000 } Return

Try saving this as a .ahk file using Notepad++ and test it. It should run for about a minute. If it works, edit it with Notepad++ and change the number after "Loop," to a bigger number to make it run longer.

To run an autohotkey script, double-click the .ahk file and then press Ctrl + J

Which Final Fantasy is this for? Multiplayer games tend to frown on macros and the like, so if it's for FFXIV, I'd advise against it.
Mikasa Ackerman (Zbanowany) 29 kwietnia 2018 o 4:25 
Początkowo opublikowane przez Cyber SABLE Saber:
After installing autohotkey:

^j:: Loop, 100 { send, {Up} send, {Up} send, {Up} send, {Up} send, {c} sleep, 1000 } Return

Try saving this as a .ahk file using Notepad++ and test it. It should run for about a minute. If it works, edit it with Notepad++ and change the number after "Loop," to a bigger number to make it run longer.

To run an autohotkey script, double-click the .ahk file and then press Ctrl + J

Which Final Fantasy is this for? Multiplayer games tend to frown on macros and the like, so if it's for FFXIV, I'd advise against it.


X-2
im underlevelled as hell and the battle system works fine with auto battle , but you have to confirm after a fight . and move a little (even if you hzst run against a wall) to trigger fights
< >
Wyświetlanie 1-7 z 7 komentarzy
Na stronę: 1530 50

Wszystkie dyskusje > Fora Steam > Off Topic > Szczegóły wątku
Data napisania: 29 kwietnia 2018 o 3:11
Posty: 7