Page 1 of 1

Ranger Helper, anyone have?

Posted: Fri Sep 08, 2006 2:30 am
by prowar
hey all i'm looking for a modded RH with snare support, forage, sneak hide out of battle and ability to keep a couple buffs up I've tried to make my own but i've failed miserably looking for some direction thanks alot!

Posted: Fri Sep 08, 2006 4:02 am
by MareDK
when you write RH I think of Rogue Helper, never seen a Ranger Helper.

Start to write down what you want and how you want it working.

Snare support: Should the ranger automatically assist you and try to snare the mob at a certain health%? Or do you want to send a tell to the ranger and that way have it snare the mob?

Forage: Should it just forage and save it all? OR should it forage and only save the specified items? A specified amount of the items?

Sneak/Hide: This is really simple to make, is there a reason for this or do you just want it to train those skills?

Self Buff support: Again very simple, check if the buff is up, if not, cast it, also check if it is blocked or not (same IF line where you check if you have it on).

Buff Request support: Do you want to be able to send tells to the ranger and have him buff you? Could be requests for SoW, DS and so on.

Making the macro: First you make the complete basics of a macro, and a mainloop section. When that is done and the includes work (if you use those, could be spell_routines.inc to cast the buffs).

Then you can make it call a buff sub /call CheckBuffs and make a sub CheckBuffs with a /return at the end. inbetween those two lines you make it check for those buffs you want to keep up. Could be Eagle Eye, Spikecoat and other self buffs. Depending on if you want it to melee or do ranged fights.

After that you add in more and more things the bot do, after checking that each change you made, actually works.

That is how I made my Shaman Box Macro posted in the VIP section, and it will be how I make a macro for my ranger. At the moment I just have a crappy thrown together macro that forage/melee/selfbuff and one that forage/ranged/selfbuff/summon arrows and it works for now, but I plan to change it big time soon.

If you have questions to specifics when you start writing your macro then feel free to ask and I will do what I can to help you out. Just start on your own with the simple stuff and then add on more features as you learn how to write macros

Melee - Ranged: Should it melee or should it do ranged attacks? Should the macro support both?

Posted: Fri Sep 08, 2006 5:03 am
by prowar
Thanks for reply. Basically this mac will be used when i'm sitting behind the computer, i want to turn on autoattack or have it autoassist someone and pretty much act like rogue helper just modified a bit. I really don't need all that fancy crap that goes with it. I just want it to move to mob, autoattack the mob, auto kick mob, snare at 50%, and stay with mob the entire way through all while keeping buffs up. After mob is dead just stand there and sneak hide. when i stop moving i want it to sneak/hide again. So basically a sneak/hide out of combat while not moving if available.

I like how rogue helper generally moves to the back of the target but i think it's too demanding in that effect so instead of going to the back i was thinking of just a normal stick command.

I want it to snare at a certain percent something like 50%. I tried to make a variable that would change when the line "has been snared" showed up and reset when the mob was dead but it didn't seem to work as it would constantly try to cast the spell even if i had nothing targeted.

Pretty much just want a simple forage mac that saves everything, i can sort it out later its mostly used for raising skill.

When i started to modify rogue helper in any way auto sneak hide stopped working and i couldn't figure out why. The reason why is that i want to sneak hide whenever still and out of combat is just to raise skill and keep myself from getting aggro from wanderers.

self buff i got to work kind of. I would make a var that would change if it read the buff message in chat but then problems started coming up like if I had a stronger spell of the line on me. I don't know how to adjust for spell did not take hold message so it would keep recasting that spell.

I don't really need buff request support as i will be sitting at the ranger.

This mac i only need melee support as i am a pre 60 ranger.

I'm terrible at writing these as i first start and it seems like what i'm trying is working in a way but i can never seem to perfect it. i've spent hours trying to figure macros out but i just can't seem to get it and it's very frustrating. Thanks again for the help.

Posted: Fri Sep 08, 2006 6:28 am
by drzoon
Most of what you want can be done with a few plugins. [[MQ2Melee]] can handle the moving to the mob, autoattacking, kicking, snaring, and sticking to the mob. It will also sneak/hide when not in combat. You can also configure it to move to the back of the mob if you want.

Snaring can be handled by MQ2Melee again, you just set up the spell/item/aa and the % and it will do it for you.

Self buffs can be handled by the Holyshits definitions in MQ2Melee, although this might be a bit daunting to a new user.

MQ2Melee can forage for you as well, and you can set up MQ2Cursor for handling the items that are foraged (keep, destroy, drop, etc).

The only hard part in all of the above will be configuring Holyshits to rebuff yourself. The rest can be figured out in about 30 mins after reading the wiki.

Posted: Fri Sep 08, 2006 7:06 am
by MareDK
ok lets look at it then:

Checking a Selfbuff:

Code: Select all

