Page 1 of 1
Number of Guild Members in zone
Posted: Mon May 17, 2004 2:16 pm
by Drunkdwarf
Any way to do this in the Hud ini file? I use MQ2 exclusively for information such as the time, target information, status of AA abilities and such, and I would like to use the command:
Raid =3,212,75,255,0,0,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]} ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
to also list the number of Guild members in the current zone as well, so it would look like:
In Raid - 43 Raid Level 65.0 - 46 Guild in zone
I searched the forums for various things such as Guildmember, guild, etc. but other than adding my own plugin or modding an existing one to count Guild members or total spawns of any type for that matter I don't see how. I'm a software developer so it wouldn't be an issue to do so, but if this already exists I'd rather use it instead.
Any ideas, suggestions?
Posted: Mon May 17, 2004 2:23 pm
by Oid
/who guild
Posted: Mon May 17, 2004 2:31 pm
by Drunkdwarf
I was thinking something more along the line of
currentzone.Members[guildname]
or
guild[guildname].NumInZone
or similar.
I assume you mean I could parse the output of the /who guild and count how many the /who command finds, but like I stated, if there is a way to do this simply in the hud ini file I'd rather use that. Parsing the /who output seems like I'd have to macro it or write a plugin.
I just need the number of members in the current zone, not a listing of who those members are.
Posted: Mon May 17, 2004 2:41 pm
by Lax
I'll look into it. I need to crack open the guild window

Posted: Mon May 17, 2004 7:41 pm
by Drunkdwarf
LOADING. PLEASE WAIT...
Thanks Lax.
Of course the above text gave me some ideas of how to do this, so I'll also look into it from my side, but from a 15000 foot level it seems that I'll have to tear into MQ2Hud, add some data structure for Guild information, therefore probably changing EQClasses, MQ2DataTypes, and a few other files. That would make merging new changes from this site with my changes a real PITA. I guess I could use CVS.
BTW, if you need someone to test the solution, project files, build environment, etc. for VS .NET 2003 I'd like to throw my hat in the ring. I really like what you're doing (though I personally frown on the macro side of this). The UI enhancements and other non-macro things are mostly functionality Sony should have added LONG ago IMO.
DD
Posted: Tue May 18, 2004 12:19 am
by Lax
Nah you dont have to change EQClasses or MQ2HUD at all. Actually you could do all of your changes in a plugin, and just create a MQ2Data top level object using the API. Not too difficult, thats what MQ2 is designed for

Posted: Tue May 18, 2004 12:46 am
by Drunkdwarf
Hmmm, lemme do some playing with the code :)
Posted: Thu May 27, 2004 9:25 am
by Drunkdwarf
New MQ2Data Top-Level Object:
int SpawnCount[search]: Total number of spawns in current zone matching the search
Thanks a ton! EXACTLY what I was looking for (before I even try and use it I know, lol)
Posted: Thu May 27, 2004 11:03 am
by Lax
Yes that's exactly what you want, you're welcome :)
Posted: Tue Jul 19, 2005 12:40 am
by Fabolous1
I know this could be dumb but, is there a way to make a HUD that shows all the people below or higher by 4 levels in HUD, except for in PoK/PoT/Bazaar/Nexus?
So far I have
/who pc range ${Math.Calc[${Me.Level}-4]} ${Math.Calc[${Me.Level}+4]}

Posted: Tue Jul 19, 2005 3:41 am
by Night Hawk
If you mean the MQ2Hud....This "should" show the closest 5 people in the zone that are within 4 levels of you.
Code: Select all
${If[${Zone.ShortName.NotEqual["PoKnowledge"]},${If[${Zone.ShortName.NotEqual["Potranquility"]},${If[${Zone.ShortName.NotEqual["Bazaar"]},${If[${Zone.ShortName.NotEqual["Nexus"]},${If[${NearestSpawn[2,pc].ID},${If[${NearestSpawn[2,pc].Level}>=${Math.Calc[${Me.Level}-4]},${If[${NearestSpawn[2,pc].Level}<=${Math.Calc[${Me.Level}+4]},${NearestSpawn[2,pc]},]},]},]},]},]},]},]}
${If[${Zone.ShortName.NotEqual["PoKnowledge"]},${If[${Zone.ShortName.NotEqual["Potranquility"]},${If[${Zone.ShortName.NotEqual["Bazaar"]},${If[${Zone.ShortName.NotEqual["Nexus"]},${If[${NearestSpawn[3,pc].ID},${If[${NearestSpawn[3,pc].Level}>=${Math.Calc[${Me.Level}-4]},${If[${NearestSpawn[3,pc].Level}<=${Math.Calc[${Me.Level}+4]},${NearestSpawn[3,pc]},]},]},]},]},]},]},]}
${If[${Zone.ShortName.NotEqual["PoKnowledge"]},${If[${Zone.ShortName.NotEqual["Potranquility"]},${If[${Zone.ShortName.NotEqual["Bazaar"]},${If[${Zone.ShortName.NotEqual["Nexus"]},${If[${NearestSpawn[4,pc].ID},${If[${NearestSpawn[4,pc].Level}>=${Math.Calc[${Me.Level}-4]},${If[${NearestSpawn[4,pc].Level}<=${Math.Calc[${Me.Level}+4]},${NearestSpawn[4,pc]},]},]},]},]},]},]},]}
${If[${Zone.ShortName.NotEqual["PoKnowledge"]},${If[${Zone.ShortName.NotEqual["Potranquility"]},${If[${Zone.ShortName.NotEqual["Bazaar"]},${If[${Zone.ShortName.NotEqual["Nexus"]},${If[${NearestSpawn[5,pc].ID},${If[${NearestSpawn[5,pc].Level}>=${Math.Calc[${Me.Level}-4]},${If[${NearestSpawn[5,pc].Level}<=${Math.Calc[${Me.Level}+4]},${NearestSpawn[5,pc]},]},]},]},]},]},]},]}
${If[${Zone.ShortName.NotEqual["PoKnowledge"]},${If[${Zone.ShortName.NotEqual["Potranquility"]},${If[${Zone.ShortName.NotEqual["Bazaar"]},${If[${Zone.ShortName.NotEqual["Nexus"]},${If[${NearestSpawn[6,pc].ID},${If[${NearestSpawn[6,pc].Level}>=${Math.Calc[${Me.Level}-4]},${If[${NearestSpawn[6,pc].Level}<=${Math.Calc[${Me.Level}+4]},${NearestSpawn[6,pc]},]},]},]},]},]},]},]}
It ain't pretty :)
Untested by the way, lol.
Posted: Tue Jul 19, 2005 10:00 am
by Lax
Fabolous1 wrote:I know this could be dumb but, is there a way to make a HUD that shows all the people below or higher by 4 levels in HUD, except for in PoK/PoT/Bazaar/Nexus?
So far I have
/who pc range ${Math.Calc[${Me.Level}-4]} ${Math.Calc[${Me.Level}+4]}

If you post on an old thread that has nothing to do with your question to avoid having to follow the instructions for posting in the help forums again, you will be banned...