Do we have any other Linux user here that plays the game? If so, do you guys use any short of key repetition program/macro (like Autokey)?
Was trying to create something (press the key 8 every 2 seconds), but can’t figure out how to do it properly on Autokey (and don’t know about any other program).
ah, so you’ve been able to make AutoHotkey work on Linux, do I understand correctly?
if so then you could take either GDAutocaster or its source code if needed and run it
Ok, ChatGPT is either trolling me or… I have no idea. Sorry, though I had it figured out.
Edit: my new friend is AI Chat. Now it works:
import time
# This script will press '8' every 2 seconds.
# Note: AutoKey will handle sending the keys.
# Main loop
try:
while True:
# Send the '8' keystroke
keyboard.send_keys("8")
time.sleep(2) # Wait for 2 seconds
except KeyboardInterrupt:
print("Script stopped by user.")
now maybe add a way to turn it off
or maybe only press while RMB is pressed down (depending on what skill 8 is)
or if it’s sth like Blood of Dreeg then you could do multiple presses so that it still works if you go to loadscreen / if you happen to be using a movement skill (I don’t think Pneumatic Burst works then)
or reset the loop if you activate 8 manually
I used Sleep in AHK at first but then I had to drop because it was blocking the program too much because of how AHK is programmed and moved to Timers instead that can lauch a function with a given frequency
I tried asking for s script with a shortcut to turn it on and off, but it was giving error after error. The above was the only one that worked for me.
I put my “healing” on the number 8 (Blood and Pneumatic) and it works. Yeah, it keeps pressing even out of game (need to close Autokey for it to stop), but… It’s something, I guess.
And I have no idea how to write a script (that’s why I used a chat bot), so dunno how to improve it.