Necro Helper + HUD

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Necro Helper + HUD

Post by pw » Thu Mar 03, 2005 5:41 am

I developed a Necro helper macro that includes a DoT spell set of timers and experience tracking. It was previously VIP-only (pending feedback and bug reports), but is now available to all. It is available in the Wiki - go to http://www.macroquest2.com/wiki/index.p ... st2:Macros and click the Necro Helper link.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Mar 03, 2005 10:28 am

[[Necro Helper]]
You can use wiki links from the forum as if they were in the wiki instead of linking the url ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
xantan
a ghoul
a ghoul
Posts: 98
Joined: Wed Feb 09, 2005 11:17 pm
Location: Nevada
Contact:

Wow!

Post by xantan » Thu Mar 03, 2005 12:14 pm

thanks! i usually start a stopwatch and watch it to see how long i have until cascading darkness wears out, this will help alot! thank you sir!
ill test it and hopefully love it immediatly.
[b]=/[/b]

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

cunning plan

Post by pw » Thu Mar 03, 2005 12:14 pm

True ... but my cunning plan was to encourage others to add their macros to that nice place-holder page you had created :D I'm loath to post other macros there that I happen to use as I didn't write them. Yafm and Kaladim fungi harvester for example.

Casper the Wizard
decaying skeleton
decaying skeleton
Posts: 4
Joined: Tue Jun 08, 2004 9:17 pm

Post by Casper the Wizard » Sun Apr 03, 2005 5:38 pm

The macro works good, but I'm unable to get the Hud to display... except in the case after you kill the mob, it displays the amount of xp you just received. I do have MQ2HUD plugin loaded, and I've created and inserted the text for the MQ2HUD.ini file. Anyone else have this happen? Seems to me I'm just doing some boneheaded thing here, probably a typo, I'll continue to look into it.

Thanks

Casper

Okay figured it out... I forgot to Turn on the Network Meter [F11]. DOH!

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Updated

Post by pw » Fri Apr 22, 2005 7:02 am

An updated version is in the WIKI: http://www.macroquest2.com/wiki/index.php/Necro_Helper

- Added some more spells
- Added an extra timer slot
- Added option to do a /gsay to tell your group what you're up to

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Post by pw » Tue Apr 26, 2005 4:17 am

Ok, wiki updated again as I had a couple of "features"

- gsay reporting was too fast, so I put a delay in so its not quite so obviously macroed. Could probably improve this to be a randomized delay, or omit on occasion.

- if battle spam was on, it would report other group member's casting hits ! Really obviously a macro :oops: I have added a check on the gsay reporting for each cast hit to make sure it relates to the spell you last cast.

- cleaned up the code indentation a bit too

guy
orc pawn
orc pawn
Posts: 18
Joined: Tue Jan 18, 2005 9:59 pm

Post by guy » Fri Apr 29, 2005 2:53 am

where does this get it's value?

Code: Select all

${Spell[${DebuffSpell}].Duration}

I am getting the wrong time for bond of death and only bond of death, so I can only guess that it's using the wrong value to calculate the time. I'm going to go mess with it a bit more in game. It shows me 18 seconds as the duration, and the value from echoing ^^ that up there is 3 (should be 9).

I'm pretty sure I spelled it correctly

Code: Select all

/varset DebuffSpell Bond of Death

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Post by pw » Fri Apr 29, 2005 3:27 am

guy wrote:where does this get it's value?

Code: Select all

${Spell[${DebuffSpell}].Duration}

I am getting the wrong time for bond of death and only bond of death, so I can only guess that it's using the wrong value to calculate the time. I'm going to go mess with it a bit more in game. It gives me 24 seconds as the duration.

I'm pretty sure I spelled it correctly

Code: Select all

/varset DebuffSpell Bond of Death
If you mis-spell the spell's name, you don't get any timer information - so you got it right in the macro.

There are a number of spells where the "Duration" property comes out at the wrong value, Saryrn's Kiss is another. I *think* its because the timer calculation is unknown in some cases, so the MQ2 code can't fill in the right value for it. These 2 particular spells don't really worry me as you can always see the recourse buff flashing when its about to expire. The timers are correct for the critical spells (snare !).

I would have reported it as a bug a while ago, but a bug report without specifying what the fix should be is pretty useless. IRL I'm a software developer, a bug report that says "Its broken, fix it" without saying what the expected result should be, ends up at the bottom of my todo list. As the MQ2 devs are not being paid to deal with crap, I didn't throw any their way.

I used to do a lot of C++ (switched to java about 8 years ago - lots more money !), perhaps its time to dust off that knowledge and go look at the MQ2 code and submit a patch.

guy
orc pawn
orc pawn
Posts: 18
Joined: Tue Jan 18, 2005 9:59 pm

Post by guy » Fri Apr 29, 2005 3:41 am

thanks for the quick reply.
I know a little c++ so I'm trying to look through the source code now.

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

update 3rd July 2005

Post by pw » Sun Jul 03, 2005 5:22 pm

Wiki has been updated with the latest version of this. I fixed the bugs that showed up as a result of the change in MQ2 to stop abuse of the String TLO.

Thanks are due to "loadingpleasewait" in VIP for helping me understand string comparison syntax.

flay
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Jul 15, 2005 10:15 pm

"NULL" target issue and my fix

Post by flay » Mon Aug 08, 2005 10:42 pm

First off, I love this macro. It makes things so much easier in my playing. I have encountered a problem while using it in group mode, If the mob dies before the announcement in /gsay it will say "NULL" which is a dead giveaway that I'm using a macro(fortunetly only happend while grouped with close friends). So I would like to share my fix, not sure its the most elegant way of correcting issue, but if it is a kludge at least its a kludge that works.

Original Sub:

Code: Select all

Sub ReportCast
   /echo ${DebuffSpell} 
   /if (${groupmode}==1 && ${LastSpell.Equal[${DebuffSpell}]}) {
       /delay 2s
       /gsay ${SpellType} on ${Target.CleanName} with ${DebuffSpell}. ${SpellInfo}.
   }
/return 
My Fix:

Code: Select all

Sub ReportCast
   /echo ${DebuffSpell} 
   /if (${groupmode}==1 && ${LastSpell.Equal[${DebuffSpell}]}) {
       /delay 2s
[color=red]       /gsay ${SpellType} on ${If[${Target.CleanName.NotEqual["NULL"]},${Target.CleanName},"Target"]} with ${DebuffSpell}. ${SpellInfo}.[/color]
   }
/return 
This has fixed the problem for me, if there is a better way by all means tell me, I'm very new to scripting MQ2 macros.

Thanx and happy hunting.

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Post by pw » Tue Aug 09, 2005 3:08 am

Hadn't seen that behaviour before, but your fix looks good to me. I usually save my mana and let those lazy tanks finish the mobs off :twisted:

I've updated the Wiki version with it - and also with a small fix in SetupTimer that stops timers being kicked off for other people's casts.

Glad to know its not just me using it.