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 » Sun Sep 11, 2005 7:44 am

gordon you volunteering: hehe
The way I do it is to look at the chatparse sub and read the triggers. They are in [], and are followed by what each will do, like so:

Code: Select all

/if (${ChatText.Equal[bor]}) {
the trigger is "bor"
look after that and read about what it will do:

Code: Select all

      /call FindExactPC ${Sender}
      /if (${Macro.Return.NotEqual[TARGET_SUCCESS]}) /return
      /if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem "${edbuffitem}"
      /if (${edbuffItem.Name.NotEqual[NULL]}) /varset olditem ${Macro.Return}
      /if (${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "Breastplate of Vengeful Fury" item
      /if (!${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "${spellhastebuff}" gem8 5s
      /if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem ${olditem}
   }
tune in to the /call Cast "whatever" phrases. This one is a check to see if you have an item to cast a spell haste buff. If not, it will cast ${spellhastebuff} defined in the beginning of the macro.
If you get the hang of this, its easy enough to figure out the triggers, and add your own custom chat events.

simkin
a snow griffon
a snow griffon
Posts: 303
Joined: Thu Sep 01, 2005 1:52 pm

Post by simkin » Sun Sep 11, 2005 1:09 pm

I don't use the IRC plugin so I changed chatparse.inc to send to my group channel.

Replace:

Code: Select all

/i say
with

Code: Select all

/chat #${mychannel}

gmpeliminator
decaying skeleton
decaying skeleton
Posts: 1
Joined: Wed Apr 20, 2005 11:28 am

Post by gmpeliminator » Tue Sep 20, 2005 12:48 pm

Macro loads etc but as soon as it starts to cast CH it freezes, is this a new problem with the latest version of MQ?

DigitalMocking
a grimling bloodguard
a grimling bloodguard
Posts: 620
Joined: Mon Apr 04, 2005 5:53 pm

Post by DigitalMocking » Tue Sep 20, 2005 12:56 pm

gmpeliminator wrote:Macro loads etc but as soon as it starts to cast CH it freezes, is this a new problem with the latest version of MQ?
Other than the fact that 80% of the macros and plugins are broken now, why would you think that? :roll:

Once we get a solid working MQ2, I'll debug this macro, I'm not even going to play EQ until then.

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

Post by JimJohnson » Tue Sep 20, 2005 1:19 pm

just change it from using using spell_routines to normal default mq2 casting should fix the ch heal issue. Anything that calls from spell_routines atm causes a crash atleast for me.

Singing_Fool_29
a lesser mummy
a lesser mummy
Posts: 35
Joined: Fri Aug 26, 2005 7:23 am
Location: NY
Contact:

re: Jim

Post by Singing_Fool_29 » Tue Sep 20, 2005 6:51 pm

I started one and didn't cast by the macro just by hand and got an error about the flow running into another subroutine. Lines 114 and 244. Not that it should be relevant here, but just saying.

I don't know if something changed as far as what the functions were supposed to do, but in my time of doing C language it was good practice to always } after a /return.

Needless to say, spell_rountines doesn't do that, it just /returns. Most likely that is where the problem is comming from.
Loathing work while working requires twice the effort of work.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Re: re: Jim

Post by gimp » Tue Sep 20, 2005 7:10 pm

Singing_Fool_29 wrote:I don't know if something changed as far as what the functions were supposed to do, but in my time of doing C language it was good practice to always } after a /return.

Needless to say, spell_rountines doesn't do that, it just /returns. Most likely that is where the problem is comming from.
The MQ script language dont use { } for functions. They look like this:

Code: Select all

Sub FunctionName(params...)

/return
no opening {, and thus no closing }.

http://www.macroquest2.com/wiki/index.php/Subroutines

dprovin
orc pawn
orc pawn
Posts: 15
Joined: Tue Apr 05, 2005 6:58 pm

Post by dprovin » Sun Sep 25, 2005 7:32 pm

anyone else CTDing right after memspells subroutine ends?

Fixxer
a ghoul
a ghoul
Posts: 146
Joined: Wed Apr 13, 2005 8:15 am

Post by Fixxer » Mon Sep 26, 2005 6:59 am

Not me... Ever since I updated the Spell_Routines.inc, I haven't had a single problem.

~twolate~
decaying skeleton
decaying skeleton
Posts: 4
Joined: Fri Jul 02, 2004 11:16 am

Post by ~twolate~ » Sat Oct 01, 2005 11:03 am

Which spell routines are you using? I am using the ones that A_Druid posted. I get a CTD after I mem spells. I am gonna try the ones in the regular section and hope it works.

Fixxer
a ghoul
a ghoul
Posts: 146
Joined: Wed Apr 13, 2005 8:15 am

Post by Fixxer » Sat Oct 01, 2005 12:39 pm

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

A_Druid_00 said that he has a fix in his zip file, but has not updated the post.

So i would look for his zip file for an updated spell_routines.inc file.

Moocow
orc pawn
orc pawn
Posts: 16
Joined: Sat Feb 04, 2006 7:07 pm

Post by Moocow » Mon Feb 06, 2006 8:22 am

just getting back into game, I can't wait to give this one a go again...hopefully it still works.

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Mon Feb 06, 2006 8:23 am

If not, there's an updated and massively improved version in VIP.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

Moocow
orc pawn
orc pawn
Posts: 16
Joined: Sat Feb 04, 2006 7:07 pm

Post by Moocow » Mon Feb 06, 2006 8:27 am

Yeah i gotta get around to donating, my clerics not good to go completely yet so by the time he is I will have money and then I will have the improved one. Thanks.

FrankJScott
naggy
naggy
Posts: 2349
Joined: Sun Feb 19, 2023 7:11 am

Awesome Amino Acids Info

Post by FrankJScott » Thu Apr 10, 2025 6:04 pm

For the lady inquiring about adiporon, sodium copper, endothelin receptor blockers, high throughput screening drug discovery, h1 receptor antagonists, pt2977, difference between desmopressin and vasopressin, signal transduction pathway g protein coupled receptors, sodium glucose inhibitor, ampk activity, I highly recommend this next page about amino acid advice or tocris rock inhibitor, mapk pathway inflammation, candesartan blood pressure, pi3k inhibitor drugs, glutamine is amino acid, dhea english, define selegiline, icrt3, sglt2 transporter, dbet6, not to mention this on the main page about amino acid url not forgetting sites such as methyl jasmonate price, dheas y dhea, nadh chemical formula, taxol treatment, erk inhibitor drugs, gluconic acid lactone, 1 tryptophan, d aspartic acid tablets, oligomycin mitochondria, dna damage repair review, not to mention this additional reading about amino acid site which is also great. Also, have a look at this best amino acid tips not forgetting sites such as d glucono delta lactone, ici182780, rapamycin review, l glutamine, formation of thyroid hormone, aviptadil acetate, sybr green detection, reasons of antibiotic resistance, antimicrobial resistance threat, benzamidine protease inhibitor, not forgetting sites such as this continue for amino acid info together with trh thyrotropin, gamma aminobutyric acid agonist, protease inhibitor roche, mechanism of thyroid hormone, molecular weight of pmsf, check this out on alongside all aminobutyric, calcein am, ly2874455, fbdd drug discovery, sglt1 inhibitors, for good measure. Check more @ Updated Natural Pet Supplements Info b86b3ce