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

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

Post by JimJohnson » Mon Mar 15, 2004 9:13 am

for the Wizzie wanting to auto nuke

Code: Select all

[Settings]
Radius=100
NoSit=1
TrackNumber=20
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
DebuffCount=2
Debuff1=item Staff of Temperate Flux
Debuff2=Draught of E`Ci
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=5
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=99
DebuffMinHealth2=95
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
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0
DebuffMinMobsInArea4=0
DebuffMinMobsInArea5=0
DebuffMinMobsInArea6=0
DebuffMinMobsInArea7=0
DebuffMinMobsInArea8=0
PauseMacro=0
RetryCount=2
EventCount=3
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=60
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=600
EventDuration2=500
EventDuration3=0
EventDuration4=0
EventDuration5=0
EventDuration6=0
EventDuration7=0
EventDuration8=0
PauseEvents=0


event code working for me still. doesnt seem to want to auto target after the 13th zip tho.

nemiq
orc pawn
orc pawn
Posts: 23
Joined: Tue Jan 13, 2004 1:36 am

Post by nemiq » Thu Mar 18, 2004 8:39 pm

This macro works great, except when I set it to min mobs in camp = 2 for my first debuff it stops auto targetting for debuff? Anyone have any ideas?

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

Post by ml2517 » Thu Mar 18, 2004 9:43 pm

I'd need help from others in pinning this down as well. I've never actually used this in combat, as I haven't really played for 6+ months.

Does it state that it is debuffing the mob and yet doesn't target them?

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

Post by Wylker » Sat Mar 20, 2004 12:28 pm

It's odd, the macro isn't autotargetting, but when I click on a mob, it will start debuffing everything... This was with minmobs set to 0, gonna test with some different values...


wylker

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

Post by Wylker » Sat Mar 20, 2004 12:55 pm

Ok heres some info, I havnt tracked down the code problem yet though. If DebuffMinHealth1 is not set to 100, the macro will not target mobs. As long as DebuffMinHealth1=100, the macro will begin targetting, debuffing, nuking, whatever, correctly...

Wylker

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

Post by ml2517 » Sat Mar 20, 2004 1:01 pm

That is a per debuff setting. If the mob is at 100 percent health and you have DebuffMinHealth1=99 it wouldn't try to target the mob and debuff that mob with Debuff1.

It should however be going on to Debuff2 and doing its targeting etc. provided DebuffMinHealth2 is 100 etc. and also presuming you have DebuffCount equal to 2 or higher.

Is this not the case?

Also please post your current INI or its very hard to troubleshoot.

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

Post by Wylker » Sat Mar 20, 2004 1:07 pm

From what i am seeing, it appears that the entire targetting code wont initialize unless that first setting is at 100. If it's not, none of the debuffs fire off and nothing is targetted. At that point, if you manually click on a mob, the debuffs will start at the correct minhealth.

I have a working INI for a wizard, this is how i fixed it:

Code: Select all

[Settings] 
Radius=100 
NoSit=0
TrackNumber=20 
SelfBuffCount=1 
SelfBuff1=item Staff of the Four
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=99999
SelfBuffDuration2=0 
SelfBuffDuration3=0 
SelfBuffDuration4=0 
SelfBuffDuration5=0 
SelfBuffDuration6=0 
SelfBuffDuration7=0 
SelfBuffDuration8=0 
SelfBuffAtStart1=1
SelfBuffAtStart2=0 
SelfBuffAtStart3=0 
SelfBuffAtStart4=0 
SelfBuffAtStart5=0 
SelfBuffAtStart6=0 
SelfBuffAtStart7=0 
SelfBuffAtStart8=0 
DebuffCount=4
Debuff1=Debuff Spell Name 
Debuff2=item Staff of Temperate Flux 
Debuff3=Draught of Ice
Debuff4=Atol's Spectral Shackles
Debuff5=Debuff Spell Name 
Debuff6=Debuff Spell Name 
Debuff7=Debuff Spell Name 
Debuff8=Debuff Spell Name 
DebuffDuration1=99999 
DebuffDuration2=99999
DebuffDuration3=10 
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=99
DebuffMinHealth3=75
DebuffMinHealth4=50 
DebuffMinHealth5=100 
DebuffMinHealth6=100 
DebuffMinHealth7=100 
DebuffMinHealth8=100 
DebuffMinHealthNoCast1=0 
DebuffMinHealthNoCast2=0 
DebuffMinHealthNoCast3=0 
DebuffMinHealthNoCast4=0 
DebuffMinHealthNoCast5=0 
DebuffMinHealthNoCast6=0 
DebuffMinHealthNoCast7=0 
DebuffMinHealthNoCast8=0 
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0 
DebuffMinMobsInArea4=0 
DebuffMinMobsInArea5=0 
DebuffMinMobsInArea6=0 
DebuffMinMobsInArea7=0 
DebuffMinMobsInArea8=0 
PauseMacro=0 
RetryCount=2 
EventCount=1 
EventSpell1=Harvest 
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=60 
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=600 
EventDuration2=0 
EventDuration3=0 
EventDuration4=0 
EventDuration5=0 
EventDuration6=0 
EventDuration7=0 
EventDuration8=0 
PauseEvents=0 
PS i went back and added an event for immune mobs, (slow or snare), something to think about :)

wylker

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

Post by ml2517 » Sat Mar 20, 2004 1:33 pm

Umm I have no idea why you are having to do that. I am in game right now testing it and it works perfectly fine. Here is the INI I'm testing with.

It starts off with Burn just like it should do and then once their HP are low enough (after being hit with burn) it finishes the first debuff cycle and then hits them with Fire Bolt. Who's spellcast.inc are you using? That is the only other thing I can think of that would be different. Also, when I ask you to post your INI file I want the one that you were actually having trouble with. Posting a half ass work around really doesn't help me debug it.

Also, if you are working with a modified version of my code don't bother posting.

Code: Select all

[Settings]
Radius=100
NoSit=0
TrackNumber=20
SelfBuffCount=1
SelfBuff1=Transons Phantasmal Protection
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
DebuffCount=2
Debuff1=Flame Bolt
Debuff2=Burn
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=1
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=99
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
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0
DebuffMinMobsInArea4=0
DebuffMinMobsInArea5=0
DebuffMinMobsInArea6=0
DebuffMinMobsInArea7=0
DebuffMinMobsInArea8=0
PauseMacro=1
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

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

Post by Wylker » Sat Mar 20, 2004 1:38 pm

Using your most current spellcast.ini... I see that you have burn set to hit at 100 health. Try using an INI with no debuffs set to start until 90, or even 99...

I didnt have a copy of the INI from when it wasnt working. Let me rebuild it and post, sec...

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

Post by ml2517 » Sat Mar 20, 2004 1:39 pm

So... Is someone actually there and doing enough damage to get the mob down to the HP percent you have them set at?

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

Post by Wylker » Sat Mar 20, 2004 1:43 pm

broken ini:

Code: Select all

[Settings] 
Radius=100 
NoSit=0
TrackNumber=20 
SelfBuffCount=1 
SelfBuff1=item Staff of the Four
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=99999
SelfBuffDuration2=0 
SelfBuffDuration3=0 
SelfBuffDuration4=0 
SelfBuffDuration5=0 
SelfBuffDuration6=0 
SelfBuffDuration7=0 
SelfBuffDuration8=0 
SelfBuffAtStart1=1
SelfBuffAtStart2=0 
SelfBuffAtStart3=0 
SelfBuffAtStart4=0 
SelfBuffAtStart5=0 
SelfBuffAtStart6=0 
SelfBuffAtStart7=0 
SelfBuffAtStart8=0 
DebuffCount=3
Debuff1=item Staff of Temperate Flux 
Debuff2=Draught of Ice
Debuff3=Atol's Spectral Shackles
Debuff4=Debuff Spell Name 
Debuff5=Debuff Spell Name 
Debuff6=Debuff Spell Name 
Debuff7=Debuff Spell Name 
Debuff8=Debuff Spell Name
DebuffDuration1=99999 
DebuffDuration2=10
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=99 
DebuffMinHealth2=75
DebuffMinHealth3=50
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 
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0 
DebuffMinMobsInArea4=0 
DebuffMinMobsInArea5=0 
DebuffMinMobsInArea6=0 
DebuffMinMobsInArea7=0 
DebuffMinMobsInArea8=0 
PauseMacro=0 
RetryCount=1 
EventCount=1 
EventSpell1=Harvest 
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=60 
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=600 
EventDuration2=0 
EventDuration3=0 
EventDuration4=0 
EventDuration5=0 
EventDuration6=0 
EventDuration7=0 
EventDuration8=0 
PauseEvents=0 

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

Post by ml2517 » Sat Mar 20, 2004 2:12 pm

I think we've narrowed this issue down to the EQ client not recieving updated HP percentages for the mobs that are in your location(That you've never targeted.). We are trying some things to see what can be done to update it.

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

Post by ml2517 » Sat Mar 20, 2004 3:06 pm

Updated:

Trying to work around the limitation of HP Percent not updating unless you target. Give this version a try. It /target's mobs more often than before but isn't a rediculous amount.

Wylker just confirmed that this worked in IRC.

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

Post by ml2517 » Sun Mar 21, 2004 8:14 pm

Updated:

Someone asked for a DebuffMinMana setting per debuff to prevent certain debuffs from being cast if you are under a certain percentage of mana. I went ahead and added this feature.

nemiq
orc pawn
orc pawn
Posts: 23
Joined: Tue Jan 13, 2004 1:36 am

Post by nemiq » Mon Mar 22, 2004 6:56 pm

Is there any way to make it so as one of the debuffs instead of it being a spell, /pet attack?