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

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

Moderator: MacroQuest Developers

Epsilon
a lesser mummy
a lesser mummy
Posts: 61
Joined: Wed Apr 30, 2003 5:46 pm

Post by Epsilon » Thu Apr 29, 2004 10:51 pm

downloaded and compiled the zip file yesterday

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

Post by ml2517 » Thu Apr 29, 2004 10:53 pm

ALWAYS update your MQ2 before coming to the macro section and saying a macro doesn't work. If you don't, you'll get flamed (tm).

There have been like 4 updates since yesterday, they aren't all just adding content. After patch day they are usually fixing things.

Epsilon
a lesser mummy
a lesser mummy
Posts: 61
Joined: Wed Apr 30, 2003 5:46 pm

Post by Epsilon » Thu Apr 29, 2004 10:55 pm

** YOU MUST have the April 27th release of MQ2 (or newer) with the new variable system enabled and compiled to use this macro.
ok thought that would be good enough..gonna download and compile the latest and try again, thanks

Epsilon
a lesser mummy
a lesser mummy
Posts: 61
Joined: Wed Apr 30, 2003 5:46 pm

Post by Epsilon » Thu Apr 29, 2004 11:09 pm

ok seems to work better know..atleast hes casting spells now =)
sorry if i caused any trouble, thought the 28th version would work also

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

Post by ml2517 » Thu Apr 29, 2004 11:11 pm

No problem, its an honest mistake but should be a learning experience for you. I hope people are reading this and learning to troubleshoot a bit on their own before asking questions.

Epsilon
a lesser mummy
a lesser mummy
Posts: 61
Joined: Wed Apr 30, 2003 5:46 pm

Post by Epsilon » Thu Apr 29, 2004 11:16 pm

noticed one thing tho..he tries to cast ferine avatar on all melee classes in group..FA got like 40 secs reuse but he still spams group that he is casting it

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

Post by ml2517 » Thu Apr 29, 2004 11:17 pm

Yeah earlier in the thread someone mentioned that. (Or might have been in the old autodebuff post) I have to work on the long recast buffs, I don't have any logic in there yet to take care of it yet.

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

Post by JimJohnson » Thu Apr 29, 2004 11:22 pm

was this thread and that was the issue with the buffcoding. Hes using my INI for shaman. Normally I remove all but rogue or ranger and just keep it on them.

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

Post by ml2517 » Thu Apr 29, 2004 11:56 pm

Updated:
advbot.mac

Put in code in all of the casting routines (except healing) to silently wait for the spell gem to refresh if it isn't an item/AA ability. If you have an enormously long recast time on a spell it should wait patiently.

Let me know if you see any problems with it.

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

Post by ml2517 » Fri Apr 30, 2004 4:58 am

Updated:
advbot.mac
advbot.inc
advbot.txt

Worked on the "on death" code. The macro will now auto-pause all functions upon death. You either need to stop and restart the macro or have a hotkey setup that /echo's all of your toggle commands after you are all situated (spells memmed, mana etc.).

Added new functions to pause self and group buffs.

This will pause/unpause self buffs (You can also recieve the command from your masters)
/echo selfbuff

This will pause/unpause group buffs (You can also recieve command from your masters)
/echo groupbuff

Changed the self and group buffs command:

As you might have noticed, you used to issue the /echo selfbuff and /echo groupbuff if you wanted to buff all of your self or group buffs. This has changed to:
Buffs all self buffs:
/echo selfbuff all

Buffs all group buffs:
/echo groupbuff all


You still buff single and group buffs one by one by:
Buffs your first self buff:
/echo selfbuff 1

Buffs your first group buff:
/echo groupbuff 1

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

Post by ml2517 » Fri Apr 30, 2004 8:26 pm

Updated:
advbot.mac

Improved the debuff handling. It should now follow your debuff rules more closely. This change also effectively gives debuffs (If you have any defined) more priority than everything but healing. Healing will always be number one on the priority list.

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

Post by ml2517 » Fri Apr 30, 2004 10:51 pm

Updated:
advbot.mac

Fixed activate (alt activate) spam when the AA skill wasn't ready.

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

question..

Post by Azum » Fri Apr 30, 2004 11:03 pm

With the following ini, Force Shield isn't being recast if I click it off with advbot running. Just wondering what the problem is.

Code: Select all

