• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Ranger Macro

clrplr

New member
Joined
Jul 2, 2005
RedCents
I made this macro today, I tested it out and it seemed to work for me, if you have any problems, I can try to help. This is my first macro btw :D

I have keypress 5 set as my bow on my ranger, so it shoots my bow. I tried to figure out how to make it root before shooting and snaring but I couldn't so if you could help me find out how to do that, I'd appreciate it :) I'll also fix the macro when I find out how to add root/snare to it.

EDIT: Fixed macro, should work for everyone now :)

Rich (BB code):
| For Redguides
| Have fun and don't get caught!
#turbo
#Event Zoned "#*#You have entered#*#"


Sub Main


:loopstart
/doevents
/call GMcheck
/if (${Target.Level}>50) /tar npc next
/if (${Target.Distance}>200) /keypress esc
/if (${Target.ID}==FALSE) /tar NPC radius 200
/if (${Target.ID}==TRUE) /range
/delay 10  
/goto :loopstart  
/return

 Sub GMcheck  
 /if (${Spawn[gm].ID}) {  
 /echo Gm detected  
 /beep 
 /beep 
 /beep  
 /endmac 
 /unload 
 /q  
 }  
 /return  
  
 Sub event_camp  
 /sit  
 /camp desk  
 /return  
  
 sub event_zoned  
 /delay 5s  
 /sit  
 /camp desk  
 /endmac 
 /return

You can also change the level if you're a higher lvl which would be in this line:
Rich (BB code):
/if (${Target.Level}>50) /tar npc next
 
Last edited:
or you could use /autoarchery. it keeps shooting until the target is either dead, you type /autoarchery, or you die. its an everquest function they added for ranged attacks.
 
yeah, i forgot about range when makin the macro lol, fixing it now :)
 
"Join Elemental Rebirth on the Antonious(Kane) Bayle Server for a fun guild with plenty of people! Send tell to Dremora or Kiddlesnbites"

I'd pull this off your sig...never know who trolls these boards..
 
Yea i made a similar one to this but i added a couple lines.

it was basically this:

/assist (main assist)
/if target is npc autofire (i believe it was autofire, not autoarchery...maybe i remember wrong)
/face
/if target distance > (bow range) run forward
/if target distance < (50 measures less than bow range) stop running
return to main loop


I'm not good enough to make a long involved code like the ones off macroquest2.com. It was simple and worked great. I made it because i had a 45ish ranger that i really didn't want to level up and my friend had a 60 necro that was always at NC in that first valley area. I joined and my ranger would just follow his mob around and bow it while he kited it around. So i could just leave him be and come back 45 mins later and the ranger is still following the necro's mobs and running around like someone is doing it. Also, the code is so short that its cool how fast he tracks the target, its like he's always directly facing the mob. I found that it was better to have the assist key assisting the necro pet, instead of the necro because then when he sicked his pet on the mob he was really sicking two pets...instead of having a dumb ranger shooting at a mob when he wasnt ready. Also, that let him pull to wherever he wanted his two pets sitting. If you need me to dig up what i made i can...but it's nothing special.

-Doc
 
my gimp ranger macro
Rich (BB code):
#event exp "party experience"


sub main

/declare maintank string outer ${Target.CleanName}
/declare exp int outer 0
:Start
/varset exp 0
/if (${Me.Standing}) /sit
/assist ${maintank}
/delay 10
/if (!${Target.ID} || ${Target.Type.Equal[Corpse]}) {
/goto :Start
}
/if (${Target.ID} && ${Target.Type.Equal[NPC]}) {
/face fast
/call range
}
/goto :Start
/return

sub range
/delay 2s
:range
/if (${Me.Sitting}) /stand 
/if (${Me.RangedReady} && ${Target.Type.Equal[NPC]}) /range
/doevents
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]}) /return
/goto :range
/return

sub event_exp
/if (${Me.Standing}) /sit
/varset exp 1
/return
 
It may just be me, I'm not too good with these macros, but in this line:
Rich (BB code):
/if (!${Target.ID} || ${Target.Type.Equal[Corpse]}) {
is the exclaimation mark supposed to be there?
 
I am not very good at doing macros but I think it is good.

Basically I think it says "IF (No Target) or (Target is corpse) go back to :Start"
 
zippy3327 said:
or you could use /autoarchery. it keeps shooting until the target is either dead, you type /autoarchery, or you die. its an everquest function they added for ranged attacks.

It's actually /autofire
 
clrplr said:
It may just be me, I'm not too good with these macros, but in this line:
Rich (BB code):
/if (!${Target.ID} || ${Target.Type.Equal[Corpse]}) {
is the exclaimation mark supposed to be there?
yes, its saying if you don't have a target.id or the target type is a corpse... do the following
 
I'll see if I can find my ranger macro from back in the ghosting days when I had an 18 man ranger crew (15 rangers and 3 bards)... It uses MQ2EQBC if I remember right, but basically what it did was kept all ranger buffs up and assited the main ranger. I'll dig through my old code and find it.
 
The exclamation point (!) in that code means NOT. It is a opperand that just check if the satement is not true. The symbols || mean OR which if either satatement is true on either side of the marks will make the whole if statement true.

There is all the symbols && which is used the same as OR command but it means AND which checks to see that both statements before and after them are true if one is false the whole statement is false.

If you really want to know more about those google Boolean math gates.
 
I am in the basement doing some work at the moment but when I am done will go upstairs and write a nice one for you with snaring and everything I need one myself anyway.
 
Holy hell I need to remember to drink my coffee anyone who just tried this macro I am sorry plz kill me later. Reworking it now.
 
Ranger Macro

Users who are viewing this thread

Back
Top
Cart