ARCH.Mac v2.4 [All Purpose Ranger Mac] (Updated: 10-27-04)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Mon Oct 04, 2004 2:22 pm

was thinking about an autonuke actually.. How many nukes per mob would you want to cast?

Was curious what people think about patchhealer.. I know that I've saved a tank or two from near death with the patch heal percent set at 20%, but was now also thinking about casters and adding a seperate heal percent for them. What do you think?

and assistpercent works great for me.. Mind you I always arch, and rarely melee, so i dont know how well it works in a melee environment..
LOADING PLEASE WAIT...

Bombadil
a lesser mummy
a lesser mummy
Posts: 67
Joined: Wed Mar 24, 2004 11:04 pm

Post by Bombadil » Mon Oct 04, 2004 5:53 pm

Something to think about. If in combat, dont rebuff.

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Mon Oct 04, 2004 6:26 pm

Bombadil wrote:Something to think about. If in combat, dont rebuff.
Check the latest version. You should see that the lazy ranger call thats within the combat subs is commented out..

Hence, it shouldnt be buffing during combat..

HOWEVER, I dont use the assist buffs and I believe those still do buff during combat..
LOADING PLEASE WAIT...

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Oct 04, 2004 6:28 pm

loadingpleasewait wrote:was thinking about an autonuke actually.. ..
What about an auto tell to the cleric in group for a rez?

:twisted:

-j

Fennecfox
orc pawn
orc pawn
Posts: 18
Joined: Wed Sep 29, 2004 4:23 am

Post by Fennecfox » Mon Oct 04, 2004 10:25 pm

Okey on the assistpercent issue this is my problem.

Didn't check melee, but while arch is being used, and settankname set, as well as autoassist set to a certain percent it seems to just automatically start firing. I will test it a bit more tonight to find out exactly where the issues are.

Also the macro breaking with an error on close combat and enrage like I told you I got the error codes for it, I will post them once I am done raiding.

As for nukes with the way the new times are set on them I would imagine one fire one ice nuke per fight. If you choose to nuke at all. Say a nuke at 75% and one at 25%? dunno just ideas.

Fennecfox
orc pawn
orc pawn
Posts: 18
Joined: Wed Sep 29, 2004 4:23 am

Post by Fennecfox » Mon Oct 04, 2004 10:55 pm

Dvoin M'sha has become ENRAGED.
[MQ2] Enrage detected! Target: Dvoin M'sha
/for loop using invalid variable
ranger.mac@505 (Check_Behind): /for i-1 to 1
ranger.mac@487 (closecombat): /call Check_Behind
ranger.mac@402 (Archery): /if (${Target.Distance}<${Target.MaxRangeTo}) /call closecombat
ranger.mac@307 (Main): /if (${Me.Combat} && ${Target.ID} && ${Target.CleanName.NotEqual[${Me.Name}]}) /call Archery
The current macro has ended.


While meleeing Dvoin at enrage.

phillychuck
decaying skeleton
decaying skeleton
Posts: 1
Joined: Tue Oct 05, 2004 11:17 am

Post by phillychuck » Tue Oct 05, 2004 11:24 am

I read thru the thread and didn't see this problem, I have all auto-stuff off except forage. Want to learn the macro using basic stuff, but whenever something dies my toon tries to cast a spell? Slot 5 is whats its tring to cast.

status shows all the auto stuff set to false.

Any idea?

dman
a hill giant
a hill giant
Posts: 181
Joined: Fri Dec 05, 2003 12:54 pm

Post by dman » Tue Oct 05, 2004 12:31 pm

Fennec, near the top of the macro change

Code: Select all

   /declare i int local 
to

Code: Select all

   /declare i int outer
The reason for this is the checkbehind code is trying to use a local variable from another sub, changing it to outer shouldn't affect much as its used as a counter (unless check_behind gets called from within a loop using the same variable....but that would be bad anyways).
I didn't say you were at fault,
I said I was going to blame you.

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Tue Oct 05, 2004 4:12 pm

