autodebuff.mac - Auto radius debuff macro - *New Parm Rdy*

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

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

Post by ml2517 » Sun Apr 18, 2004 8:08 am

First one you have DebuffCount set to 2 and it should be 1.

Second one you have Turgur's Insects spelled "Turgur's Insect".

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

Post by JimJohnson » Sun Apr 18, 2004 10:06 am

its typo didnt want to retart other pc to copy them at 4 am =/. even tho first ini is set to debuff count t2. it still shouldnt try and cast debuff 2 before debuff one. and even with a type on second. attempting to cast debuff 2 before debuff 1 is strange.

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

Post by ml2517 » Sun Apr 18, 2004 12:07 pm

2 would try to cast before 1 because of this:

Code: Select all

DebuffMinHealth1=95 
DebuffMinHealth2=100 
If the mob was pulled to you and still had 100 life your character would immediately try to debuff, it would see that with the 1st debuff that it shouldn't cast unless the mob is under 95 percent so it gets skipped. Then it debuffs with 2.

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

Post by JimJohnson » Sun Apr 18, 2004 12:18 pm

Code: Select all

[Settings]
Radius=100
NoSit=0
TrackNumber=10
SelfBuffCount=0
SelfBuff1=Self Buff Spell Name
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=0
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=0
SelfBuffIconCheck2=0
SelfBuffIconCheck3=0
SelfBuffIconCheck4=0
SelfBuffIconCheck5=0
SelfBuffIconCheck6=0
SelfBuffIconCheck7=0
SelfBuffIconCheck8=0
SelfBuffIconName1=Self Buff Icon Name
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
DebuffCount=2
Debuff1=Malos
Debuff2=Turgur's Insects
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=99999
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=0
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=Malos on %t
DebuffAnnounce2=Slowing %t
DebuffAnnounce3=Debuff Announcement
DebuffAnnounce4=Debuff Announcement
DebuffAnnounce5=Debuff Announcement
DebuffAnnounce6=Debuff Announcement
DebuffAnnounce7=Debuff Announcement
DebuffAnnounce8=Debuff Announcement
Announce=1
AnnounceChannel=group
PauseMacro=0
RetryCount=2
EventCount=0
EventSpell1=Event Spell Name
EventSpell2=Event Spell Name
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=100
EventMinMana2=100
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
PauseEvents=1
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
PauseHeals=1
GroupBuffCount=2
GroupBuff1=Focus of the Seventh
GroupBuff2=Blessing of Replenishment
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=4000
GroupBuffDuration2=1700
GroupBuffDuration3=99999
GroupBuffDuration4=99999
GroupBuffDuration5=99999
GroupBuffDuration6=99999
GroupBuffDuration7=99999
GroupBuffDuration8=99999
GroupBuffAtStart1=1
GroupBuffAtStart2=1
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=Focus of the Sevent
GroupBuffAnnounce2=Blessing of Replenishment
GroupBuffAnnounce3=Group Buff Announcement
GroupBuffAnnounce4=Group Buff Announcement
GroupBuffAnnounce5=Group Buff Announcement
GroupBuffAnnounce6=Group Buff Announcement
GroupBuffAnnounce7=Group Buff Announcement
GroupBuffAnnounce8=Group Buff Announcement
is the correct ini for the shaman with casting slow before malos

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

Post by ml2517 » Sun Apr 18, 2004 12:25 pm

Ok I can test with that with my lower level shaman. Does this happen at any time that you know of? Or is it when there are x amount of mobs etc.

That INI file also indicates that you aren't on the very latest version, although that shouldn't have anything to do with the debuff functions.

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

Post by ml2517 » Sun Apr 18, 2004 1:08 pm

Updated:
Fixed some issues with resist retries while I was investigating the problem that JimJohnson brought up.

JimJohnson,
Please try this latest version and see if the problem still exists.

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

Post by JimJohnson » Sun Apr 18, 2004 2:08 pm

testing it now. Was happing on single pulls not multi

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

Post by ml2517 » Sun Apr 18, 2004 5:35 pm

Updated:
Added in a safeguard to the debuff retry on resist code. If your spell gem has a recast timer of more than 10 seconds it will not retry the spell. Let me know if 10 is too low.

Wylker
a lesser mummy
a lesser mummy
Posts: 42
Joined: Tue Feb 10, 2004 5:32 pm

Post by Wylker » Sun Apr 18, 2004 6:21 pm

I have been trying to add a flag on each mob in the tracked array if they are immune to a debuff (slow). I mod'd spellcast to give a return type but can't seem to get the mob array adjusted accordingly...

Also ML have you had a chance to see if you can get the bot to sit down when hes done with his/her spells?

wylker

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

Post by ml2517 » Sun Apr 18, 2004 6:31 pm

As it stands now the resist retry will not take place if a mob is immune to slow. If you mean, learns what names of mobs that it shouldn't try to slow, I'm not going to go into that kind of depth for a little wasted mana.

As far as sitting down when they are done with their spells I'm assuming you mean immediately after casting (and not waiting for the sit routine to do its thing.). I think this is a bad idea, you have no idea if there are mobs in the area and/or if the mobs are aggro'd on you. I *could* make the sit routine a sub and call it after casts, although this might eat up alot of CPU. I'll mess with it and let you know how it works.

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

Post by ml2517 » Sun Apr 18, 2004 7:40 pm

Updated:
Reorganized the INI file. The next time you run the macro it will create the appropriate sections. You can just cut and paste your old settings from the Settings section to the new sections or rename your current INI before running the macro and have it generate a new one and migrate the settings by hand.

Changed the sit code to sit you down faster after finishing a spell cast if no mobs are aggro and heading for you.

Moved the sit code to its own sub and it is being called more often.

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

Post by ml2517 » Sun Apr 18, 2004 10:03 pm

Updated:
Worked on the heal code some to make sure group HoT's worked properly.

Let me know if you see any problems with anything.

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

Post by ml2517 » Sun Apr 18, 2004 11:46 pm

Just a suggestion also, when setting up your healing put your group heals to the top slots so they get checked first. The Min/Max HP thresholds you set for them are an average of the entire groups HP percent. Also be sure to set a minimum number of group members so you don't waste mana doing group heals on 2 or 3 people.

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

Post by ml2517 » Mon Apr 19, 2004 7:45 pm

Updated:
Threw in a small check to ensure that you are casting debuffs on NPC's only.

If you have an enchanter charming mobs in your group this should help to avoid casting debuffs on the mobs.

If for some reason the enchanter is slow to charm the mob your character will resume trying to debuff the mob.

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

Post by ml2517 » Tue Apr 20, 2004 6:56 pm

Updated:
Updated all /newif lines that didn't have a surrounding set of parenthesis with a set of them. In prep for the next updated.