Page 2 of 5

Posted: Mon Oct 04, 2004 8:51 pm
by A_Druid_00
Could also add a check for a mount before attempting to sit. Good stuff though, it's kind of fun watching this one evolve

Posted: Fri Oct 08, 2004 9:49 pm
by peach

Code: Select all

#turbo 

Sub Main 

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


:heal 
/cast 1 
/delay 5 
/if (${Target.PctHPs}<30) { 
/goto :heal 
} else { 
/delay 30 
/if (${Me.Standing} && !${Me.Mount.ID}) /sit 
} 
/goto :loop 

Posted: Sat Oct 09, 2004 1:06 pm
by Airvz
Reading this thread is great.. It is slowly building.. I'm waiting for it to keep the specific "plvl buffs" up on your plvl'd toon.

Posted: Wed Oct 13, 2004 1:51 pm
by MacroFest
Well! I'm glad you guys like it.... in that case.... /bump! :arrow: :arrow:

Code: Select all

|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.PctHPs}<70) { 
/goto :heal 
} else { 
/goto :loop 
} 


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

/goto :loop

Posted: Wed Oct 13, 2004 9:55 pm
by peach
should update the first post :)

spellcast.inc

Posted: Sat Oct 16, 2004 2:16 pm
by Twister
Actually...(disagree with me if ya know better) you probably should use spellcast.inc because I know there is a version of it out there that has spellcast failure routines in it. that way if your spell fizzles or something it will auto recast.

Re: spellcast.inc

Posted: Sat Oct 16, 2004 9:10 pm
by MacroFest
Twister wrote:Actually...(disagree with me if ya know better) ...
Consider it done:

The macro is already going in a loop, in the case of a fizzle, it will continue the loop, making it recast as many times as it takes until the spell is completed and your target is over the applied percent.



... Checkmate

update the origional post

Posted: Sat Oct 16, 2004 10:15 pm
by Chatwiththisname
Actually I like to see the Macro's Evolve, most people do append to their first post overwriting the code, and for us newb code writers the information from start to end helps, to actually see the difference of the code go from newb KISS to Elite, IMHO keep it going like this, btw love the code, and the posts, yet to see flaming :-D

Posted: Sun Oct 17, 2004 11:58 am
by MacroFest
Thanks Chatw, that means alot. Being a newbie on any message board opens up alot of chances for flaming. It's very nervewrecking when people talk your macro down. Thankfully, I haven't got any of that yet. I did alot on this macro, but it couldn't be what it is today, if it weren't for some of the kind people pointing out my mistakes, and adding some of thier own commands to make it work smoothly, and have more features than before..

These people I have added to my Version Tributes, which will stay on the macro forever and ever, for all to see.

This being my first macro, I think I did pretty good, and I'm glad that people like and/or love it! The closest thing I've come to coding, until now, was javascript :lol: it works though. Gave me the basic ideas, and creative thinking to put this together.

Thank You... All of you,

MacroFest

Posted: Tue Oct 19, 2004 11:55 pm
by MacroFest
I'm gonna bump this one more time, see if anyone has any more input on this or would like to comment. I don't think this will be stickied, my hopes have been crushed. No, kidding lol, I didn't expect it, your praise and assistance is enough...

Heal % and cast slot

Posted: Wed Oct 20, 2004 12:25 pm
by Twister
A better idea instead of modifying the macro for % and spell slot would be to allow the user to enable from command line like
/mac healer.mac 8 60 (8 is the spell slot and 60 is the percent) because certain situtations might require diffrent values for each (for example i always keep a heal memmed just not in the same slot on every spell profile. and sometimes always healing at a certain % is a waste of mana or may not be enough and you have to change the value really fast.

The current charge for this piece of advice is: 2 cents + tax. =)

Posted: Wed Oct 20, 2004 5:01 pm
by MacroFest
Got change for a $20?

Another 2 cents worth

Posted: Thu Oct 21, 2004 12:52 am
by Twister
Heres another couple ideas I think would be kinda nifty.

1. Add a section that says if pcthp is less than 30 then do a quickheal. (perfect example, unslowed mob in alot of the pop/god zones hits really hard really fast before a full heal (typically 10 seconds) can go off.
This could easily be added just above the initial /if ($(Target.PctHPs)

2. Another idea (since this is a PLing macro) Is to be able to feed in a list of names from the command line, and then the script would store those names into an array and target each of them, check their HP and if its below the limit then heal that person. (this way you could PL more than one toon at a time.

I may have some more for ya later, but I have this tiny window between the time I start to fall asleep and the time im so out of it that a nuke exploding at my feet wouldnt wake me that I can think clear enough to actually have decent ideas. and unfortuinatly that time has come...and gone.

Posted: Sun Nov 07, 2004 3:25 pm
by MacroFest
BuMp :arrow: :arrow:

Posted: Mon Dec 13, 2004 11:59 pm
by heklin
great, simple, and effective macro i love it!!

any ideas on modifying it to keep say, a DS on your target without making it massively complex? ive been fooing around and havent yet found a simple effective way to do it?

currently im useing an event to cast DS on target by tell command but by no means is it simple ><