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

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

Moderator: MacroQuest Developers

pukpuk
orc pawn
orc pawn
Posts: 12
Joined: Thu Sep 02, 2004 5:35 am

Post by pukpuk » Wed Sep 15, 2004 3:16 pm

The problem is, that the %-value for the mana does not work anymore. So the mana is always like 0% and the Cleric starts medding.

But the bigger problems are EQ-crashes while casting HoTs. So take care even if u change the %-mana problem.

vanemon
a lesser mummy
a lesser mummy
Posts: 58
Joined: Fri Aug 20, 2004 7:22 am

Post by vanemon » Wed Sep 15, 2004 7:00 pm

thz zstrike

that did the message, sadly it doesnt heal any longer. no error message when using afcleric (all autoheals, 3 different spells).

also did that 9th gem thing too now (message: http://www.macroquest2.com/phpBB2/viewtopic.php?t=9276 )

six_boxer
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sun Sep 05, 2004 10:49 pm

Post by six_boxer » Thu Sep 16, 2004 9:53 pm

Not sure if this will help with the de-bug or workaround dev but...

I had afcleric with the same oom no-cast issues as others are having since the patch but when my cleric actually got pounded on he cast a patch heal on himself and then the macro seems to have started working as intended.

-six

pukpuk
orc pawn
orc pawn
Posts: 12
Joined: Thu Sep 02, 2004 5:35 am

Easy Workaround

Post by pukpuk » Fri Sep 17, 2004 7:31 am

Just add the following line in the declaration part. The value behind MaxMana should be your unbuffed Mana at 100%

/declare MaxMana int outer 4430

Now use "find and replace" and search for:

${Me.PctMana}

and replace this everywhere by:

((${Me.CurrentMana}/${MaxMana})*100).


*Advanced users only:*
The only problem working with this easy workaround is, that the Cleric will think that he has little less mana than the real value if KEI or VoQ,... on him. If u want to have this problem solved, include a buff check for all Mana increasing buffs and change the MaxMana.

vanemon
a lesser mummy
a lesser mummy
Posts: 58
Joined: Fri Aug 20, 2004 7:22 am

Post by vanemon » Fri Sep 17, 2004 9:58 am

@ pukpuk: sorry im not that firm, which file to edit?
i did a search on "${Me.PctMana}" with totalcommander without success.

thx

dirx
orc pawn
orc pawn
Posts: 21
Joined: Fri Dec 05, 2003 1:00 am
Location: orlando

Post by dirx » Fri Sep 17, 2004 2:56 pm

Thanks Pukpuk worked great ;)

Best to use .net to find and replace imo.

Great script btw I love it.

Dirx

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Sun Sep 19, 2004 12:26 pm

Any chance you'll add support for Reproach?

I tried, but I screwed it all up, and it ended up casting nothing. =)
[url=http://www.macroquest2.com/main.php?p=donate]Vote or Die!l[/url]

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

Post by fantum409 » Mon Sep 20, 2004 12:01 am

guys the Me.PctMana function is in amadeus's que to get fixed, something about it being a virtual function now and this is temporarily disabled.

What pukpuk said above should be workable, though personally I did what vaft suggested in the dev forum, to reenable PctMana since I have a bunch of macros that all use it. That way I wont have to change it all back when they fix pctmana functions in mq2.

http://macroquest2.com/phpBB2/viewtopic.php?t=9272


BTW I have never had any problems with crashes from casting hot spells. Are a lot of people having that?

I have had crashes, but mostly when zoning. But it doesnt seem to be any more with this macro than with any of the others that I run. If anyone can point out code in this macro that is promoting a crash, plz do so.

Thanks

Valshir
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Sep 20, 2004 5:03 pm

Can someone plz post an updated completed Macro for AFcleric

Post by Valshir » Mon Sep 20, 2004 5:04 pm

Can someone please post a updated corrected AfCleric please?

I would greatly appreciate it.

Thanks,
V

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

Post by fantum409 » Mon Sep 20, 2004 10:37 pm

/blush. I think I posted a dud fix there as it used MaxMana which was also disabled. Of course it worked for me cause I had re-enabled it. /sigh

But anyway, someone posted in help that the newest zip fixed PctMana. I havent built it yet to confirm that though.

eqaussie
a ghoul
a ghoul
Posts: 124
Joined: Tue Mar 16, 2004 5:58 am

Post by eqaussie » Tue Sep 21, 2004 1:35 am

Was wondering if there was a way you could add support for the Radiant Cure AA's

Setup in the macro itself the aa number

Radiant Cure =
Resplendent Cure = 390

And have cleric respond to a call for 'rc' in the standard channels

ScubaSki
a lesser mummy
a lesser mummy
Posts: 55
Joined: Mon Jun 21, 2004 8:27 pm

Post by ScubaSki » Wed Sep 22, 2004 3:49 pm

This post here has some very interesting raid cleric code in it. It's such a small macro it should be pretty easy to add into this already excellent cleric healing macro. Then again what do I know anyway?

http://www.macroquest2.com/phpBB2/viewtopic.php?t=9407

Just an idea for improvement. Thanks.
[code:1]Sub Main
:loop
/if !${me.understand} /call readsig
/if ${me.still.doesn't.understand} /call rtfm
/if ${me.STILL.DOESN'T.FUCKING.UNDERSTAND} /call findgun
goto :loop
/endmacro[/code:1]

Valshir
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Sep 20, 2004 5:03 pm

Post by Valshir » Mon Sep 27, 2004 3:29 pm

Can someone post their current Working version plz... I am not that great at code... Please

Thanks,
V

wknight
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Sep 24, 2004 12:40 pm

Post by wknight » Mon Sep 27, 2004 5:13 pm

anyone got a fix on remount for the horse

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

Post by Frank25 » Fri Oct 08, 2004 3:13 pm

Is there any word on the ducking after heal problem that cropped up in the last version?

I'm still unable to get on a horse and stay on it because as soon as a heal is cast my cleric ducks.

Everything else works fine except for that and i for the life of me cant figure out why