[Settings]
Radius=30
NoSit=1
TrackNumber=10
Announce=0
AnnounceChannel=group
RetryCount=2
PauseMacro=0
PauseEvents=0
PauseHeals=1
PauseSelfBuffs=0
PauseGroupBuffs=1
[SelfBuff]
SelfBuffCount=1
SelfBuff1=Force Shield
SelfBuff2=Self Buff Spell Name
SelfBuff3=Self Buff Spell Name
SelfBuff4=Self Buff Spell Name
SelfBuff5=Self Buff Spell Name
SelfBuff6=Self Buff Spell Name
SelfBuff7=Self Buff Spell Name
SelfBuff8=Self Buff Spell Name
SelfBuffDuration1=3600
SelfBuffDuration2=0
SelfBuffDuration3=0
SelfBuffDuration4=0
SelfBuffDuration5=0
SelfBuffDuration6=0
SelfBuffDuration7=0
SelfBuffDuration8=0
SelfBuffAtStart1=0
SelfBuffAtStart2=0
SelfBuffAtStart3=0
SelfBuffAtStart4=0
SelfBuffAtStart5=0
SelfBuffAtStart6=0
SelfBuffAtStart7=0
SelfBuffAtStart8=0
SelfBuffIconCheck1=1
SelfBuffIconCheck2=0
SelfBuffIconCheck3=0
SelfBuffIconCheck4=0
SelfBuffIconCheck5=0
SelfBuffIconCheck6=0
SelfBuffIconCheck7=0
SelfBuffIconCheck8=0
SelfBuffIconName1=Force Shield
SelfBuffIconName2=Self Buff Icon Name
SelfBuffIconName3=Self Buff Icon Name
SelfBuffIconName4=Self Buff Icon Name
SelfBuffIconName5=Self Buff Icon Name
SelfBuffIconName6=Self Buff Icon Name
SelfBuffIconName7=Self Buff Icon Name
SelfBuffIconName8=Self Buff Icon Name
[Debuff]
DebuffCount=2
Debuff1=item Staff of Temperate Flux
Debuff2=Ice Meteor
Debuff3=Debuff Spell Name
Debuff4=Debuff Spell Name
Debuff5=Debuff Spell Name
Debuff6=Debuff Spell Name
Debuff7=Debuff Spell Name
Debuff8=Debuff Spell Name
DebuffDuration1=99999
DebuffDuration2=1
DebuffDuration3=99999
DebuffDuration4=99999
DebuffDuration5=99999
DebuffDuration6=99999
DebuffDuration7=99999
DebuffDuration8=99999
DebuffStartWait1=0
DebuffStartWait2=0
DebuffStartWait3=0
DebuffStartWait4=0
DebuffStartWait5=0
DebuffStartWait6=0
DebuffStartWait7=0
DebuffStartWait8=0
DebuffMinHealth1=100
DebuffMinHealth2=100
DebuffMinHealth3=100
DebuffMinHealth4=100
DebuffMinHealth5=100
DebuffMinHealth6=100
DebuffMinHealth7=100
DebuffMinHealth8=100
DebuffMinHealthNoCast1=0
DebuffMinHealthNoCast2=10
DebuffMinHealthNoCast3=0
DebuffMinHealthNoCast4=0
DebuffMinHealthNoCast5=0
DebuffMinHealthNoCast6=0
DebuffMinHealthNoCast7=0
DebuffMinHealthNoCast8=0
DebuffMinMana1=0
DebuffMinMana2=0
DebuffMinMana3=0
DebuffMinMana4=0
DebuffMinMana5=0
DebuffMinMana6=0
DebuffMinMana7=0
DebuffMinMana8=0
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0
DebuffMinMobsInArea4=0
DebuffMinMobsInArea5=0
DebuffMinMobsInArea6=0
DebuffMinMobsInArea7=0
DebuffMinMobsInArea8=0
DebuffAnnounce1=NULL
DebuffAnnounce2=NULL
DebuffAnnounce3=Debuff Announcement
DebuffAnnounce4=Debuff Announcement
DebuffAnnounce5=Debuff Announcement
DebuffAnnounce6=Debuff Announcement
DebuffAnnounce7=Debuff Announcement
DebuffAnnounce8=Debuff Announcement
[Events]
EventCount=2
EventSpell1=Harvest
EventSpell2=activate 172
EventSpell3=Event Spell Name
EventSpell4=Event Spell Name
EventSpell5=Event Spell Name
EventSpell6=Event Spell Name
EventSpell7=Event Spell Name
EventSpell8=Event Spell Name
EventMinMana1=70
EventMinMana2=70
EventMinMana3=100
EventMinMana4=100
EventMinMana5=100
EventMinMana6=100
EventMinMana7=100
EventMinMana8=100
EventMaxMana1=0
EventMaxMana2=0
EventMaxMana3=0
EventMaxMana4=0
EventMaxMana5=0
EventMaxMana6=0
EventMaxMana7=0
EventMaxMana8=0
EventMinHP1=100
EventMinHP2=100
EventMinHP3=100
EventMinHP4=100
EventMinHP5=100
EventMinHP6=100
EventMinHP7=100
EventMinHP8=100
EventMaxHP1=0
EventMaxHP2=0
EventMaxHP3=0
EventMaxHP4=0
EventMaxHP5=0
EventMaxHP6=0
EventMaxHP7=0
EventMaxHP8=0
EventDuration1=0
EventDuration2=0
EventDuration3=0
EventDuration4=0
EventDuration5=0
EventDuration6=0
EventDuration7=0
EventDuration8=0
[Heal]
HealCount=0
HealSpell1=Heal Spell Name
HealSpell2=Heal Spell Name
HealSpell3=Heal Spell Name
HealSpell4=Heal Spell Name
HealSpell5=Heal Spell Name
HealSpell6=Heal Spell Name
HealSpell7=Heal Spell Name
HealSpell8=Heal Spell Name
HealMinHP1=0
HealMinHP2=0
HealMinHP3=0
HealMinHP4=0
HealMinHP5=0
HealMinHP6=0
HealMinHP7=0
HealMinHP8=0
HealMaxHP1=100
HealMaxHP2=100
HealMaxHP3=100
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=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
HealClass3=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
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=Heal Announcement
HealAnnounce2=Heal Announcement
HealAnnounce3=Heal Announcement
HealAnnounce4=Heal Announcement
HealAnnounce5=Heal Announcement
HealAnnounce6=Heal Announcement
HealAnnounce7=Heal Announcement
HealAnnounce8=Heal Announcement
[GroupBuff]
GroupBuffCount=0
GroupBuff1=Group Buff Spell Name
GroupBuff2=Group Buff Spell Name
GroupBuff3=Group Buff Spell Name
GroupBuff4=Group Buff Spell Name
GroupBuff5=Group Buff Spell Name
GroupBuff6=Group Buff Spell Name
GroupBuff7=Group Buff Spell Name
GroupBuff8=Group Buff Spell Name
GroupBuffDuration1=99999
GroupBuffDuration2=99999
GroupBuffDuration3=99999
GroupBuffDuration4=99999
GroupBuffDuration5=99999
GroupBuffDuration6=99999
GroupBuffDuration7=99999
GroupBuffDuration8=99999
GroupBuffAtStart1=0
GroupBuffAtStart2=0
GroupBuffAtStart3=0
GroupBuffAtStart4=0
GroupBuffAtStart5=0
GroupBuffAtStart6=0
GroupBuffAtStart7=0
GroupBuffAtStart8=0
GroupBuffMinMana1=0
GroupBuffMinMana2=0
GroupBuffMinMana3=0
GroupBuffMinMana4=0
GroupBuffMinMana5=0
GroupBuffMinMana6=0
GroupBuffMinMana7=0
GroupBuffMinMana8=0
GroupBuffMinGroupCount1=0
GroupBuffMinGroupCount2=0
GroupBuffMinGroupCount3=0
GroupBuffMinGroupCount4=0
GroupBuffMinGroupCount5=0
GroupBuffMinGroupCount6=0
GroupBuffMinGroupCount7=0
GroupBuffMinGroupCount8=0
GroupBuffAnnounce1=Group Buff Announcement
GroupBuffAnnounce2=Group Buff Announcement
GroupBuffAnnounce3=Group Buff Announcement
GroupBuffAnnounce4=Group Buff Announcement
GroupBuffAnnounce5=Group Buff Announcement
GroupBuffAnnounce6=Group Buff Announcement
GroupBuffAnnounce7=Group Buff Announcement
GroupBuffAnnounce8=Group Buff Announcement
GroupBuffClass1=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass2=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass3=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass4=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass5=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass6=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass7=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC
GroupBuffClass8=WAR|SHD|PAL|RNG|MNK|ROG|BRD|BST|BER|SHM|CLR|DRU|WIZ|MAG|ENC|NEC

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

Post by ml2517 » Fri Apr 30, 2004 11:13 pm

A: is that the exact buff icon name you have listed in: SelfBuffIconName1

B: If you don't have SelfBuffAtStart1 set it will never try to cast it by itself. You either have to have that set to one, or.. when you are ready to start the Buffing (and track it from then on out) either do a /echo selfbuff all (to do all selfbuffs) or in this case /echo selfbuff 1 (to only selfbuff the first one). From that point forward, if you click off that buff it should recast it.

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

Post by omper » Fri Apr 30, 2004 11:29 pm

Qusetions..

1 can this macro keep track of and cast buffs (single) on player and keep it up..

2 HOW DO YOU ADD A MASTER .. it says it cant parse.. /master BOTCONTROLER


Let me know..