- #IfWinActive, Darkfall Online
- End::Pause
- Home::Suspend
- Capslock::Alt
- GlobalReady = True
- PungentReady = True
- UnholyReady = True
- ImpaleReady = True
- DragonReady = True
- InsectReady = True
- LightningReady = True
- PotReady = True
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- GlobalTimer := -1250
- UnholyTimer := -14000
- ImpaleTimer := -6100
- DragonTimer := -14000
- PungentTimer := -16100
- InsectTimer := -13100
- LightningTimer := -9000
- FrostTimer := -9000
- ;//////////////////////////////////////////////////
- ;//Rays////////////////////////////////////
- ;//////////////////////////////////////////////////
- SleepTimer :=25
- RButton Up:: ;the hotkey you spam ("Up" gives ability to "hold rays") Right mouse click up.
- {
- If GlobalReady = True
- {
- ;;;;;;;;;1st Priority;;;;;;;;;;; This is the priority of your rays, what one will come up 1st, and its dependent on the cool down.
- If DragonReady = True
- {
- DragonReady = False
- GlobalReady = False
- SetTimer, Dragon, %DragonTimer%
- SetTimer, Global, %GlobalTimer%
- Send !5 ;Dragon hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;2nd Priority;;;;;;;;;
- If UnholyReady = True
- {
- UnholyReady = False
- GlobalReady = False
- SetTimer, Unholy, %UnholyTimer%
- SetTimer, Global, %GlobalTimer%
- Send !6 ;Unholy hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;3rd Priority;;;;;;;;;
- If ImpaleReady = True
- {
- ImpaleReady = False
- GlobalReady = False
- SetTimer, Impale, %ImpaleTimer%
- SetTimer, Global, %GlobalTimer%
- Send !7 ;Impale hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;4th Priority;;;;;;;;;
- If InsectReady = True
- {
- InsectReady = False
- GlobalReady = False
- SetTimer, Insect, %InsectTimer%
- SetTimer, Global, %GlobalTimer%
- Send !8 ;Insect hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;5th Priority;;;;;;;;;
- If LightningReady = True
- {
- LightningReady = False
- GlobalReady = False
- SetTimer, Lightning, %LightningTimer%
- SetTimer, Global, %GlobalTimer%
- Send !9 ;Lightning hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- Return
- }
- Return
- }
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- Global:
- {
- GlobalReady = True
- Return
- }
- Impale:
- {
- ImpaleReady = True
- Return
- }
- Dragon:
- {
- DragonReady = True
- Return
- }
- Insect:
- {
- InsectReady = True
- Return
- }
- Lightning:
- {
- LightningReady = True
- Return
- }
- Unholy:
- {
- UnholyReady = True
- Return
- }
- f11:: ; This is a sword and board macro,
- {
- Send {Numpad1}
- sleep 550 ;this will have to be adjusted if it does not pull out your shield, make this number bigger
- Send {Numpad2}
- Return
- }
- ; Burst keys
- +1::
- Send, {Numpad3}
- Send, {NumpadEnter}
- Send, {F7}
- Send, {/}
- return
- +2::
- Send, {Numpad4}
- Send, {F5}
- return
- +3::
- Send, {Numpad5}
- Send, {F6}
- return
- +4::
- Send, {Numpad6}
- Send, {NumpadSub}
- return
- +5::
- Send, {Numpad7}
- Send, {}
- return
- +6::
- Send, {[}
- Send, {}
- return
- +7::
- Send, {;}
- Send, {}
- return
- ;;;;autostrpint;;;;;;;
- ; Auto Sprint
- ; For this to work, F8 must be your sprint button
- ; This macro sprints automatically so you don't have to hold shift.
- ; Pressing the middle mouse button toggles your auto sprinting on and off.
- toggle = 0
- ~*LShift::
- WinGetClass, classVar,A
- if classvar = SFMainWindow
- {
- if toggle := !toggle
- Send, {F8 down}
- else
- ;Send, {F8 Up}
- Send, {F8 down}
- ;toggle = 1
- }
- return
- ~RButton::
- WinGetClass, classVar,A
- if classvar = SFMainWindow
- {
- If toggle = 1
- {
- Keywait, `RButton`
- Send, {F8 down}
- }
- else
- toggle = 0
- }
- return
- ~Enter::
- If toggle = 1
- {
- WinGetClass, classVar,A
- if classvar = SFMainWindow
- {
- Keywait, Enter
- Send, {F8 down}
- }
- else
- toggle = 0
- }
- return
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; RAY COMBO KEY
- ;
- ; make sure you have your 7 ray spells bound to the following keys: Insert, home, end, pageup, pagedown, delete, ( \ backslash )
- ;
- ;;;;----- you may change these to whatever you like but I like them on these because I never press then anyways
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- H::
- {
- Sleep 20
- Send +' ; Light Battle Spike
- Sleep 150
- DllCall("mouse_event",uint,1,int,1,int,25200,uint,0,int,0) ; Change 25200 to a Higher number if you do not look all the way to the floor.
- Sleep 100
- Click
- Sleep 500
- Send {space down}
- Send {space up}
- Sleep 20
- DllCall("mouse_event",uint,1,int,1,int,-700,uint,0,int,0) ; Change -8000 up or down to center your view in the middle of your screen, Normal viewing position.
- Sleep 500
- MeleeReady = True
- StaffReady = False
- Send {f9}
- sleep 325
- Send {space down}
- Send {space up}
- Return
- }