Page 1 of 2

Request: Change title when melee monster is snared/slowed..

Posted: Wed Feb 01, 2006 10:55 am
by binkey994
I think somebody has done this before. Did a search, pulled up ~3000 entries.

I'm looking for a macro/plugin that changes the monster title color based on whether the monster is snared and/or slowed.

I'm running a monk solo in dungeons, it would be nice to see at a glance if the monster still needs snared, or I can switch to my primary dmg weapon set. I know a message comes up, but with all the battle spam, I sometimes miss it, hence the title color thing.

If this exists already, would someone point me there?

Thanks,

Posted: Wed Feb 01, 2006 10:59 am
by A_Druid_00
Set a timer inside your macro, or use the MQ2Timer plugin to keep track of the time left on your spells to recast manually. It had a nifty little XML window you can use to click on the mob's name and target them for refreshing that debuff back when I used to use it.

Posted: Wed Feb 01, 2006 2:39 pm
by gimp
EDIT: it worked well a bit for me then it crashed on zoning and stuff, because of the INI read on NPC name display. look at the code more like a concept than perfectly usable code :)



here is not exactly what you asked for but maybe something similar. look in gimp_selflern.inc of the krust macro for more

it will auto collect information about mobs who are immune to snare. When you see another mob with the same name in same zone, he will have ImmuneSnare attached to his name on screen

in krust_zoneinfo.ini (below code will auto create this information over time):

Code: Select all

[MobTypes_Snplant]
a plague fly_ImmuneSnare=1
a diseased gnat_ImmuneSnare=1
a hardshell stonemite_ImmuneSnare=1
a burrowing stonemite_ImmuneSnare=1
a stonemite_ImmuneSnare=1
in your macro:

Code: Select all

#Event MobImmuneSnare "Your target is immune to changes in its run speed."
Sub Event_MobImmuneSnare(string line)
	/declare chk string local ${Ini[krust_zoneinfo.ini, MobTypes_${Zone.ShortName}, ${Target.CleanName}_ImmuneSnare, FALSE]}
	/if (${chk.Equal[FALSE]} && ${Target.Type.Equal[NPC]}) {
		/echo # Debug: Storing information that ${Target.CleanName} is immune to snare
		/ini "ZONEINFO_FILE" "MobTypes_${Zone.ShortName}" "${Target.CleanName}_ImmuneSnare" "1"
	}
/return
in MacroQuest.ini, under [Captions], edit NPC= line into

Code: Select all

[Captions]
NPC=${If[${NamingSpawn.Mark},${NamingSpawn.Mark} - ,]}${If[${NamingSpawn.Assist},>> ,]}${NamingSpawn.DisplayName}${If[${NamingSpawn.Assist}, - ${NamingSpawn.PctHPs}%<<,]}${If[${NamingSpawn.Surname.Length},\n(${NamingSpawn.Surname}),]}${If[${Ini[krust_zoneinfo.ini,MobTypes_${Zone.ShortName},${NamingSpawn.DisplayName}_ImmuneSnare,0]}, ImmuneSnare,]}

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 2:43 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 2:45 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 2:46 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 2:47 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:00 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:01 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:02 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:03 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:05 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:07 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:08 am
by xyilla

Re: Request: Change title when melee monster is snared/slowed..

Posted: Fri Jul 04, 2025 4:09 am
by xyilla