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

User avatar
Coraz
a lesser mummy
a lesser mummy
Posts: 41
Joined: Mon Sep 09, 2002 11:24 pm

Post by Coraz » Fri Feb 20, 2004 11:38 pm

/macro autodebuff WHAM desktop

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

Post by ml2517 » Sat Feb 21, 2004 12:23 am

It's not the macro, I assure you of that. You'll have to find out why your MQ2 compile is crashing EQ.

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

Post by JimJohnson » Sat Feb 21, 2004 5:31 am

not recasting on resist with your spellcast ini on


http://macroquest2.com/phpBB2/viewtopic.php?t=5090


still working on the timers so not able to post on that yet prolly have it tested for you later today / tomorrow

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

Post by ml2517 » Sat Feb 21, 2004 7:38 am

Try the previous spellcast.inc (Obviously you won't be able to use any AA skills) and tell me if it recasts on resist.

Also, was the resist when it was casting an AA skill? If that is the case it makes sense, it'd likely not be ready again.

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

Post by JimJohnson » Sat Feb 21, 2004 1:02 pm

was just normal resist on slow. checked it again your spellcast is working. Must have been my PC. testint out the aa and timers now

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

Post by JimJohnson » Sun Feb 22, 2004 12:55 am

started having trouble recasting on resists again. Think having it the background causes it to lag to much. will try shaman on other pc in forground tomorow see if that fixes the resist recast issue.

Code: Select all

[Settings]
Radius=100
TrackNumber=20
DebuffCount=2
Debuff1=Malos
Debuff2=Turgur's Insects
Debuff3=Cripple
Debuff4=Debuff Spell Name
Debuff5=Debuff Spell Name
Debuff6=Debuff Spell Name
Debuff7=Debuff Spell Name
Debuff8=Debuff Spell Name
DebuffDuration1=99999
DebuffDuration2=280
DebuffDuration3=200
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
DebuffMinMobsInArea1=0
DebuffMinMobsInArea2=0
DebuffMinMobsInArea3=0
DebuffMinMobsInArea4=0
DebuffMinMobsInArea5=0
DebuffMinMobsInArea6=0
DebuffMinMobsInArea7=0
DebuffMinMobsInArea8=0
NoSit=1
PauseMacro=0
RetryCount=2
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
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=
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
recast works with Cripple but doesnt work with Turgur's Insects. tested the cripple on the guy in DL at wizzie circle. Tried to test slow but being immune dont think thats best mob to test it on.


So far events working pretty good just have to get use to getting all 4 events to the right settings.

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

Post by ml2517 » Sun Feb 22, 2004 2:29 pm

If you have logging in EQ turned on, do me a favor and find that slow resist and post the text here if you would please.

Shocks
a ghoul
a ghoul
Posts: 101
Joined: Tue Feb 18, 2003 3:26 pm
Contact:

Two things Im trying.

Post by Shocks » Sun Feb 22, 2004 5:59 pm

I would like to start of saying this is a great macro. Thank you very much for making and updating it.

Here is what Im looking to do.

1. I want to add in a way to add certain mobs to ignore. Such as wondering npcs that I dont want to attack.

2. Im trying to add a groupcheckhealth call to heal the group if we need it. Im currently working with a hacked verson of groupcheckhealth from genbot.

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

Post by JimJohnson » Sun Feb 22, 2004 9:20 pm

Your target resisted the Turgur's Insects spell.

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

Post by JimJohnson » Mon Feb 23, 2004 10:36 am

timers working out pretty good. have canni5 + quiescence.

Great work.


Self targeting for Quiescence is pretty nice


Edit.

Anyone else use this on shaman and getting no recast on resisted slows?

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

Post by ml2517 » Mon Feb 23, 2004 6:41 pm

My only guess would have to be that the resist message you get from slow lags a little because the server is checking for partial slows or something. If this is the case you might just need to put a small /delay before all of the /doevents lines in spellcast.inc.


Try changing the line in red in spellcast.inc and let me know if it works:

Code: Select all

[color=red]   /delay 3 [/color]
   /doevents Fizzle 
   /doevents Interrupt 
   /doevents Interrupt 
   /doevents Recover 
   /doevents Standing 
   /doevents OutOfRange 
   /doevents OutOfMana 
   /doevents NoLOS 
   /doevents Resisted 
Last edited by ml2517 on Mon Feb 23, 2004 6:49 pm, edited 1 time in total.

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

Re: Two things Im trying.

Post by ml2517 » Mon Feb 23, 2004 6:45 pm

Shocks wrote:I would like to start of saying this is a great macro. Thank you very much for making and updating it.

Here is what Im looking to do.

1. I want to add in a way to add certain mobs to ignore. Such as wondering npcs that I dont want to attack.

2. Im trying to add a groupcheckhealth call to heal the group if we need it. Im currently working with a hacked verson of groupcheckhealth from genbot.
Let me play around, I might add in the mob avoidance code.

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

Post by JimJohnson » Mon Feb 23, 2004 10:04 pm

k got tomorow to exp and mess around I check it out with the dely in it.



If you want it to heal group and everything why not just use the genbot itself? Use Genobot for everything but this as shaman only malos slows anyways and canni when lom.

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

Post by JimJohnson » Tue Feb 24, 2004 6:33 pm

Code: Select all

| SpellCast.inc 
| This will cast a spell reliably for you... 
| Usage: 
| /call Cast "spellname" 
| or 
| /call Cast "itemname" [item] 
| example: /call Cast "Death Peace" 
| example: /call Cast " 
| It will return the following values: 
| CAST_SUCCESS 
| CAST_UNKNOWNSPELL 
| CAST_OUTOFMANA 
| CAST_OUTOFRANGE 
| CAST_CANNOTSEE 
| CAST_STUNNED 
| CAST_RESISTED 
| 
| New Vars Modification 
| Plazmic's no globals needed version 
| 

| Oct 9, 2003 - Updated to work with new vars and $char(casting) - gf 
| Oct 11, 2003 - switched some logic, removed defines - gf 
| Oct 15, 2003 - Item support added by EqMule 
|  Modified to add automeming of spells. Goofmester1 
| Dec 26, 2003 fd fail 1 added by m0nk 

#event Fizzle "Your spell fizzles" 
#event Interrupt "Your casting has been interrupted" 
#event Interrupt "Your spell is interrupted." 
#event Recover "You haven't recovered yet..." 
#event Recover "Spell recovery time not yet met." 
#event Resisted "Your target resisted the " 
#event OutOfMana "Insufficient Mana to cast this spell!" 
#event OutOfRange "Your target is out of range, get closer!" 
#event NoLOS "You cannot see your target." 
#event Stunned "You cannot cast while stunned" 
#event Standing "You must be standing to cast a spell" 
#event Standing "has fallen to the ground." 
#event Collapse "Your gate is too unstable, and collapses." 

Sub Cast(SpellName,Item) 
   /sendkey up up 
   /sendkey up down 
   /delay 5 
   /if "@Item"=="Item" /goto :StartCast 
   /if n $char(gem,"@SpellName")==0 { 
      /memspell 5 "@SpellName" 
      /delay 5s 
      } 
   :StartCast 
      /if "@Item"=="Item" { 
         /call ClearReturnValue 
         /cast item "@SpellName" 
      } else { 
         /if n $char(gem,"@SpellName")==0 /return CAST_UNKNOWNSPELL 
         /call ClearReturnValue 
         /if n $char(gem,"@SpellName")<0 { 
            /delay 0 
            /goto :StartCast 
            } 
            /cast "@SpellName" 
         } 
   :WaitCast 
      /if "$char(casting)"=="TRUE" { 
      /delay 1 
      /goto :WaitCast 
      } 
   /delay 1 
   /doevents Fizzle 
   /doevents Interrupt 
   /doevents Interrupt 
   /doevents Recover 
   /doevents Standing 
   /doevents OutOfRange 
   /doevents OutOfMana 
   /doevents NoLOS 
   /doevents Resisted 
   /if "$return"=="CAST_RESTART" /goto :StartCast 
   /if "$return"!="CAST_SUCCESS" /return "$return" 
/return CAST_SUCCESS 

Sub ClearReturnValue 
/return NULL 

Sub Event_Fizzle 
/return CAST_RESTART 

Sub Event_Interrupt 
/return CAST_RESTART 

Sub Event_Recover 
   /delay 5 
/return CAST_RESTART 

Sub Event_Standing 
   /stand 
/return CAST_RESTART 

Sub Event_Collapse 
/return CAST_RESTART 

Sub Event_OutOfMana 
/return CAST_OUTOFMANA 

Sub Event_OutOfRange 
/return CAST_OUTOFRANGE 

Sub Event_NoLOS 
/return CAST_CANNOTSEE 

Sub Event_Stunned 
   /delay 1s 
/return CAST_RESTART 

Sub Event_Resisted 
/return CAST_RESISTED 
recasts Turgurs on resist


tried to put a 3 dely like you posted in your spell cast and still doesnt recast slow on resist. Anyone else having issues with this?

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

Post by ml2517 » Tue Feb 24, 2004 10:13 pm

So a half second delay does the trick?