[AutoHotKey] Swimming Mastery, Rigor, and Heal Self macro

08/14/2009 11:22 Penakle#1
The following macro will swim in a circle constantly, while crouching down to take damage and increase rigor, then swim back up and heal repeatedly. Pick a private location to execute this macro.

Save as two separate files, open both when you want to start the macro.
Final product:
Save this as TurnRight.ahk

Code:
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online

Loop
{
Send {Right down}
Send {Right up}
}
Save this as SwimRigorHeal.ahk

Code:
; __..,,-- SWIM / RIGOR / HEAL SELF MACRO --,,..__



;Prerequisites
;Make Heal Self "5" on Hotbar
;Equip your staff before you start (don't unsheathe it)
;Change autorun keybind to "K" in the game

WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online

Loop
{

Send {K down} ; vvvvvvv
Send {K up}   ;  swim
sleep, 0500 ; waits .5 seconds

Send {c down} ; dive
sleep, 0500 ; waits .5 seconds
Send {c up}


Send {c down} ; dive
sleep, 0500 ; waits .5 seconds
Send {c up}

Send {c down} ; dive
sleep, 0500 ; waits .5 seconds
Send {c up}

sleep, 40000 ; waits 40 seconds


Send {K down}
Send {K up}
sleep, 5000 ; waits 5 seconds to float to the top of the water

Send {K down} ; continues swimming
Send {K up}     ;  ^^^^^^^^^^

Send r
sleep, 1000 ; waits 1 second

Send 5 ; Heal Self
sleep, 1000 ; waits 1 seconds

MouseClick, Left ; casts
sleep, 40000 ; waits 40 seconds

Send 5 ; Heal Self
sleep, 1000 ; waits 1 seconds

MouseClick, Left ; casts
sleep, 40000 ; waits 40 seconds

Send 5 ; Heal Self
sleep, 1000 ; waits 1 seconds

MouseClick, Left ; casts
sleep, 5000 ; waits 5 seconds

Send r

Send {K down} ; stops swimming
Send {K up}     ;  ^^^^^^^^^^

}