Code:
; Author: Hastur
; Version: 1.1
; Script: All in One Multi-tool
; Code Snippets from Keraam , thanks m8
; v1.1 Optimized casting added sprint and crouch + new layout.
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Gui, +AlwaysOnTop +Border +ToolWindow +LastFound
Gui, Add, Text, x1 y10 w240 h30 , The below editboxes are for Harvest and Casting.
Gui, Add, Text, x12 y40 w110 h20 , Hotkey for rest:
Gui, Add, Text, x12 y70 w110 h20 , Hotkey for selfheal:
Gui, Add, Text, x12 y100 w130 h20 , Hotkey for ManaMissiles:
Gui, Add, Edit, x162 y40 w50 h20 vRest, 5
Gui, Add, Edit, x162 y70 w50 h20 vSelfheal, 6
Gui, Add, Edit, x162 y100 w50 h20 vManaMissile, 7
Gui, Add, Text, x12 y130 w130 h20 , Number of Missiles to cast:
Gui, Add, Edit, x162 y130 w50 h20 vManaMissileNum, 16
Gui, Add, Text, x12 y160 w110 h20 , Rest Time:
Gui, Add, Edit, x162 y160 w60 h20 vRestTime, 155000
Gui, Add, Button, x12 y200 w100 h30 , Harvest
Gui, Add, Button, x122 y200 w100 h30 , MMissile/Healself
Gui, Add, Text, x12 y250 w220 h20 , ****************************************************
Gui, Add, Button, x12 y300 w100 h30 , Smelt/Wood
Gui, Add, Button, x122 y300 w100 h30 , Arrows/Craft
Gui, Add, Text, x52 y270 w120 h20 , Crafting (11sec | 21sec)
Gui, Add, Text, x12 y350 w220 h20 , ****************************************************
Gui, Add, Text, x32 y370 w150 h20 , Sprint/Crouch (face a corner)
Gui, Add, Button, x62 y390 w100 h30 , RUN!
Gui, Add, Text, x12 y430 w220 h10 , ****************************************************
Gui, Add, Button, x32 y450 w160 h30 , CancleCurrent
Gui, Show, w240 h487, -=(Multi-tool by Hastur )=-
Return
GuiClose:
ExitApp
ButtonCancleCurrent:
Reload
Return
ButtonHarvest:
Msgbox, Hey, make sure you have the harvest tool equiped and sheathed!
Gui, Submit, NoHide
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
Loop
{
Sleep, 2000
Send {r}
Sleep, 500
Send {Down down}
Sleep, 1500
Send {Down up}
Sleep, 500
Loop 48
{
Harvester()
}
Sleep, 1500
Rest()
Sleep, 5000
}
}
End::Pause
Delete::ExitApp
Harvester()
{
Sleep, 500
Click
Sleep, 11000
}
Return
ButtonMMissile/Healself:
Msgbox, Hey, make sure you have the staff equiped and sheathed!
Gui, submit, NoHide
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
Loop
{
Sleep, 2000
Send {R}
Sleep, 250
Send {Down down}
Sleep, 2500
Send {Down up}
Sleep, 500
HealSelf()
sleep, 2400
send %ManaMissile%
Loop %ManaMissileNum%
{
sleep, 250
Click
Sleep, 2000
}
Sleep, 500
HealSelf()
Sleep, 2500
Rest()
Sleep, 5000
}
}
HealSelf()
{
global SelfHeal
Sleep, 500
Send %SelfHeal%
Sleep, 500
Click
Sleep, 2400
}
Rest()
{
global rest
global restTime
Sleep, 2000
Send {r}
Sleep, 250
Send %rest%
Sleep, 250
Click
Sleep, %restTime%
Send {SPACE}
Sleep, 1000
}
Return
ButtonArrows/Craft:
Msgbox, Hey, place the cursor over the craftbutton!
Gui, submit, NoHide
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
Loop
{
Sleep, 500
Click
Sleep, 21000
}
}
Return
ButtonSmelt/Wood:
Msgbox, Hey, place the cursor over the craftbutton!
Gui, submit, NoHide
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
Loop
{
Sleep, 500
Click
Sleep, 11000
}
}
Return
ButtonRun!:
Msgbox, Hey, make sure you are facing a corner or you run far far away!
Gui, submit, NoHide
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
Loop
{
Send {F down}
Sleep, 1500
Send {ShiftDown}
Sleep 120000
Send {ShiftUp}
sleep, 250
send {C down}
Sleep 120000
send {C up}
sleep, 250
}
}
Return






