Locked Home » Forums » Legacy & Archived » Archived Content » Darkfall Online » DFO - Bots / Macros / Hacks

Darkfall Casting and Gathering Macros : DFO - Bots / Macros / Hacks

Posted: March 2nd, 2009
Total Posts:22 Joined:2008
Not sure if this is already posted or not.

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
End
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.

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
Posted: March 2nd, 2009
User avatar
Total Posts:732 Joined:2007
/yay for points for finding the site
Posted: March 3rd, 2009
User avatar
administrator
Total Posts:29891 Joined:2002
Yea 200 points granted and moving to confirmed.
Posted: March 9th, 2009
Total Posts:1 Joined:2009
can someone gemmi a little tutorial on how to setup AUTOHOTKEY? i feel stupid but can't get it to work
Posted: March 10th, 2009
User avatar
administrator
Total Posts:29891 Joined:2002
im sure the website has a good guide for ya :)
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 2 guests
Locked