Bow/Ranges/Mage

03/10/2005 11:02 Lowfyr#1
Open up ACTool and paste in the macro below

Code:
Constants 
attackKey = 2 // set this to whatever your Ranged key is. 
Sne = 8 // select nearest enemy Key 
sitKey = x 
closeKey = 
deselectKey = 
stopkey = 
/////////////////1032 X 802//////////////////////// 
//Edit to your own Window Dimensions // 
//With AutoIt Windowspy // 
//AC Tool BOW_MAGE_RANGED Macro Version: 1.00 // 
//For World of Warcraft // 
//FEEL FREE TO MODIFY OR PASS OUT.. // 
//If you make improvements on this... or have // 
// other macros to share, // 
//send them to me at [email][Only registered and activated users can see links. Click Here To Register...][/email] // 
//I take no responsibility for this information. // 
//Its for testing purposes only! In Other Words, // 
// If you get banned dont come crying to me. // 

myHealthX = 207 //Set this to closest pixel of YOUR lifebar to the Right. 
myHealthY = 82 
myHealthXlow = 144//Set this to the middle area of YOUR lifebar. 
myHealthYlow = 82 
targetHealthX = 262 // Set this to your Targets life all the way on the left side of the bar. 
targetHealthY = 82 
targetHealthXfull = 373 // set this to your Targets life bar all the way to the right side of the bar. 
targetHealthyfull = 82 

OutOfRangeCounter = 0 
mode = 1 // -1 = paused 
// 0 = attacking 
// 1 = waiting for target 
// 2 = resting 


End 

// This line is necessary to select the proper window 
SetActiveWindow World of Warcraft 

// 
// 
// 
// Main Loop 
// 
While 1=1 
If {ActiveWindow} <> World of Warcraft 
Delay 5 sec 
Set mode = -1 
Continue 
End 
if $mode = 1 
Delay 500 
Keys 8 //select nearest enemy KEY 
Delay 500 
end 
// We have an enemy targetted and it isn't dead 
IsGreen $targetHealthX, $targetHealthY //Enemy targeted 
Keys $attackKey //attack 
Isred 385,155 
delay 100 
keydown d 100 
set $mode = 0 
end 

Else 
end 
IsGreen $targetHealthXfull, $targetHealthYfull // checks to see if target was hit 
keys $stopkey // stops actions 
keys $deselectKey // if target is out of range we deselect it 
set $mode = 1 // change mode to 1 for waiting on new target 
end 

// Loot It: Works Sometimes Needs Improvements 
Else 
delay 500 
If $mode = 0 
MousePos 640, 695 
rightclick 
delay 600 
MousePos 532, 417 
rightclick 
delay 600 
MousePos 561, 422 
rightclick 
delay 600 
MousePos 46, 232 
leftclick 
delay 700 
MousePos 45, 275 
leftclick 
delay 700 
MousePos 47, 310 
leftclick 
delay 700 
MousePos 205, 158 
leftclick 
delay 1000 
set mode = 1 // sets mode into Looking for next enemy 
end 
end
03/10/2005 13:25 Lineage#2
so wie ich das da den "//" comments entnommen habe geht das ding hin und wählt das nächste ziel aus und attecked es, wenn es out of range ist, wirds deselectet?!

irgendwie nicht gut für nen bogi
1.für die "nearest enemy" funktion muss man viel zu nah drann stehen.
2. es geht nicht in den nahkampf

also was bringt dieses Macro/Bot?!