Autoit script for mana missile, heal and rest.
Posted: March 8th, 2009, 10:18 am
This is a script that will look at the grounf then cast mana missile. This will do damge and raise you defense and magic. It will use heal 2 times during the casting. This will raise your heals. It will rest then start all over again. Your rest will raise aswell.
You must have staff out and be able to cast mana missile before starting the script.
You need Autoit installed. Then just copy the code here to a txt file and name it darkfallscript.au3. Then just double click darkfallscript.au3 and click in darkfall.
This does not work in fullscreen!!!!
Key bindings. Change as needed or use my setup.
3 staff
4 mana missile
5 heal
0 rest
p needs to be binded in game to down arrow
#Include <Misc>
; Detect windows by class name
opt("winTitleMatchMode", 4)
; Set Coordinate mode to relative to window
AutoItSetOption ( "PixelCoordMode", 2 )
AutoItSetOption ( "MouseCoordMode", 2 )
AutoItSetOption ( "SendKeyDownDelay", 50 )
global $Window = winGetHandle("classname=SFMainWindow")
If @error Then
MsgBox(4096, "Error", "Could not find the correct window WinActivate($Window); ")
endif
sleep(5000)
; Main Loop
While WinExists($Window)
Send("{p down}")
sleep(5000)
Send("{p up}")
sleep(1000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
Send ( "5" )
MouseClick("left")
sleep (10000)
Send ( "4" )
sleep (1000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
Send ( "5" )
MouseClick("left")
sleep (10000)
Send ( "r" )
sleep (1000)
Send ( "0" )
sleep (1000)
MouseClick("left")
sleep (160000)
Send ( "w" )
sleep (5000)
Send ( "r" )
sleep (5000)
Send ( "4" )
sleep (1000)
Wend
You must have staff out and be able to cast mana missile before starting the script.
You need Autoit installed. Then just copy the code here to a txt file and name it darkfallscript.au3. Then just double click darkfallscript.au3 and click in darkfall.
This does not work in fullscreen!!!!
Key bindings. Change as needed or use my setup.
3 staff
4 mana missile
5 heal
0 rest
p needs to be binded in game to down arrow
#Include <Misc>
; Detect windows by class name
opt("winTitleMatchMode", 4)
; Set Coordinate mode to relative to window
AutoItSetOption ( "PixelCoordMode", 2 )
AutoItSetOption ( "MouseCoordMode", 2 )
AutoItSetOption ( "SendKeyDownDelay", 50 )
global $Window = winGetHandle("classname=SFMainWindow")
If @error Then
MsgBox(4096, "Error", "Could not find the correct window WinActivate($Window); ")
endif
sleep(5000)
; Main Loop
While WinExists($Window)
Send("{p down}")
sleep(5000)
Send("{p up}")
sleep(1000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
Send ( "5" )
MouseClick("left")
sleep (10000)
Send ( "4" )
sleep (1000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
MouseClick("left")
sleep (5000)
Send ( "5" )
MouseClick("left")
sleep (10000)
Send ( "r" )
sleep (1000)
Send ( "0" )
sleep (1000)
MouseClick("left")
sleep (160000)
Send ( "w" )
sleep (5000)
Send ( "r" )
sleep (5000)
Send ( "4" )
sleep (1000)
Wend