I made some macros using AutoHotKey that I felt like sharing.
Posting here because I play the Windows 10 UWP Edition and have the macros adjusted in accordance with its specific quirks. Felt appropriate to share here considering cross-play.
Link: https://pastebin.com/mSgPfkKc
Features:
- Mana Dive Fix.
- Various AutoClickers.
- AutoRun.
- E Spam.
- T Spam.
- A Spam.
Wall of Text Edition:
/* .ahk Macros for ARK: Carpal Tunnel Evolved * Revision 4.2069 * Updates: https://pastebin.com/mSgPfkKc * Install: https://www.autohotkey.com/ * https://notepad-plus-plus.org/download/v7.6.6.html * Read: https://autohotkey.com/docs/Program.htm * https://autohotkey.com/docs/Tutorial.htm * https://autohotkey.com/docs/Tutorial.htm#s31 * * Instructions: Save As...→ $NAME.ahk → Run As Admin. * Notes: I made this for myself and sanitized it for sharing. Customization is up to you. * I play the UWP (Windows 10) Edition. * Default Key Presses are 10ms, however UWP Edition Requires ≥15ms because Microsoft. * Adjust the Sleep delays accordingly if you are playing through Steam. * Changelog: * Revision 4.2069 * + Changelog Added. * + Unnecessarily lengthened with equally fancy and unnecessary formatting, comments. * + Added a Mana Fix. * + Added "A Spam" and "T Spam" macros. * + Re-Added the Admin Check. * - 80% fewer dead memes. * + 10% more cringe. * To-do? * + L2AHK. * + Macros for transferring Ingots, Pearls, etc. * + Macros for dropping Berries, Stone, etc. * Never Adding: * - PIN Forcer. Tame Arthropleura! ლ(ಠ益ಠლ) */ /* HOTKEYS * Mouse Button 4 : 300 IQ Mana Dive. * ALT+MB4 : AutoClicker. * SHIFT+MB4 : AutoRightClicker. * Mouse Button 5 : AutoRun. * ALT+MB5 : TeaBagger. * SHIFT+MB5 : Party Crab. * ALT+E : AutoGather. * ALT+T : AutoTransfer. * ALT+A : AutoCrafter. * F12: : SHUT. IT. DOWN! */ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ADMIN CHECK If not A_IsAdmin { DllCall("shell32\ShellExecuteA", uint, 0, str, "RunAs", str, A_AhkPath, str, """" . A_ScriptFullPath . """", str, A_WorkingDir, int, 1) ExitApp } ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; AHK Settings Process, Priority, , High #SingleInstance,Force ;; Prevents Error Code ID-10T. SendMode Input SetWorkingDir %A_ScriptDir% ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Global variables for Toggles. CraftToggle:=0 UseToggle:=0 WalkToggle:=0 TransferToggle:=0 M1Toggle:=0 M2Toggle:=0 M3Toggle:=0 M1M2Toggle:=0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Timers for Loops. SetTimer, AutoM1, 10 SetTimer, AutoM2, 10 SetTimer, AutoM3, 10 SetTimer, AutoDouble, 10 SetTimer, AutoGather, 10 SetTimer, AutoTransfer, 10 SetTimer, AutoCrafter, 10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Quits. ~F12::Reload ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 300IQ Mana Diving. ;; Hotkey: Mouse Button 4. #IfWinActive ARK: Survival Evolved *$XButton1:: DllCall("SetCursorPos", int, (A_ScreenWidth/2-10) , int, (A_ScreenHeight/2)) Send, {LButton Down} Sleep, 50 Send, {LButton Up} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; AutoAttack ;; Hotkey: Alt + Mouse Button 4 #IfWinActive ARK: Survival Evolved *$!XButton1::M1Toggle:=!M1Toggle AutoM1: If (!M1Toggle) Return Send, {LButton} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Secondary Auto Attack. ;; Spams the Right Mouse Button. ;; Hotkey: Shift + Mouse Button 4. #IfWinActive ARK: Survival Evolved *$+XButton1::M2Toggle:=!M2Toggle AutoM2: If (!M2Toggle) Return Send, {RButton} Return /* None of the following is necessary if you want the Tertiary Attack macro to also function as a TeaBagger. * * Changing the Crouch keybind from C also changes the Tertiary Attack on TAMES. * (e.g. Ptera Roll, Theri Peck, Velo Firing Mode.) * You can separate these keybinds by using the CrouchProneToggle Action in your Input.ini * Disclaimer: * By Default, this is the "Right Stick Press" bind for Controllers. * Changing this to keyboard input will prevent your Controller from performing this Action. * * If you'd like to change the behavior of your crouch key, edit the following INI... * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * ;; ;; * ;; Steam: ;; * ;; . . .\ARK\ShooterGame\Saved\Config\WindowsNoEditor\Input.ini ;; * ;; UWP Version: ;; * ;; %LocalAppData%\Packages\StudioWildcard. . .\LocalState\Saved\UWPConfig\UWP\Input.ini ;; * ;; ;; * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * * In Line 28... * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * ;; ;; * ;; 28| ActionMappings=(ActionName="CrouchProneToggle",Key=GamepadRightThumbstick. . .) ;; * ;; ;; * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * * Replace... * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * ;; ;; * ;; Key=GamepadRightThumbstick ;; * ;; ;; * ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * * with the following... * ;;;;;;;;;;;;;;;;;;;;;;; * ;; ;; * ;; Key=LeftControl ;; * ;; ;; * ;;;;;;;;;;;;;;;;;;;;;;; * * By doing things this way, my Tertiary Attack can be bound to, for example, Mouse Button 3. * Left Control now performs the Crouch Action when pressed quickly. * Prone is now also bound to holding Left Control for 0.5s and releasing it. * Unlike the Crouch keybind, the Air Brake and Prone keybinds are not tied. * This means that you could unbind Prone from X and still use X for Air Brake. * This makes switching between stances slightly more cumbersome; However, it's worth doing in my opinion. * C retains is normal functionality until otherwise rebinded. */ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tertiary AutoAttacker & autoTeaBagger. ;; Spams the Third Attack Button [Default: C]. ;; ! I have this bound to Middle Mouse Button in my own config. ;; Hotkey: Alt + Mouse Button 5. #IfWinActive ARK: Survival Evolved *$!XButton2::M3Toggle:=!M3Toggle AutoM3: If (!M3Toggle) Return Send, {C Down} Sleep, 50 Send, {C Up} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Dual-Clicker. ;; For use with Crabs, spams the Smash attack. ;; Hotkey: Shift + Mouse Button 5. #IfWinActive ARK: Survival Evolved *$+XButton2::M1M2Toggle:=!M1M2Toggle AutoDouble: If (!M1M2Toggle) Return Send, {LButton Down}{RButton Down} Sleep, 50 ;; Don't Adjust this one, Party Creb is slow. Send, {LButton Up}{RButton Up} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Autorun. ;; Reminder: You can use RShift to toggle running/walking. ;; Toggle: Mouse Button 5. #IfWinActive ARK: Survival Evolved *$XButton2:: Send % (WalkToggle := !WalkToggle) ? "{W Down}{LShift Down}" : "{W Up}{LShift Up}" Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Auto Gather, Auto Use, Auto EEEEEEEEEEEEEEE. ;; Toggle: Alt + E. #IfWinActive ARK: Survival Evolved *$!e::UseToggle:=!UseToggle AutoGather: If (!UseToggle) Return Send, {E Down} Sleep, 50 Send, {E Up} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Auto Transfer. ;; Hotkey: Alt + T. #IfWinActive ARK: Survival Evolved *$!t::TransferToggle:=!TransferToggle AutoTransfer: If (!TransferToggle) Return Send, {T Down} Sleep, 50 Send, {T Up} Return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Auto Craft All. ;; Spams A to make crafting less tedious. ;; Hotkey: Alt + A. #IfWinActive ARK: Survival Evolved *$!a::CraftToggle:=!CraftToggle AutoCrafter: If (!CraftToggle) Return Send, {A Down} Sleep, 50 Send, {A Up} Return
No comments:
Post a Comment