Save the following code as a .mac file.
Code:
// Very Simple Gathering script written by TeabagGus
// 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
// This version will equip your weapon first and then your pickaxe incase your pickaxe breaks
//HOTBAR///
//Slot 1 = Weapon
//Slot 8 = Harvesting Tool
//Slot 9 = Rest
// This line is necessary to select the proper window
SetActiveWindow Darkfall Online
Constants
Weapon=1
Tool=8
Rest=9
MouseDelay=11000
RestDelay=150000
End
////////////////////////////////////////
Procedure EquipWeapon
Delay 1 sec
Keys $Weapon //Equips Weapon first
Delay 1 sec
Keys $Tool //Equips Harvsting Tool
Delay 1 sec
// Comment out this next line if you don't want to look down.
Keydown {DOWN} 1 sec
Keys R //Combat Mode
Delay 2 sec
End
////////////////////////////////////////
Procedure Harvest
Loop 50
LEFTCLICK
Delay $MouseDelay
End
End
/////////////////////////////////////////
Procedure Rest
Delay 1 sec
Keys R
Delay 2 sec
Keys $Rest
Delay 2 sec
LEFTCLICK
Delay $RestDelay
Keys W
Delay 2 sec
End
//Start Macro
Loop 2
Call EquipWeapon
Call Harvest
Call Rest
End