Need help with a 1234 script (Wolcen)

Ask gaming related questions (AHK v1.1 and older)
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Need help with a 1234 script (Wolcen)

10 Mar 2020, 13:21

I have older scripts that do what I like, but they don't work for wolcen. I would like it to be able to use the 1, 2, 3, and 4 keys with adjustable timings. I would like to hit the "x" key and have it hit each key once. For starters the timings can be 1 second apart.

Thank you,
NOOBZ
Last edited by Noobz on 23 Mar 2020, 17:08, edited 1 time in total.
Louis Tully
Posts: 42
Joined: 25 Apr 2018, 03:03

Re: Need help with a 1234 script

11 Mar 2020, 07:52

Try this

Code: Select all

x::
send 1
sleep, 1000
send 2
sleep, 1000
send 3
sleep, 1000
send 4
sleep, 1000
return
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

11 Mar 2020, 16:41

This worked exactly as expected, but it can not be initiated from within the game. I can start it on my desktop while the game is in windowed mode and then click on the game window and it works flawless. I put a 3 second delay to allow me time to click in and out. Unfortunately I have to do this every time I want to run it.( several times a minute) What could possibly prevent me from running the script from within Wolcen?

Noobz
Louis Tully
Posts: 42
Joined: 25 Apr 2018, 03:03

Re: Need help with a 1234 script

11 Mar 2020, 17:11

Try running the script as Admin.
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

12 Mar 2020, 11:48

I ran it as admin and same results. I tried fullscreen, borderless window, and windowed fullscreen. The only mode that worked was again in windowed mode and then clicking on the desktop, starting the script and then clicking back on the game window.

Noobz

PS I had similar results with it working in fullscreen if I ALT TABBED back to the desktop, hit X, and then ALT TABBED back
poetbox
Posts: 112
Joined: 18 Apr 2018, 20:47

Re: Need help with a 1234 script

12 Mar 2020, 20:45

test : 'send' --> 'SendPlay'
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

13 Mar 2020, 11:24

poetbox wrote:
12 Mar 2020, 20:45
test : 'send' --> 'SendPlay'
As a separate macro or added somewhere in the original? Im not familiar with the usage
poetbox
Posts: 112
Joined: 18 Apr 2018, 20:47

Re: Need help with a 1234 script

14 Mar 2020, 02:04

Noobz wrote:
13 Mar 2020, 11:24
poetbox wrote:
12 Mar 2020, 20:45
test : 'send' --> 'SendPlay'
As a separate macro or added somewhere in the original? Im not familiar with the usage
:terms:
Only to replace the word "Send" with "SendPlay".
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

14 Mar 2020, 03:00

Ahh ok. I will try
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

14 Mar 2020, 10:51

OK, i replaced send with Sendplay and nothing happened. I did not get any errors, but it did not work in game or even if I did it the old way by clicking on desktop and then back in game. Here is my code that I have been testing with:

Code: Select all

x::
sleep, 3000
Sendplay, {1 down}
sleep, 10
Sendplay, {1 up}
sleep, 1000
Sendplay, {2 down}
sleep, 10
Sendplay, {2 up}
sleep, 1000
Sendplay, {3 down}
sleep, 10
Sendplay, {3 up}
sleep, 200
Sendplay, {4 down}
sleep, 10
Sendplay, {4 up}
sleep, 300
Sendplay, {5 down}
sleep, 1500
Sendplay, {5 up}
sleep, 400
Sendplay, {1 down}
sleep, 10
Sendplay, {1 up}
sleep, 1000
Sendplay, {2 down}
sleep, 10
Sendplay, {2 up}
sleep, 1000
Sendplay, {3 down}
sleep, 10
Sendplay, {3 up}
return
I had to use the 1 up and 1 down because it seemed to hang a lot like a key was pressed down and would not let go when I used just send 1 .

Noobz
Noobz
Posts: 9
Joined: 22 Feb 2020, 02:00

Re: Need help with a 1234 script

22 Mar 2020, 18:53

Anyone else out there playing Wolcen?

Noobz

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Rxbie and 56 guests