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

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

binkey994
orc pawn
orc pawn
Posts: 11
Joined: Sat Nov 26, 2005 10:18 pm

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

Post by binkey994 » Wed Feb 01, 2006 10:55 am

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,

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Wed Feb 01, 2006 10:59 am

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.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Wed Feb 01, 2006 2:39 pm

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,]}

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 2:43 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 2:45 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 2:46 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 2:47 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:00 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:01 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:02 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:03 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:05 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:07 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:08 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jul 04, 2025 4:09 am