AFCleric.mac - Cleric automation macro (updated Aug 24th)

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

Moderator: MacroQuest Developers

Mystic_Blue
a lesser mummy
a lesser mummy
Posts: 69
Joined: Sat Jan 22, 2005 3:31 am

Post by Mystic_Blue » Sat Jan 22, 2005 5:37 pm

Doh!

that makes sense, ofcourse. In fact, now that you say it that way, I now understand many other posts.

My biggest mistake is trying to treat macros as plugins, I surmise, including compiling them.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Jan 22, 2005 7:52 pm

Noob's best friend.
Check that link out and book mark it, it will help you a lot.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jan 24, 2005 7:21 am

Just noticed a new registered user.... LOL

AFKCLERIC_GOT_ME_IN_TRouble

Geee, did someone use this inappropriately or fail to watch over it to keep it from doing things it should not do?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Wed Jan 26, 2005 9:21 am

Any AFK macro will. I wouldnt doubt someone could easily get themselves banned with this. Especially if they group with strangers and leave announce on, or if they say in group/guild/chat what commands to say to get the cleric to buff.
Whenever your grouped with others, I suggest /varset announce 0
or just set it to 0 in the macro. This way it would be a lot less obvious. All it takes is one person to /report you, then maybe have a gm walk up and tell your clr "buffme" If you instantly start buffing the GM, you get a ban LOL.
As for me, I havent put in paranoia stuff like GM checks, or constraints so it will only respond to chat request from specific individuals, or your group, or your guild. This could be easily added to the beginning of the chat section, like /if (!${Spawn[guild ${Sender}].ID}) /return
Put it right after the part about if no spawn[sender].id /return then it would only reply to people with your same guild tag.
Other than that type of thing, I'm not sure what would make afcleric any easier to get banned with than other macros. Been using it daily myself since the beginning, but I use it for my own fourbox team. =)

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Wed Jan 26, 2005 9:48 am

Just realized that I forgot to add the /declare interrupt2divarb int outer 12
This would have caused div arb to get fired anytime target got low enough health, even if CH was 0.1 sec away from landing.

OOPS!

Fixed on front page now, or you can just add this line if you have already customized the last version. Its the only thing that changed.

Code: Select all

   /declare interrupt2divarb int outer 12

jiggaman
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Jan 10, 2005 4:40 am

Post by jiggaman » Sun Jan 30, 2005 12:32 pm

Hi question, when someone sends a tell for BoD, it mems BoD and then single casts it on all group members, I replaces BoD with AOD but then it started casting group spell haste on all, how could I change it to just cast once?

desnts
RTFM, then ask again
Posts: 58
Joined: Wed Apr 30, 2003 4:40 pm

Post by desnts » Sun Jan 30, 2005 10:08 pm

can this macro auto buff the MT. like be on a timer with the buffs? set the timer so whatever the time is on the buffs and it just recasts when the buff is about to wear off

Mystic_Blue
a lesser mummy
a lesser mummy
Posts: 69
Joined: Sat Jan 22, 2005 3:31 am

Post by Mystic_Blue » Sun Jan 30, 2005 10:27 pm

You are gping to find that this community is not very nice to those who do not try to figure things out for themselves, first.

Being a noob myself, I still have some compassion.

So I will teach you a little bit about how to use these threads.


back on page one, the very first post where the code is listed, at the end of the code, the author states that the documentation is listed on page 17 of this thread.

specific answer? yes, it will automaticly Complete Heal the main tank any time the MT hp% drops to or below a defined level. the defualt is 60, but you can change it.

All details are laid out clearly in the doc post.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jan 31, 2005 6:40 am

No, it cannot autobuff. It requires commands through a chat channel.

Heals are automatic as pre-defined.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

desnts
RTFM, then ask again
Posts: 58
Joined: Wed Apr 30, 2003 4:40 pm

Post by desnts » Mon Jan 31, 2005 9:00 am

No, it cannot autobuff. It requires commands through a chat channel.
thanks challenged. i saw the part in the code about the different commands for different buffs. so now im trying to get the NBH macro to work on a timer to send the tell in so many min for the buff hehe.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jan 31, 2005 4:43 pm

So that's what you're up to, GL. You'll get there.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Thu Feb 10, 2005 5:56 pm

jiggaman this problem is talked about in the documentation (I think). </tell afclericname bor> if you want a single cast of the spell you identified in the declares section... if you put AoR, it will single AoR. But if you </tell afclericname bor now!> it will cast the identified spell on each person in the group. If you put in a group spell, this will be a little less than mana efficient... =)
Just use the right chat command, should work OK for ya~

desnts what my bots do is periodically check their buffs, for example:

Code: Select all

/if (!${Me.Buff[conviction].ID}) /tell afclericname v
/if (${Me.Buff[conviction].ID}) /if (${Me.Buff[conviction].Duration}<20) /tell afclericname v

nytemyst
a grimling bloodguard
a grimling bloodguard
Posts: 578
Joined: Mon Oct 25, 2004 2:29 pm
Location: florida

Post by nytemyst » Mon Feb 14, 2005 11:32 am

Is this what we need to edit out to call the cleric 1.5 snippet to make it work?

"/call Cast "Divine Arbitration" alt 2s"

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Tue Feb 15, 2005 10:18 pm

On the question of using the div arb from cleric epic... I suggest adding a line to the beginning fo the DivArbCast subroutine, so that it checks for presence of the cleric epic

Code: Select all

   /if ((${FindItem[=name of clr epic doh I dont remember].ID})&&(${epicreusetimer}==1)) {
      /varset epicreusetimer 0
      /timed 6000 /varset epicreusetimer 1
      /call Cast "name of clr epic doh I dont remember" item 2s
      /return
   }
of course, you would declare epicreusetimer as a variable in the beginning. If you can, feel free to debug this and post it. I dont have epic yet on my bot cleric to test it out, but I think this would work, assuming reuse timer is 10 minutes. To do this right, you should edit the logic in the areas that call divarbcast routine, so that even if divine arbitration aa isnt up, it would still use epic. The above code is just a quick fix, cause I'm short on time atm.

nightgod
a ghoul
a ghoul
Posts: 122
Joined: Sun Nov 02, 2003 4:39 am

Post by nightgod » Wed Feb 16, 2005 10:23 am

/declare patchheal string outer Pious Light
/declare patchhealrange int outer 100

Pious Light has a 200 base range.