Page 3 of 5

Posted: Tue Dec 14, 2004 6:38 am
by A_Druid_00
You can declare a timer that gets set to the DS duration in totalseconds -10 or so seconds on startup. I just use my buffbeg to ask for buffs as they wear off though.

Posted: Sun Jan 30, 2005 6:20 pm
by Rebelt
Everytime I use it, it keeps targeting myself (not my target) and casting constantly (even though life full). I know its me. What am I doing wrong?

Here is my code:

|This is My First Try At Making A Macro
|Where it Says "PctHPs}<70) {" Change the 70 to What % You Want To Heal At
|Where It says "/cast 8", make sure you replace with whatever spell slot you'd like to continually cast @ that percent
---------------------------------------------------
|v1.01 Added the "/if (${Me.Casting.ID})" Command to keep from spamming if you're already casting (thanks A_Druid_00)
---------------------------------------------------
|v1.02 Added a "/target" command just put whoever you're looking to heal after /target (IE. /target Iamnoob)
---------------------------------------------------
|v1.03 Changed some things to work correctly (thx lum and LPW)
---------------------------------------------------
|v1.04 Changed to work with/without Mounts, will Auto-Sit Now. (thx peach and summar)
-----------------------------

#turbo

Sub Main

:loop
/if (${Me.Casting.ID}) /goto :loop
/target
/if (${Target Playername.PctHPs}<70) {
/goto :heal
} else {
/goto :loop
}


:heal
/cast 8
/if (${Me.Standing} && !${Me.Mount.ID}) /sit
}

/goto :loop

Posted: Tue Feb 01, 2005 6:36 am
by heklin
you need to specify your target,

example :

[code]
/target <playername>

/target somenamehere

[/code]

anotherwords, it should look like this..
[code]
#turbo

Sub Main

:loop
/if (${Me.Casting.ID}) /goto :loop
/target pcname
/if (${Target Playername.PctHPs}<70) {
/goto :heal
} else {
/goto :loop
}


:heal
/cast 8
/if (${Me.Standing} && !${Me.Mount.ID}) /sit
}

/goto :loop
[/code]


hmm weird, code tags dont wanna work ><

Posted: Wed Feb 02, 2005 11:42 am
by Rebelt
Thank you

what about this?

Posted: Thu Feb 03, 2005 6:11 am
by mauroxx

Code: Select all

| Usage  /macro heal (Target name) (percentage) (Heal Spell) (delay)
| specify 0 for percentage if u wish to use  delay

#Include spell_routines.inc 
#Turbo
#Chat chat
#chat tell

/declare QHeal outer "Pious Remedy"
/declare bleedingtarget string outer

Sub Main 

:loop 
/if (${Me.Casting.ID}) { 
/goto :loop 
} 

/if (${Defined[Param0]}){
 /target ${param0} 
 } else {
 /echo No target specified, please specify one
 /endmacro
 } 

/if (${Defined[Param1]}){
 /if (${Defined[Param2]}){
  /echo I am gonna heal ${Param0} with ${Param2} at ${Param1}%
  /if (${target}.PctHPs}<${Param 1}) { 
  /call heal 
  }
 } else {
  /if (${Defined[Param2]}){
   /echo I am gonna heal ${Param0} with ${Param2} at default 70%
   /if (${target}.PctHPs}<70) { 
   /call heal 
   } else {
   /echo I am gonna heal ${Param0} with Complete Healing at default 70%
   /if (${target}.PctHPs}<70) { 
   /call cast Complete Healing
 }
}

/if (${Defined[Param3]}){
 /if (${Param2}==0){
  /echo I am gonna heal ${Param0} with ${Param2} with ${Param3} delay
  :spellrdy
  /if (${Me.SpellReady["${param2}"]}){
   /delay ${Param3}
   /call heal
   } else {
   /goto :spellrdy
   } 
  }
 } 
}

|in case someone needs a fast heal
/if (${ChatText.Equal[heal]} || ${ChatText.Equal[heal me]}){ 
 /target pc ${ChatSender} 
 /if (${Target.Type.Equal[PC]} && ${Target.Distance}<=150) { 
  /tell ${ChatSender} Quick Heal inc 
  /call cast ${QHeal}
 }
 /target ${Param0}
/return 
}

