Page 1 of 1
Group Info
Posted: Tue May 11, 2004 6:41 pm
by Drumstix42
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
Posted: Tue May 11, 2004 6:48 pm
by Chill
this honestly looks like a 5 line hotkey to me =D about to type it out I do believe sir.
Posted: Tue May 11, 2004 6:57 pm
by Drumstix42
Or use this and have a one line hotkey, lol. Just attempting to learn 'something'.
...
Posted: Tue May 11, 2004 7:12 pm
by robdawg
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 :)
Posted: Tue May 11, 2004 7:37 pm
by Preocts
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
Posted: Tue May 11, 2004 10:07 pm
by Glasscoin
/who group
will also output a superwho of all your group's members.
Posted: Wed May 12, 2004 10:10 am
by Drumstix42
Nice Preocts :)
Posted: Mon May 17, 2004 8:02 am
by Klodderik
Could be sneaky to add max hp and AA title (for those using /showname 1).
Posted: Mon May 17, 2004 8:22 am
by Chill
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
Posted: Mon May 17, 2004 10:49 am
by TheAFKBard
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.
Posted: Mon May 17, 2004 10:53 am
by Preocts
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.