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

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

Moderator: MacroQuest Developers

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

Post by fantum409 » Sat Jul 31, 2004 5:51 pm

Is anyone else having a crash from AFCleric? I've been using it all day and no crashes.

Will be posting another small bugfix today for group not being healed (cleric just stands there) if MT has hp just a little higher than the healpoint but not low enough to get a heal. Also if MT died and another group member was targeted it would just stand there. Will post again when that is patched up on front page.

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

Post by fantum409 » Sat Jul 31, 2004 11:42 pm

OK, bugfix added. I played for several hours on it without having to edit anything, so should be good to go.

:smile:

Draimen
a lesser mummy
a lesser mummy
Posts: 69
Joined: Sun Jan 25, 2004 3:13 pm

Post by Draimen » Sun Aug 01, 2004 1:15 pm

If you keep crashing when using this make sure you have the latest spell_routines.inc, the latest version of this macro, and the latest MQ2 zip.

While testing my CH rot macro, a few people were crashing. The updated to the newest zip and stopped crashing.

True story.

DumbStruck
a ghoul
a ghoul
Posts: 125
Joined: Fri Apr 30, 2004 8:46 am

Post by DumbStruck » Sun Aug 01, 2004 4:24 pm

Hmm just wondering i see u have included a chat channel , But whats that for ? does it work as supposed when in the channel i cant issue cmds to cleric .. all cmds for buffs follow etc have to be told by tell . is channel just for inc heal etc ?

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

Post by fantum409 » Sun Aug 01, 2004 6:18 pm

commands work via tell or via the chat channel. Personally, I have several toons that share the chat channel and all respond to some of the commands, such as follow me.
I need to make some documentation to show all the stuff this macro currently does. /sigh

WiKKiD
orc pawn
orc pawn
Posts: 13
Joined: Tue Dec 09, 2003 3:15 pm

Post by WiKKiD » Mon Aug 02, 2004 12:30 pm

Man I hope I'm not asking a stupid question here..

VERY new to these macros (from a modification/customization perspective).

I absolutely love this macro, works like a charm..

There's one small issue I'm having.. If charachters are named similarly (ie: mytoon1, 2mytoon), the macro tends to swap between targets, depending on the command issued.

An example of it locking the correct target is if I set it to heal the mt, and the mt only (the mt being one of the toons with a similar name).

An example of it grabbing the wrong name (every time, somehow), is requesting virtue. It will switch off the mt, who sent the request, to the similar, but non-exact name in group.

My questions is, and please bare with me if it's a complete newb question.. I've been doing oodles of reading, but this is still over my head.. Is there a way for me to disable the widlcard on name? I'm not sure if it is something that can be corrected in the macro, of it it's a flaw of sony's flexible /target command.

Thanks for any help/advice that could be given. :)

oneoneone
a lesser mummy
a lesser mummy
Posts: 30
Joined: Mon Jan 26, 2004 5:52 am

Targeting

Post by oneoneone » Mon Aug 02, 2004 1:07 pm

I have problems with the targeting as well. As far as I can remember it didn't used to be like this until a few months ago, but I could be wrong. An example would be a character named "IAmANewb" and "IAmANewbToo". It would be harder to target "IAmANewb".

WiKKiD
orc pawn
orc pawn
Posts: 13
Joined: Tue Dec 09, 2003 3:15 pm

Post by WiKKiD » Mon Aug 02, 2004 1:18 pm

That's the exact situation I'm having. It's targetting the longer (incorrect) name.. One thing I have noticed is if the correct person is closer than the incorrect, it will target them.. So distance has something to do with it.

Also getting one other small quirk.. After every heal, when the healee reaches an appropriate health, the cleric says they are ducking the heal.. Minor annoyance, but figured I'd ask. :)

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

Post by fantum409 » Tue Aug 03, 2004 1:07 am

I haven't figured out a fix for that targeting bug. If it issues a command to /target pc newbone and there is another toon named newbonealso that is closer, it will target the closest one every single time. But if it issues a command /target pc newbonealso then it will target correctly regardles of distance. Both names contain newbone but both do not contain newbonealso, know what I mean?.. Must be the tank requesting virtue has the short name, and the person who gets the virtue has same name as tank plus some extra letters AND is standing closer to the cleric than the tank is.
I know there is a way to target using spawn.id but haven't got into that. If anyone has a good example of that, or wants to post a snippet for me to look at I'll try and work it in. It never occurred to me when i was writing the mac that people would have toons named like that LoL. If they were named newbonea, newboneb, newbonec there would not be any problem.

As for the inappropriate ducking messages that is a new one to me. Can you plz tell me the speed of the pc and basic specs, how many eq clients running on it, what kind of framerates your getting, and settings in the afcleric.mac? It has never done that to me, not sure whats up with it unless maybe your machine is very slowed down in framerates or something. Will think on it.

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

Post by JimJohnson » Tue Aug 03, 2004 8:01 am

calling duck message when cast actually lands for me also.

1 client
640 ram
900 athlon
was about 12 fps
geforcefx 5200 128meg card

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

Post by fantum409 » Tue Aug 03, 2004 10:32 am

JimJohnson TY for bugreport. Can you also tell me the mac settings you have changed, and does it do it consistently or occasionally? on any heals or just hot/mt/patchheals?

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

Post by JimJohnson » Tue Aug 03, 2004 6:09 pm

using /macro afcleric tankname % Holy Light

does it with MA target for sure and on monks. no settings changed

DumbStruck
a ghoul
a ghoul
Posts: 125
Joined: Fri Apr 30, 2004 8:46 am

Post by DumbStruck » Tue Aug 03, 2004 6:32 pm

is there a variable to turn off dismount ? for some reason i notice when on a mount it is continuosly dismounting and dosent remount .. so i would end up standing all the time .. with a 56 cleric no manapool and trying to power lvl a 54 beast that doesnt help much hehe .

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

Post by fantum409 » Tue Aug 03, 2004 6:55 pm

DumbStruck thats a feature of spell_routines.inc and the only way around it is to turn off interrupts. However, you could add something to the cleric macro to make it remount, such as

Code: Select all

   /declare automount int outer 0
in the beginning of the macro, then

Code: Select all

   /if ((!${Me.Mount.ID})&&(${automount}==1)) /call Cast "Brown Rope Bridle" item
could go in the med sub routine. Change name of bridle to match whatever you use. Then make a hotkey in game

Code: Select all

/varset automount 1
If you defaulted automount to 1 in the mac, it would do stupid stuff on indoor zones. Personally, I tend to just use yaulp6 and autosit 1 mode, no mount. The autointerrupt feature is one of my favorite things about this mac, would hate to disable it.

JimJohnson ty for details. I'll read over the mac again and see if I can figure out why it gives duck msg. Will see what I can do.
=)

WiKKiD
orc pawn
orc pawn
Posts: 13
Joined: Tue Dec 09, 2003 3:15 pm

Post by WiKKiD » Wed Aug 04, 2004 9:51 am

My apologies for the delayed response.

My pc is a p4 3.2, 2gb ddr in dual channel..

Usually running 2-3 clients in the lowest settings (I"m a performace hog, I'd rather have 3 high framerate low lag clients than 3 laggy ones) :)

I think the ducking is actually also related to the mis-targetting. I suspect it is healing the tank, then doing a check on health, getting the wrong name and ducking the heal. Strangely, it still heals, works like a charm. Just a lil extra spam.

I think your idea of targetting via spawnid is probably the only viable one, if possible... If not, I just keep it in mind that the cleric must be closer to the tank, then any similar named toons. :)