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

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

Moderator: MacroQuest Developers

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

Post by Frank25 » Tue Mar 08, 2005 8:05 pm

Anyone else getting lots of error spam after the lastest mq2 patch?

Constanly haviny red lines with PctHPs and Groupmember, not sure what is wrong i'll check into it later since i'm at work atm but wondering if anyone else has a clue

Clueless_Coder
a hill giant
a hill giant
Posts: 192
Joined: Wed Aug 25, 2004 3:18 pm

Post by Clueless_Coder » Tue Mar 08, 2005 8:10 pm

Frank25 wrote:Anyone else getting lots of error spam after the lastest mq2 patch?

Constanly haviny red lines with PctHPs and Groupmember,
I went back to the 3/4/05 version of MQ2. The error spam with the 3/07/05 version was driving me batty

s0rcier
a grimling bloodguard
a grimling bloodguard
Posts: 876
Joined: Mon Aug 02, 2004 10:49 pm

Post by s0rcier » Tue Mar 08, 2005 8:14 pm

Well lots of macro will start having those kinds of problems ...

Their was a major change in group TLO in last updates ... passed few hours to fix out my healing macro, and my custum ui and huds...


group[#].PctHPs --> group.member[#].Spawn.PctHPs
group[#].ID --> group.member[#].Spawn.ID
group[#].Distance -> group.member[#].Spawn.Distance

Well still need to verify case ... but thats what will need to be touched!

s0rCieR

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

Post by Frank25 » Tue Mar 08, 2005 9:48 pm

Sorc , changing .ID to .Spawn.ID still gave rrors.'
Changing it back just just .ID made at least afcleric work again

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

Post by Frank25 » Tue Mar 08, 2005 11:59 pm

ok, after lots and lots of testing changing everything you said sorc gets rid of error messages, but he does not heal anyone in the group at all. just self and tank.

must be something with case or something i'm missing

Mulva
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sat Sep 18, 2004 5:13 pm

Fix for March 7th update

Post by Mulva » Wed Mar 09, 2005 4:02 pm

Here is what worked for me using notepad-

find - ${Group[${gmember}].
replace with - ${group.member[${gmember}].Spawn.

Have not tested within a group yet, just let a mob beat on me till it started casting and then interupted, then memmed new spell as expected..

-edit- tested in group and works just fine. Also, the above method assumes using a global find and replace, not just replacing the first instance.

s0rcier
a grimling bloodguard
a grimling bloodguard
Posts: 876
Joined: Mon Aug 02, 2004 10:49 pm

Post by s0rcier » Thu Mar 10, 2005 5:31 am

Well i was just pointing out what you should look, ya it maybe case sensitive ... im still updating every macro / ui pieces that i have that was using old method ...

s0rCieR

Ranger_Space
a lesser mummy
a lesser mummy
Posts: 42
Joined: Thu Aug 26, 2004 4:25 pm

Post by Ranger_Space » Thu Mar 10, 2005 3:32 pm

In my macros, I had to use Group.Member[....].Spawn

It was case sensitive for me, the Member had to be M not m...

notadruid
a ghoul
a ghoul
Posts: 143
Joined: Mon Dec 08, 2003 6:02 pm

Post by notadruid » Thu Mar 10, 2005 6:02 pm

If Divine Barrier is not ready but Divine Aura is, make it cast Divine Aura =)

I sometimes mem both divines.
I am not a druid.

User avatar
LrdDread
a snow griffon
a snow griffon
Posts: 343
Joined: Sun Sep 12, 2004 7:55 am
Contact:

Post by LrdDread » Fri Mar 11, 2005 5:02 am

Ok, after hours of poking around with this, think I got it pinned down

following the various post on a couple threads I used find/replace and changed

Code: Select all

${Group[${gmember}].
to

Code: Select all

${Group.Member[${gmember}].
the error messages stopped and off to farming I went...... bout an hour into farming light blues for tradeskill parts... "ACK, it's not healing the damn group!!" it's only healing the "Tank" and self... so back into the code we go, this is loads of fun for someone who's programming skills are 12ish years rusty...

Ok, so apparently it's not watching the group members health... and there it is

Code: Select all

/for gmember 0 to ${Group}
So I do a find of

Code: Select all

${Group}
and look for places that are using number of people in group counts and replace that with

Code: Select all

${Group.Members}
And WALLA!! everything appears to be working now.... Don't know if it is the "proper" way to handle it, but used 2 converted versions of AFCleric.mac under heavy stress for about an hour and didn't run into any other problems.

Hopes this helps anyone having trouble with fixing this!!

giblankor
orc pawn
orc pawn
Posts: 13
Joined: Tue Feb 22, 2005 11:39 pm

Post by giblankor » Sat Mar 12, 2005 12:41 pm

Lrd - I tried doing that with mine, and it stopped endless spam. But I'm still getting -

"No such int" in red about 10 times, then a failure to parse messege or something. Friends are saying it's working fine on their computers. Any idea what I'm doing wrong. Did a search and couldn't find anything specific.

User avatar
htw
a grimling bloodguard
a grimling bloodguard
Posts: 512
Joined: Wed Feb 18, 2004 8:30 pm
Location: Albuquerque, NM USA
Contact:

Post by htw » Sat Mar 12, 2005 1:59 pm

Then you aren't using latest and greatest. Redownload MQ2, clean it all, recompile, rerun it. Do full clean & build or rebuild, not just a build!

Try then. The non such 'int' member stuff was fixed.

htw

giblankor
orc pawn
orc pawn
Posts: 13
Joined: Tue Feb 22, 2005 11:39 pm

Post by giblankor » Sat Mar 12, 2005 9:50 pm

Yeah I tried that, I'm still getting the same problems. Am I cutting / pasting the right code? Just so you know

I'm taking the code from the 1st page of this thread, copying and pasting into a .mac file in the Macro folder of the Release folder of MQ2. I also put the spell_routines.inc or whatever it is in the same folder. Still getting massive errors though.

Arune
a hill giant
a hill giant
Posts: 216
Joined: Sat Jul 03, 2004 1:51 pm

Post by Arune » Sat Mar 12, 2005 10:47 pm

1st page doesn't have the changes posted above.

giblankor
orc pawn
orc pawn
Posts: 13
Joined: Tue Feb 22, 2005 11:39 pm

Post by giblankor » Sun Mar 13, 2005 3:42 am

Well is this macro just dead then or what... instead of just saying thats not the right one, you could say that's not, this is?