Dman is correct.. Thanks..

Change that, and enrage should work.

phillychuck:
Slot 5 would be Jolt.. Check to see if autojolt is on/off /setjolt
LOADING PLEASE WAIT...

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Tue Oct 05, 2004 8:21 pm

UPDATED:
Small tweaks and fixes... thanks for all your input..

October 5, 2004
Tweaked forage just a smidge, thanks fennecfox.
Enrage check should actually be working now, Thanks dman.
LOADING PLEASE WAIT...

Fennecfox
orc pawn
orc pawn
Posts: 18
Joined: Wed Sep 29, 2004 4:23 am

Post by Fennecfox » Tue Oct 05, 2004 9:30 pm

NP LPW =)
If dragons were real..
I'd fuck one.

eq_contracts
orc pawn
orc pawn
Posts: 23
Joined: Thu Sep 02, 2004 10:09 pm
Contact:

Heya

Post by eq_contracts » Sat Oct 09, 2004 3:15 pm

Alright this macro owns all, I've been tweaking and playing with it to suit my needs. However i'm having difficulty. The macro runs perfect and does everythign I could possibly want at this moment except one thing.


When it assists and triggers to attack I would like it to /stick 10 behind instead of just sticking to the mob the way it does.. I'm eatting a ton of reposits and was wondering if someone could give me a hand. I'm sure it's a very easy fix, i'm just having trouble finding the right spot to modify.

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Sat Oct 09, 2004 4:57 pm

Just add the word "behind" after /stick, like so:

Code: Select all

/if (${Target.Distance}>30 && ${Me.RangedReady} && !${noarch}) /ranged 
    /if (${noarch} && ${useMU} && ${stickonnoarch} && ${Stick.Status.Equal[OFF]}) { 
       /if (${Me.Swimming}) { 
         /squelch /stick 60% behind uw 
       } else { 
         /squelch /stick 60% behind
       } 
     }
then in the gothit event, add /stick 60% like so:

Code: Select all

sub event_GotHit
    /if (${autojolt} && ${Me.SpellReady[${joltspell}]}) {
      /popup Agro Detected, Casting Jolt!
      /call cast "${joltspell}" gem5 5s
}
    /if (${noarch} && ${useMU} && ${stickonnoarch} && ${Stick.MoveBehind}) { 
       /if (${Me.Swimming}) { 
         /squelch /stick 60% uw 
       } else { 
         /squelch /stick 60%
       } 
     }
/return
This will be included in the next version.. Basically, if you get hit while sticking behind, it will just do regular stick so you dont go dancing all over the mob trying to get behind a mob that you have the agro of.

:EDIT: after second thought, maybe wont add this.. some rangers believe they are good tanks, (I know I know) and would prefer to stick in front, if thats the case, this wouldnt work..

Also, considering using the MQ2Alias plugin instead of storing aliases in the macroquest.ini. you can find the plugin here http://www.macroquest2.com/phpBB2/viewt ... highlight= good Idea, or no? need input.
LOADING PLEASE WAIT...

eq_contracts
orc pawn
orc pawn
Posts: 23
Joined: Thu Sep 02, 2004 10:09 pm
Contact:

Well

Post by eq_contracts » Sat Oct 09, 2004 8:32 pm

Sounds good, everything working great for the application I had intended.. Thanks much for the assistance.

eq_contracts
orc pawn
orc pawn
Posts: 23
Joined: Thu Sep 02, 2004 10:09 pm
Contact:

Have a request

Post by eq_contracts » Tue Oct 12, 2004 9:33 pm

Ok one more request.. Woudl it be possible to add a Waypoint toggle.. and be able to set a waypoint to return to after combat is done. I'm doing great with the macro, but when i'm using melee I end up in pull path alot of the time.. woudl be awesome to set waypoints when combat is over..

If you can help I would greatly appreciate! I coudl rip code out of another macro, but i'd rather let a professional do it!