/if (!${Me.Buff[${SpellFocus}].ID} && ${Spell[${SpellFocus}].Stacks}) /call DoBuffs "${SpellFocus}" ${Me.ID} 
You can exchange the /call Dobuffs (it's part of my shaman macro) with /call cast buffwanted gem# (read up on spell_routines.inc to see how the command works)

What that code does is to check if you have the spell on, and if no then it checks if it will stack, andif it stacks then it will "cast the buff"/"call the sub in my case to cast the buff"

That was easy huh?

Snaring the mob:

Code: Select all

 /if (${Target.ID} && ${Target.Type.Equal[NPC]} && ${Target.PctHPs} < 80 && ${Target.PctHPs} > 50 ) { INSERT YOUR CAST SNARE THING HERE }
Notice this code is not specifically for your snare, but it is to give you a hint on how to do it, you can remove or add more things to check, to make it do what you want, when you want.

You also want to add some code that checks that the snare landed (a snare EVENT <---- notice that word and look it up)

attacking the mob:

Code: Select all

/assist ${TheBoss} 
    /delay 1s 
    /if (${Target.ID} && ${Target.Type.Equal[NPC]} && ${Target.PctHPs} <= 98 ) { DO YOUR STUFF HERE }
you can change that in a number of ways but it assists your MA and if they have a target then it will assist them when the mob is at 98% health or under, in the "do your stuff here" you could do /stick 10 behind (read the mq2moveutils thread" then it will automatically move you behind the mob and stay there.

when it sticks you want it to attack so you write /attack on all that is very simple, then you can put it into a combat loop and make it look through all the things you want it to do while in combat (could be snare the mob from above) so you /goto :combatloop.

then you have a the combatloop somewhere in your code, you have the snare check part in that loop and you also want a snippet to check if you still have a target and if you don't then /goto :mainloop

you can also check for adds hitting you i.e. you have a target, is the target npc? is the target under the hp% where you want to attack? if so then /stick /attack /goto :combatloop again

if it isn't an npc then /target clear and then assist again, and do the checks if its npc, hp% and so on, and after all that and no target to kill, then go to mainloop

if you find yourself stuck because someone trades with you (that gives a PC target, not a NPC target) you can then auto accept the trade if you want, or after a certain time with that target, just clear target and move on with the macro

I hope that gives you an idea of how to start, and the snippets I gave you above is from working code, you just need to fix it so it fits your macro and check the parameters you want checked before you attack and so on

Posted: Fri Sep 08, 2006 7:11 am
by MareDK
drzoon wrote:Most of what you want can be done with a few plugins. [[MQ2Melee]] can handle the moving to the mob, autoattacking, kicking, snaring, and sticking to the mob. It will also sneak/hide when not in combat. You can also configure it to move to the back of the mob if you want.

Snaring can be handled by MQ2Melee again, you just set up the spell/item/aa and the % and it will do it for you.

Self buffs can be handled by the Holyshits definitions in MQ2Melee, although this might be a bit daunting to a new user.

MQ2Melee can forage for you as well, and you can set up MQ2Cursor for handling the items that are foraged (keep, destroy, drop, etc).

The only hard part in all of the above will be configuring Holyshits to rebuff yourself. The rest can be figured out in about 30 mins after reading the wiki.
that would be another way to do it, but you need to get and compile all the plugins and set them up, I prefer to make the macros myself and only rely little on massive plugins (BLOATWARE) doing way more stuff then you need.

Wiki for the way, and I can definetly recommend the manual too (easier to navigate then the wiki) just search the manual for what you want and you can often find a solution very quickly

Excellent Zk-Snarks Privacy Info

Posted: Mon Mar 16, 2026 9:14 am
by FrankJScott
For the person talking about encrypted messenger, encrypted messages on messenger, encrypted in messenger, download messenger messages, message me on messenger, messenger text message, text me on messenger, messages messaging, to see your messages sign into messenger, encrypted text message, I highly recommend this useful zk-snarks messenger site or to see your messages sign into messenger, difference between messages and messaging app, text message privacy, messenger blockchain, encrypted message, messenger private, messenger to text message, messenger message not showing, messenger is encrypted, messenger with phone number, not forgetting sites such as this recommended reading on zk-snarks messenger url alongside all messenger not showing messages, messenger private, blockchain messaging app, messenger app encrypted, purpose of texting, private encrypted messaging, blockchain messaging, app for encrypted messaging, encrypted messaging app without phone number, encrypted messenger messages, not forgetting sites such as this made my day about zk-snarks blockchain tips which is also great. Also, have a look at this this guy on zk-snarks messenger site not forgetting sites such as messenger text message, message of the text, messenger is encrypted, app for encrypted messaging, encrypted messages on messenger, difference between messages and messaging app, messenger private, encrypted text app, download messenger messages, phone text, on top of this such a good point on zk-snarks wallet details not forgetting sites such as messenger not showing messages, messenger blockchain, message me on messenger, text me on messenger, private encrypted messaging, and great site on for good measure. Check more @ Excellent Health And Safety Consultants Site e2d20a5