Page 1 of 1

Melee Macro 2

Posted: January 17th, 2004, 12:14 pm
by Tault_admin
This macro requires ACTool to use.

Code: Register to unlock hidden link

// Basic melee macro 
// 
// Author: Ingeloak  
// 
// This macro is good for starting out a new character.   
// It will repeatedly do three tasks: 
// 1. Fight a monster 
// 2. Loot the monster 
// 3. Rest 
// 
// Note: The macro assumes your character is standing and NOT in  
//     fighting mode when starting. 
//       
//      The macro also assumes you have: 
//     "a" selected as your "select next monster" hotkey, 
//    "c" selected as your "combat mode" hotkey,  
//    "f" selected as your "default action" hotkey,  
//      "z" selected as your "stand/sit" hotkey, and 
//  1024x768 as your display mode for the mouse coordinates  
//     (It may still work with different resolutions...). 
//      
 
// ENTRY POINT ******************************** 
SetActiveWindow Shadowbane  
Delay 1000  
 
Loop 10000  // Fight, loot, and rest 10,000 times 
 Call Fight 
 Call Loot 
 Call Rest 
End 
// TERMINATION POINT *************************** 
 
Procedure Fight 
 // Find a monster and fight it for 50 seconds 
 Keys t 
 Delay 100 
 Keys c 
 Delay 100 
 Keys a 
 Delay 50000 
End 
 
Procedure Loot  
 // loot monster 
 Keys o 
 Delay 2000 
  
 // Grab gold 
 MousePos 230, 240 
 LeftClick 
 Delay 500 
 LeftClick
 Delay 500 
 LeftClick
 Delay 500
 
 // Close window 
 MousePos 448, 206 
 LeftClick 
 Delay 100 
End 
 
Procedure Rest 
 // Sit and rest for 15 seconds 
 Keys z 
 Delay 20000 
 Keys z 
 Delay 1000 
End 

Posted: January 19th, 2004, 11:35 am
by tault_hedg70
This macro dose work with other resolutions, including 1280x1024