|in case someone tells you to heal a target with fast heal
/if (${ChatText.Equal[heal ${bleedingtarget]}){ 
 /target pc ${bleedingtarget} 
 /if (${Target.Type.Equal[PC]} && ${Target.Distance}<=150) { 
  /tell ${bleedingtarget} Quick Heal inc 
  /call cast ${QHeal}
 }
 /target ${Param0}
/return 
}

 
/goto :loop 


Sub heal 
 /if (${Me.SpellReady["${param2}"]}) /call cast "${param2}" nodismount 
  
/return  

this includes
/tell heal target
/tell heal
/mac supercleric.mac tank percentage spell
or
/mac supercleric.mac tank 0 spell delay


Mauroxx

grrr

Posted: Thu Feb 03, 2005 7:30 am
by mauroxx
plz help... i tryed to run this macro i posted but... i keep getting an error on if clauses like

Code: Select all

/if (${Defined[Param0]}){ 
 /target ${param0} 
 } else { 
 /echo No target specified, please specify one 
 /endmacro 
 } 
and i get :
Failed to parse /if ..... couldnt find command to execute... can anyone help?

Mauroxx[/quote]

Posted: Mon Feb 07, 2005 3:43 pm
by MacroFest
Why would you post a different macro under mine? From what I see your macro really isn't KISS, and it really isn't nice to advertise other macros in one's post... And then ask for help on the macro you posted because you can't get it to work...

because...

Posted: Wed Feb 09, 2005 6:25 am
by mauroxx
because:

a) is same kind of macro
b) only healing at 70 is completely unuseful since it depends how many mobs are hitting you so it needs more options
c) cause posting an improvement to a macro is not denied anywere

Posted: Mon Feb 21, 2005 2:48 pm
by MacroFest
a) It is nowhere near the same kind of macro, besides, it's far from KISS
b) It doesn't "only" heal at 70, you can change that variable, I guess you just can't read
c) sure, posting an improvement to a macro isn't denied anywhere, but it's not an improvement first of all. It's a totally different macro, that you can't even seem to get to work. People like my macro, you can start a new thread for yours. It's totally rude to post another macro on someone's thread..

Posted: Mon Apr 18, 2005 4:23 pm
by MacroFest
Bump ~ Recieved a PM asking about this macro, so I am bumping it!
:D Live on Macro, Live on :D

This is a very useful macro, use it as you wish!

possible suggestion to this

Posted: Wed Apr 20, 2005 7:34 am
by pythag
I am not anywhere good enough to do this - but if you could add a tell command to cast1 or cast2 ect would keep buffing simple if you were using a druid say,

ie

/tell <powerleveler> cast 1 = power leveler cast spell slot 1 (damage shield)

/tell <powerleveler> cast 2 = power leveler cast spell slot 2 (Temp)

you can then control the buffs from one toon and rather than other bot macros I have seen can be used for any level rather than a high level buffer. Also you could set a DS between fights, rather than having it mid fight

Think this would be a simple way of doing things - if its simple to do or not thats another question, but this is a great macro anyway thank you

Re: possible suggestion to this

Posted: Wed Apr 20, 2005 1:18 pm
by Draconis
pythag wrote:I am not anywhere good enough to do this - but if you could add a tell command to cast1 or cast2 ect would keep buffing simple if you were using a druid say,

ie

/tell <powerleveler> cast 1 = power leveler cast spell slot 1 (damage shield)

/tell <powerleveler> cast 2 = power leveler cast spell slot 2 (Temp)

you can then control the buffs from one toon and rather than other bot macros I have seen can be used for any level rather than a high level buffer. Also you could set a DS between fights, rather than having it mid fight

Think this would be a simple way of doing things - if its simple to do or not thats another question, but this is a great macro anyway thank you
something like this?
http://macroquest2.com/phpBB2/viewtopic ... 9826#79826

if so yay i get to dig my macro out again. and one of these days I need to switch it over to an IRC chat command system, ah well ill get to it.

Yeah that would do it

Posted: Wed Apr 20, 2005 2:27 pm
by pythag
Yes Draconis that does it although would love to see where/how that began could you PM me if you still have it?

Posted: Wed Apr 20, 2005 3:47 pm
by Draconis
Well that came from looking at this macro actually. I wanted to be able to add some stuff to it and do what you are asking. So I banged out this beauty http://www.macroquest2.com/phpBB2/viewtopic.php?t=10448 and after 3 pages of suggestions and over 6 ( i stopped counting at 6) rewrites, I came out with what is posted in the above thread.

Thank you for the help

Posted: Thu Apr 21, 2005 8:01 am
by pythag
Ok Draconis thanks for the starting point, will post what I make in a new thread, and leave this one alone. And thanks Macrofest gave me a real good starting point :wink: