Running Through Russia

Running Through Russia

Not enough ratings
[Script] Achievement Spam Script
By aquatorrent
AutoHotkey script to spam Left Mouse Click to farm most of the achievements.
   
Award
Favorite
Favorited
Unfavorite
Introduction
Since most of the achievements are repetitive, i think it's better to automate it to save your keyboard/mouse. You might want to use this script before attempting the other non grindy achievements. When i tried the script, i even got 100m in one try if i'm lucky. This script requires you to install AutoHotkey[autohotkey.com].

Based on the AutoHotkey website,
AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language. And if you're really interested, here's a great video about it https://youtu.be/lIFE7h3m40U?t=2m50s.

I'm too lazy to upload the compiled version so you have to install AutoHotkey to use this script.

Use at your own risk.
The Script
If you are new to AutoHotkey, you just need to copy and paste this code in a notepad and save it with an .ahk extension (ex: achievement.ahk). Make sure that it has .ahk extension instead of .txt. You can change the setting in Windows here[support.microsoft.com].

Pause Loop{ Loop, 100{ Sleep 50 MouseClick, left, 930, 612 } Send, {Esc} Sleep 50 MouseClick, left, 685, 384 } F8::Pause

Basically, this script will spam left mouse click on the Restart button and restart the game after a few times (to prevent the buggy screen). The coordinates (930, 612) are x and y coordinates of the button in 1366 x 768 in full screen. If you have lower resolution, change the line to the one stated below.

First MouseClick line (Restart button coordinate)
Resolution
Code
800 x 600
MouseClick, left, 626, 478
1024 x 768
MouseClick, left, 801, 612
1280 x 600
MouseClick, left, 899, 485
1280 x 720
MouseClick, left, 958, 581
1280 x 768
MouseClick, left, 965, 965
1360 x 768
MouseClick, left, 1011, 621
1366 x 768
MouseClick, left, 930, 612

Second MouseClick line (Play button coordinate)
Resolution
Code
800 x 600
MouseClick, left, 403, 299
1024 x 768
MouseClick, left, 506, 380
1280 x 600
MouseClick, left, 639, 297
1280 x 720
MouseClick, left, 640, 363
1280 x 768
MouseClick, left, 660, 390
1360 x 768
MouseClick, left, 689, 386
1366 x 768
MouseClick, left, 685, 384
Utilizing the Script
Run the ahk file. The script will now run in paused state. Now, load the game in full screen.


That's the full screen button, in case if you're wondering. Make sure your game has the same icon as the picture before you unpause the script.

Click start and then press F8. Wait until you get the achievements. The script can be closed by right clicking the 'H' icon in your right taskbar and click Close (make sure you pause the script first by pressing F8).
References
AutoHotkey[autohotkey.com]
17 Comments
aquatorrent  [author] 30 Sep, 2023 @ 9:12pm 
@RüzRüz: hello! I didnt test the script at that resolution since my monitor wasnt that big, but you can get the coordinates yourself by running this script:

```
CoordMode, Mouse, Screen
SetTimer, Check, 20
return

Check:
MouseGetPos, xx, yy
Tooltip %xx%`, %yy%
return

Esc::ExitApp
```
Just change the coordinates on the first mouse click and secons mouse click to the appropriate one from this script and you'll get it working shortly :)
chara 30 Sep, 2023 @ 9:14am 
what about 1920x1080
aquatorrent  [author] 4 Aug, 2023 @ 9:15pm 
@Deicide4795: you're welcome! Glad it helps :)
Aurelion 4 Aug, 2023 @ 9:04pm 
thanks for the help, i was able to get all the achievements after 2 hours of leaving the script on.
aquatorrent  [author] 3 Aug, 2019 @ 3:23am 
@Alisa Dvachevskaya: you're welcome! and congrats for getting the achievements! :)
[BLG] Alisa 2 Aug, 2019 @ 2:33am 
Thank you! Thanks to this script and you I was able to finish the buggy achievements in this "wonderful" game. Thanks again!
aquatorrent  [author] 27 Jul, 2019 @ 2:13am 
@xxıʌ: no problem! at least you got the achievements. congrats! :)
xxıʌ 21 Jul, 2019 @ 9:58am 
@aquatorrent: Okay ty so much. I just ended up doing it myself lol, but ty for creating the script!:woodlehappy:
aquatorrent  [author] 21 Jul, 2019 @ 8:20am 
@xxıʌ: hello! yeah, it probably has something to do with the resolution. you might want to get the right coordinate for your screen yourself if the one that i specified in the guide doesn't work. you can use this script to find the right coordinate for your restart button and change it on the script.

```
CoordMode, Mouse, Screen
SetTimer, Check, 20
return

Check:
MouseGetPos, xx, yy
Tooltip %xx%`, %yy%
return

Esc::ExitApp
```

(copy anything inside ``` to a new file and run it. you can press esc to exit the app)
xxıʌ 20 Jul, 2019 @ 8:17am 
Hey, ty so much for this script. My only issue has been that the script won't restart the game after I have died, or rather wont continue. Is this an issue with the resolution?