Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- WinWait, Darkfall Online,
- WinWaitActive, Darkfall Online,
- isMouseShown()
- {
- StructSize := A_PtrSize + 16
- VarSetCapacity(InfoStruct, StructSize)
- NumPut(StructSize, InfoStruct)
- DllCall("GetCursorInfo", UInt, &InfoStruct)
- Result := NumGet(InfoStruct, 8)
- if Result
- return 1
- else
- return 0
- }
- #If !isMouseShown() and WinActive("Darkfall Online")
- ~2::q
- return
- #If !isMouseShown() and WinActive("Darkfall Online")
- ~4::e
- return
- #If !isMouseShown() and WinActive("Darkfall Online")
- ~7::v
- return
- ;always sprinting when using Up (b is sprint)
- ~*w::
- if GetKeyState ("w","s")
- {
- Send {b down}
- Sleep 100
- }
- Return
- 2HSword:
- NumpadDiv:: ;Hotkey is / on numpad
- Send h ;Select 2H weapon
- Send {F2} ;Switch to Melee hotbar
- Send \ ;unsheath weapon
- Sleep 280
- Send 3 ; que whirlwind
- return
- 2HAxe:
- $^NumpadDiv:: ;Hotkey is ctrl and / on numpad
- Send y ;Select 2H weapon
- Send {F3} ;Switch to 2nd Melee hotbar
- Send \ ;unsheath weapon
- Sleep 280
- Send 3 ; que whirlwind
- return
- Knives:
- $+NumpadDiv:: ;Hotkey is shift and / on numpad
- Send z ;Select 2H weapon
- Send {F3} ;Switch to 2nd Melee hotbar
- Send \ ;unsheath weapon
- Sleep 280
- Send 4 ; que powerattack
- return
- Knives2ndOption:
- $+^NumpadDiv:: ;Hotkey is shift+Ctrl and / on numpad
- Send z ;Select 2H weapon
- Send {F3} ;Switch to 2nd Melee hotbar
- Send \ ;unsheath weapon
- Sleep 280
- Send 4 ; que powerattack
- return
- Archery:
- NumpadAdd:: ;Hotkey is + on numpad
- Send k ;Select bow
- Send {F2} ;Switch to Melee hotbar
- Send \ ;unsheath weapon
- Sleep 280
- Send 7 ; que disabling shot
- return
- Sword&Board:
- NumpadSub:: ;Hotkey is - on numpad
- Send l ;Select 1H sword
- Send {F2} ;Switch to Melee Hotbar
- Send \ ;unsheath weapon
- Sleep 525
- Send `; ;Select shield
- return
- Healing:
- NumpadMult:: ;Hotkey is * on numpad
- Send j ;Select Healing staff
- Send {F4} ;Switch to Heal hotbar
- Send \ ;unsheath weapon
- return
- SkinningKnifeORbattlespike:
- $+r:: ;Hotkey is Shift and R
- Send ] ;Select skinning knife
- Send \ ;unsheath weapon
- return
Add Comment
Please, Sign In to add comment