I have been getting tired of manually farming, to save myself from the
corporal syndrome I wrote this macro. My tune is a lvl 21 DE hunter with a pet.
Feel free to do what u like with this macro. I run it at 1024x768 windowed, with
my screen res at 1152x864. What it does is when u target a mob it sends the pet
out to attack then starts a ranged attack procedure. NOTE: this is not an
unatended macro u must manualy target the mob. Requires windows XP & ACTool .
SetActiveWindow World of Warcraft
delay 3000
Constants
// this one is so we attack while npc is stil alive
target = 0
// this one is so we only use special commands 1x
special = 1
// delay 1
d1=500
// delay 2
d2=1500
// delay 3
d3=2000
// delay 3
d4=8000
// mob ham bar
hamx = 263
hamy = 79
End
procedure tg // sets constants to call attack and special procedures
loadrgb $hamx, $hamy
if {rgbgreen} = 158
setconst target = 1 // if npc detected set target = 1
else
setconst target = 0 // reset constant if no npc detected
setconst special = 1 // reset constant if no npc detected
end
end
procedure special // pet attacks & follow
if $special = 1
keydown ^1 100 // pet attack key
delay $d1
keydown 1 100 // cast hunters mark
delay 5 sec
setconst special = 0 // set special = 0 so we do not use special more than 1x
per npc
end
call atk // attack procedure call
end
procedure atk // attack, repeat this untill target = 0
if $target = 1
keydown 2 100 // attack keypress concussive shot
delay $d3
keydown 5 100 // attack keypress serpent sting
delay $d3
keydown 3 100 // attack keypress arcane shot
delay $d4
end
end
while 1=1
call tg // check for active target
if $target = 1 // if target found
call special
else // if no target found
delay $d1
end
end
  |