Group Info

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

Moderator: MacroQuest Developers

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Group Info

Post by Drumstix42 » Tue May 11, 2004 6:41 pm

This is a very simple macro. Just getting down the basics of MQ2 myself. Guess best use for this is upon joining a LDoN group or such, to easily figure out who everyone is in the group.

/macro groupinfo

If no one is a group slot it will just show: *

Code: Select all

|-- groupinfo.mac
|-- by Drumstix42
|-- 10-05-2004
|----------------------------------------------------
|-- Returns information on your current group
|-- including Name, Level, and Class

Sub Main
   /echo F2: ${If[${Group[1].ID},${Group[1].Name} - ${Group[1].Level} ${Group[1].Class},*]}
   /echo F3: ${If[${Group[2].ID},${Group[2].Name} - ${Group[2].Level} ${Group[2].Class},*]}
   /echo F4: ${If[${Group[3].ID},${Group[3].Name} - ${Group[3].Level} ${Group[3].Class},*]}
   /echo F5: ${If[${Group[4].ID},${Group[4].Name} - ${Group[4].Level} ${Group[4].Class},*]}
   /echo F6: ${If[${Group[5].ID},${Group[5].Name} - ${Group[5].Level} ${Group[5].Class},*]}
/endmacro

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Tue May 11, 2004 6:48 pm

this honestly looks like a 5 line hotkey to me =D about to type it out I do believe sir.

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Tue May 11, 2004 6:57 pm

Or use this and have a one line hotkey, lol. Just attempting to learn 'something'.

robdawg
a ghoul
a ghoul
Posts: 114
Joined: Tue Mar 23, 2004 11:54 am
Contact:

...

Post by robdawg » Tue May 11, 2004 7:12 pm

Hell I think it is cool and I will use it, I always do a /who all on my group members. Now I will just use this :)
ROBDAWG

[url=http://www.seathound.com]Seat Hound[/url]
[url=http://www.sportsrumormill.com]Sports Rumor Mill[/url]
[url=http://www.packerforum.com]Packer Forum[/url]

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Tue May 11, 2004 7:37 pm

See? Really usefull utilities are made from stuff like this. How bout a HuD creator that places this information where you tell it to?

Hell? Don't like changing your HuD.ini... here is a macro util that does it for you.

Code: Select all

|-- groupinfo.mac 
|-- by Drumstix42 
|-- 10-05-2004 
|---------------------------------------------------- 
|-- Returns information on your current group 
|-- including Name, Level, and Class 
|-- Preocts was here.

Sub Main(X,Y)
  /if (!${Defined[Y]}) {
    /declare Y int local 200
    /if (!${Defined[X]}) {
      /declare X int local 1
    }
  }

  /ini "../mq2hud.ini" "elements" "GroupInfo2" "1,${X},${Y},255,255,255,${If[${Group[1].ID},F2:  ${Group[1].Name} - ${Group[1].Level} ${Group[1].Class},*]}"
  /ini "../mq2hud.ini" "elements" "GroupInfo3" "1,${X},${Math.Calc[${Y}+10]},255,255,255,${If[${Group[2].ID},F3:  ${Group[2].Name} - ${Group[2].Level} ${Group[2].Class},*]}"
  /ini "../mq2hud.ini" "elements" "GroupInfo4" "1,${X},${Math.Calc[${Y}+20]},255,255,255,${If[${Group[3].ID},F4:  ${Group[3].Name} - ${Group[3].Level} ${Group[3].Class},*]}"
  /ini "../mq2hud.ini" "elements" "GroupInfo5" "1,${X},${Math.Calc[${Y}+30]},255,255,255,${If[${Group[4].ID},F5:  ${Group[4].Name} - ${Group[4].Level} ${Group[4].Class},*]}"
  /ini "../mq2hud.ini" "elements" "GroupInfo6" "1,${X},${Math.Calc[${Y}+40]},255,255,255,${If[${Group[5].ID},F6:  ${Group[5].Name} - ${Group[5].Level} ${Group[5].Class},*]}"
/endmacro


Glasscoin
a lesser mummy
a lesser mummy
Posts: 55
Joined: Mon Jan 13, 2003 8:57 am

Post by Glasscoin » Tue May 11, 2004 10:07 pm

/who group

will also output a superwho of all your group's members.

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Wed May 12, 2004 10:10 am

Nice Preocts :)

Klodderik
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon May 17, 2004 8:00 am

Post by Klodderik » Mon May 17, 2004 8:02 am

Could be sneaky to add max hp and AA title (for those using /showname 1).

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Mon May 17, 2004 8:22 am

Done. Havent tested today with your most recent additions, but should look like:

F2: [65 Paladin] Duke Thumper Whacker <Too Leet 4 U> (9700HP/6100Mana+12)
F3: [65 Cleric] Exarch HealAlot RezJooNot <Too Leet 4 U> (6400HP/7250Mana+47)
F4: [65 Wizard] Barron Ima GetDropped <Wanna Be Leet> (3269HP/3400Mana+2)
...

Code: Select all

Sub Main

/declare c int outer

/if (${Group} > 0) {
   /for c 1 to ${Group}
      /echo F${${Math.Calc[${Group}+1]}(int)}: [${Group[${c}].Level} ${Group[${c}].Class}] ${Group[${c}].AATitle} ${Group[${c}].Name} ${Group[${c}].Surname} <${Group[${c}].Guild}> (${Group[${c}].MaxHPs}HP/${Group[${c}].MaxMana}Mana+${Group[${c}].ManaRegen})
   /next c

   /return TRUE
}
/return FALSE

TheAFKBard
a ghoul
a ghoul
Posts: 133
Joined: Tue Dec 30, 2003 9:48 pm

Post by TheAFKBard » Mon May 17, 2004 10:49 am

Nice as it sounds, MQ (and EQ) has no clue as to the mana regen and max hp of your groupmates. Perhaps an ini file could be created to hold this info, if it's available.

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Mon May 17, 2004 10:53 am

HP, Mana, regens, and anything else you can think of that does not directly involve you is all serverside. The exception would be the HP% which is indeed spammed across your connection constantly.