Alerts, and how to add more of them

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Alerts, and how to add more of them

Post by theafkxper » Fri Sep 26, 2003 1:03 pm

Can anyone tell me how to add more alerts?

It seems that currently only alerts0-9 are availiable, and i woul dlike to add more for Mobtracking, at least assuming its not overly complicated/huge resourcehogger.

thanks
/afk

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Sat Sep 27, 2003 5:32 am

Why would you want more than 10 types of mobs.

Each of the 0-9 can contain lots of mobs, not just 1.

So if you wanted to prioritise mob1 mob2 and mob3 as your preferred choce of mob, but are prepared to handle mob4, mob5 and mob6 if there's none of 1,2 or 3 up you would put the first 3 in one list, the next 3 in another.

eg

Code: Select all

/Alert add 1 npc mob1
/Alert add 1 npc mob2
/Alert add 1 npc mob3
/Alert add 2 npc mob4
/Alert add 2 npc mob5
/alert add 2 npc mob6
/alert list 1
would show mobs 1 to 3, whereas
/alert list 2
would show mobs 4 thru 6.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Sat Sep 27, 2003 8:23 am

ap50 wrote:Why would you want more than 10 types of mobs.

Each of the 0-9 can contain lots of mobs, not just 1.

So if you wanted to prioritise mob1 mob2 and mob3 as your preferred choce of mob, but are prepared to handle mob4, mob5 and mob6 if there's none of 1,2 or 3 up you would put the first 3 in one list, the next 3 in another.

eg

Code: Select all

/Alert add 1 npc mob1
/Alert add 1 npc mob2
/Alert add 1 npc mob3
/Alert add 2 npc mob4
/Alert add 2 npc mob5
/alert add 2 npc mob6
/alert list 1
would show mobs 1 to 3, whereas
/alert list 2
would show mobs 4 thru 6.
The tracker macro he uses reads the ini and adds each to a list of it's own. I think it was done this way so that it can figure out exactly what mob is up and give the info line for that mob from the ini.

Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

boredom
a lesser mummy
a lesser mummy
Posts: 49
Joined: Thu Jun 19, 2003 3:45 pm

new functionality

Post by boredom » Sat Sep 27, 2003 8:46 am

don't know if this will help, but this was just added $alert(#,id) returns the id of the mob that triggered the alert (or the closest one if there is multiple)

/Bored

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Sat Sep 27, 2003 10:13 pm

aye, grimjack is correct

the purpose is that in areas such as VT, BoT, NToV, Ssra, multiple important mobs are up, and if 2 on the same alert are up, then i only get the highest one, whereas with the mac im currently using i am immeadiately notified if any mob spawns or dies. If anyone can thin kof a better way to do it other than adding more alerts, let me know.
thanks,
/afk