Advbot.mac - Advanced Caster Bot - Heal/Debuff/Buff

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

Moderator: MacroQuest Developers

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 12:59 am

Never set it like this for single target buffs:

Code: Select all

GroupBuffMinGroupCount1=1 
Just leave it at 0

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Post by omper » Sat May 01, 2004 1:04 am

ok .. and about the casting temp on group members.. I tried all i know.. changed the druation.. the all things.. and i cant get it to cast on anyone other then itself..

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 1:05 am

Post your groupbuff section again.

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

Post by JimJohnson » Sat May 01, 2004 1:11 am

omper wrote:ok .. can you explain the MIN and MAX hp thing in the heal section..


i want it to cast heal 2 when my group member hits 80% and heal 1 when he hits 50% .. thats all.. and for the life of me i am just screwing this whole thing up..

NO i never claimed to know crap .. and I DONT.. thats why i ask..

Thanks for all your help
Why do you want to cast 2 heals at 80 %?


HealMaxHP1= 90 means if life is equal to 90 or lower it will start to cast the heal assigned to 1.

HealMinHP1=40 means if the life is 40 or lower it will skip this heal check and move to the next




Code: Select all

HealCount=3
HealSpell1=Supernal Elixir
HealSpell2=Supernal Light 
HealSpell3=Complete Healing 
HealSpell4=Heal Spell Name 
HealSpell5=Heal Spell Name 
HealSpell6=Heal Spell Name 
HealSpell7=Heal Spell Name 
HealSpell8=Heal Spell Name 
HealMinHP1=85 
HealMinHP2=70 
HealMinHP3=30 
HealMinHP4=0 
HealMinHP5=0 
HealMinHP6=0 
HealMinHP7=0 
HealMinHP8=0 
HealMaxHP1=90 
HealMaxHP2=75 
HealMaxHP3=50 
HealMaxHP4=100 
HealMaxHP5=100 
HealMaxHP6=100 
HealMaxHP7=100 
HealMaxHP8=100 
HealMinMana1=0 
HealMinMana2=0 
HealMinMana3=0 
HealMinMana4=0 
HealMinMana5=0 
HealMinMana6=0 
HealMinMana7=0 
HealMinMana8=0 
HealMinGroupCount1=0 
HealMinGroupCount2=0 
HealMinGroupCount3=0 
HealMinGroupCount4=0 
HealMinGroupCount5=0 
HealMinGroupCount6=0 
HealMinGroupCount7=0 
HealMinGroupCount8=0 
HealClass1=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass2=RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass3=WAR|SHD|PAL|
HealClass4=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass5=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass6=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass7=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealClass8=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC 
HealAnnounce1=Supernal Elixir on %t 
HealAnnounce2=Supernal Light on %t 
HealAnnounce3=Complete Heal on %t 
HealAnnounce4=Heal Announcement 
HealAnnounce5=Heal Announcement 
HealAnnounce6=Heal Announcement 
HealAnnounce7=Heal Announcement 
HealAnnounce8=Heal Announcement 
that will do somewhat of what your asking but i dont knwo the lower lvl cleric heals just 62+ still dont see why you want to use 2 heal spells before 80 % for everyone tho not very mana efficient

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Post by omper » Sat May 01, 2004 1:37 am

oh hey one more thing.. i am noticing a long delay between actions..

Like the follow is working now but it takes long time for him to turn.. he never really stops.. just runs past and past and past..

anyway.. i will rebot comp .. maybee i got something messed up

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 1:38 am

I might need to put in some more /call AdvPathPoll calls into the loops. It's been awhile since I've check the movement portion.

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Post by omper » Sat May 01, 2004 1:40 am

no not 2 heal spells..

I use celestial healing as my patch up heal spell.. so once my ranger gets to 90 or 85 % then i want him to patch heal me.. but if he gets below or at 50 then i want him to CH me..

Does that make sense..

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 2:43 am

Updated:
advbot.mac

I threw in some code to help the follow issue.

I'm debating what to do on this issue because you could go two ways:

A: Have the follow function automatically pause all other functions. The bad part with this would be that you would have to issue a stop when you get to a location where you want your bot to do his thing. Not a huge deal, but I prefer the hands off approach.

B: Middle of the road approach. I like this way of doing it because it leaves all of your stuff running while you move from place to place. I'm thinking I could just do a speed check and put things on hold if my speed is greater than 0.

One thing is for certain, if you have your character doing healing, debuffing, events etc. etc. and then follow its going to really slow down the functioning because its just alot of work. I'm going to explore the auto-pause while moving thing and see if it can work out for us.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Memming spells

Post by fearless » Sat May 01, 2004 11:34 am

I am sorry for not being able to find this elsewhere.

Is the bot supposed to be memming spells that the triggers say to cast?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 11:56 am

You should have all of the spells you have defined memmed. Some of the logic on spell memming still slips through and spellcast.inc mems it. At some point I'll work on this so that you must have debuffs and heals memmed at all times but it will allow you to have a swap out slot for self buffs and group buffs. (Not sure about events yet, some events might warrant it but ones like cannibalize wouldn't)

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 2:04 pm

Updated:
advbot.mac
advbot.inc

Tons of code optimization. You should now be able to have all functions on and get at least decent response from everything. The priority order goes something like this:

Heals > Debuffs > Events,Self Buffs,Group Buffs

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 5:30 pm

Updated:
advpath.inc

Fixed zoning flakyness and optimized code to take advantage of the new variable system.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 7:41 pm

Updated:
advbot.inc
advbot.txt

Added a new options to the groupbuff command. Accepted syntax below:

Alone would toggle groupbuffing on/off:
groupbuff

This would buff the spell you have in groupbuff 1 for all members of the group:
groupbuff 1

This would buff all groupbuff spells you have for all members of the group:
groupbuff all

This would buff the spell you have in groupbuff 1 for player 1 in your group (The bot himself):
groupbuff 1 1

This would buff the spell you have in groupbuff 1 for player Johnny in your group:
groupbuff 1 Johnny

This would buff all groupbuff spells you have (Only does single target buffs!) for player 2 in the group:
groupbuff all 2

This would buff all groupbuff spells you have (Only does single target buffs!) for Johnny in the group:
groupbuff all Johnny

Scriptless
orc pawn
orc pawn
Posts: 16
Joined: Fri Apr 23, 2004 4:20 pm

Hi

Post by Scriptless » Sun May 02, 2004 1:21 am

First off, I love this mac.

1 small problem, it is shutting down on resists. I have current DL and latest of your work.

Code: Select all

Calculate encountered unparsable text 'sumer'sflame.left[8]Equal["activate"]}
advbot.mac@361
Then a few lines of stuff I dont know what it means
Then Lax cusses me out some heh

Code: Select all

Failed to parse /if condition'(summer'sflame.Left[8]Equal["activate"]})',non-numeric encountered
I hope that helps, but it is running much smoother then yesterday

I love your work

Thanks

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 02, 2004 1:25 am

Updated:
advbot.mac

Fixed a typo in the resist section of the debuff code.