Darkfall Casting and Gathering Macros
Posted: March 2nd, 2009, 12:49 pm
Not sure if this is already posted or not.
Magic Casting Script
Using ACTool
Save the following code as a .mac file.
Gathering Script
Save the following code as a .mac file.
Edited to unequip/equip harvesting tool. This will allow you to have multiple tools in your inventory. This is a quick fix because I will be moving the macros to Autoit for Pixel and Coord tracking.
Magic Casting Script
Using ACTool
Save the following code as a .mac file.
Code: Register to unlock hidden link
// This is a simple casting script written by TeabagGus of http://www.!@#$%^*
// This macro will equip your staff, look down at the ground to damage you with the spell while casting
// It will then cast heal self once and rest.
// Change the Loop 20 in SpellCast procedure if you don't have that much mana or health (if looking down).
// Start with your staff equipped but sheathed
//HOTBAR///
//Slot 6 = Heal Self
//Slot 7 = Mana Missile or spell to be cast
//Slot 9 = Rest
// This line is necessary to select the proper window
SetActiveWindow Darkfall Online
Constants
MouseDelay=3000
RestDelay=180000
End
////////////////////////////////////////
Procedure EquipWeapon
Delay 2 sec
Keydown {DOWN} 2 sec // Comment this out if you don't want to look down and hit yourself
Keys R
Delay $MouseDelay
Keys 7
End
////////////////////////////////////////
Procedure SpellCast
Loop 20
LEFTCLICK
Delay $MouseDelay
End
Keys 6
Delay $MouseDelay
LeftClick
Delay 8 sec
End
/////////////////////////////////////////
Procedure Rest
Keys R
Delay 2 sec
Keys 9
Delay 2 sec
LEFTCLICK
Delay $RestDelay
Keys W
Delay 2 sec
End
//Start Macro
Loop 10000
Call EquipWeapon
Call SpellCast
Call Rest
EndSave the following code as a .mac file.
Edited to unequip/equip harvesting tool. This will allow you to have multiple tools in your inventory. This is a quick fix because I will be moving the macros to Autoit for Pixel and Coord tracking.
Code: Register to unlock hidden link
// Very Simple Gathering script written by TeabagGus of http://www.!@#$%^*
// This simple script will unsheath your harvesting tool and harvest 50 times, rest and then harvest 50 more times
// This should allow you to completely exhaust all the resources with failures.
// Feel free to change the Loop number in the Harvest procedure if your stamina can or can't handle that many attempts
// Start with your harvesting tool equipped but sheathed
//HOTBAR///
//Slot 8 = Harvesting Tool
//Slot 9 = Rest
// This line is necessary to select the proper window
SetActiveWindow Darkfall Online
Constants
MouseDelay=11000
RestDelay=180000
End
////////////////////////////////////////
Procedure EquipWeapon
Delay 1000
// Comment out this next line if you don't want to look down.
Keydown {DOWN} 2 sec
Keys R
Delay 2 sec
End
////////////////////////////////////////
Procedure Harvest
Loop 50
LEFTCLICK
Delay $MouseDelay
End
End
/////////////////////////////////////////
Procedure Rest
Delay 1 sec
Keys 8
Delay 1 sec
Keys R
Delay 2 sec
Keys 9
Delay 2 sec
LEFTCLICK
Delay $RestDelay
Keys W
Delay 2 sec
Keys 8
Delay 1 sec
End
//Start Macro
Loop 2
Call EquipWeapon
Call MouseClick
Call Rest
End