Looking for a ranger macro...(auto arrow/assist MT)

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Looking for a ranger macro...(auto arrow/assist MT)

Post by sunsnake » Tue Mar 02, 2004 4:00 pm

i was wondering if anyone had a good macro out there i couldnt find a macro to work for my ranger (lvl 57) has no AA's yet so i dont need any AA's implimented into it just a simple assist MT and auto fire arrows maybe throw in an odd forage or somthing...

=)

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Tue Mar 02, 2004 8:56 pm

use search dont be so lazy

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 8:59 pm

i looked for hours and i cant find a good macro that will work with a 59 ranger.. with just a simple range attack..

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 10:18 pm

thx so much man ive been looking for one of these forever and ive been (refreashing my dam web browesr every 10 minutes waiting lol thx so much :D

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Mar 02, 2004 10:20 pm

ill be nice since the old ranger macros have sorta dissapeared, or at least are farther down than i wanted to search for :P not sur eif it works anymore, but here ya go...

Code: Select all

|**
	Rangah.mac
	theafkxper
	11/13/03
	
	The other one crashed so i made my own.
	If your a momo dont use this, as it dosent have all the invis checks and whatnot.
	
	Usage: /mac Rangah <TankName>
	
	
**|


|Events
#Event Resist "Your spell fizzles!"
#Event Resist "Your target resisted"
#Event MoveFaded "The avian spirit departs."
#Event MoveFaded "You return to your true form."
#Event MoveFaded "The spirit of wolf leaves you."
#Event MoveFaded "The spirit of the shrew leaves you."
#Event MoveFaded "You are no longer a wolf."
#Event EyeFaded "The avian presence departs."


#turbo 400

Sub Main

	/echo Bow to me, or give me leet plat macros!1!!
	|/say wuwu I roxor!
	/if $defined(Param0)==FALSE { 
	   /echo Usage: /macro rangah <TankName>
	   /endmacro 
    } 
	|Declarations
	/declare EngageRange global
	/declare TankName global
	/declare ArcheryKey global
	/declare EngagePct global
	/declare SnarePct global
	/declare SnareSpell global
	/declare EyeSpell global
	/declare LastCast global
	/declare MovementSpell global
	
	|Defines
	/varset TankName @Param0 
	/varset ArcheryKey Num_6 					|Mod this to suit your Archery Button
	/varset EngageRange 300  					|Mod this to set the range at which you engage the Mob
	/varset EngagePct 97     					|Mod this to set the percentage of life the mob should have when you begin your attack.
	/varset SnareSpell "Ensnare"				|Mod this to set the spell you wish to use to snare
	/varset SnarePct -1							|Mod this to set the percentage at which you wish to snare
	/varset EyeSpell "Eagle Eye" 				|Mod this to set which Archery Improving spell youd like to use
	/varset MovementSpell "Greater Wolf Form"	|Mod this to specify a Movement increaseing spell
	/varset LastCast NULL
	
	
	
	
	|Main Loop
	:MainLoop
		/call Kill
		/delay 1
		/goto :MainLoop
	/endmacro
	

Sub Kill
	/assist @TankName
	/if "$combat"~~"TRUE" /attack off
	/if "$target(type)"=="NPC" {
		/if n "$target(hp,pct)"<="@EngagePct" {
			/if n "$target(distance)"<="@EngageRange" {
				/goto :KillLoop
			}
		}
	}
	/return
		
	:KillLoop
		/face
		/doevents
		/if "$target(type)"=="NPC" {
			/if n "$target(hp,pct)"<="@EngagePct" {
				/if n "$target(distance)"<="@EngageRange" {
					/press @ArcheryKey
					/if n "$target(hp,pct)"<="@SnarePct" {
						/if "@MobSnared"!="TRUE" {
							/varset LastCast @SnareSpell
							/cast @SnareSpell
						}
					}
					/goto :KillLoop
				}
				/return
			}
			/return
		}
		/return
		
Sub Event_Resist
	/cast @LastCast
	/varset LastCast @LastCast
/return
		
Sub Event_MoveFaded
	/target id $char(id)
	/cast @MovementSpell
	/varset LastCast @MovementSpell
/return

Sub Event_EyeFaded
	/target id $char(id)
	/cast @EyeSpell
	/varset LastCast @EyeSpell
/return

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Mar 02, 2004 10:34 pm

np at all, if it dosent work lemme know, ill need to fix it anyway if i start my ranger back up...

/afk

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 10:42 pm

just a few things need to be done cant talk at all when macro is going i get hella spammed with 66666666 lol and it would be cool to impliment that XP %age thing and also 1 last thing is just that it doesnt back up if u are too close other then that it kicks ass...

kicks ass without those makes a rangers life 100x easyer thanks

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Mar 02, 2004 10:44 pm

turn off numlock to fix the 666666 problem, ill see about the rest when im done with this raid, lol
/afk

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 11:05 pm

lol awsome cool thx man

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Mar 02, 2004 11:16 pm


sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 11:17 pm

actully no i never seen that one ill try it out

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Tue Mar 02, 2004 11:32 pm

i ran into a problem with that macro it keeps going /end once the mob died therfore i gotta always reset the macro.

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Wed Mar 03, 2004 2:11 am

Just posted the auto archery macro I been using. It ends after each exp gain. To stop that simply find the Event_EXP and either put a | infront of /endmacro or remove endmacro.

You can find it here. http://macroquest2.com/phpBB2/viewtopic.php?t=5579

This is based off of an older mac found here and has just been tweaked to work more reliably for me. The only buffs it keeps are self buffs.