Number of Guild Members in zone

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Drunkdwarf
a hill giant
a hill giant
Posts: 251
Joined: Sun May 16, 2004 10:57 am
Location: Salt Lake City, UT

Number of Guild Members in zone

Post by Drunkdwarf » Mon May 17, 2004 2:16 pm

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?
Last edited by Drunkdwarf on Thu May 20, 2004 12:31 pm, edited 1 time in total.

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Mon May 17, 2004 2:23 pm

/who guild
Smokey the Lax says only you can prevent reproduction.

Drunkdwarf
a hill giant
a hill giant
Posts: 251
Joined: Sun May 16, 2004 10:57 am
Location: Salt Lake City, UT

Post by Drunkdwarf » Mon May 17, 2004 2:31 pm

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.
Last edited by Drunkdwarf on Thu May 20, 2004 12:32 pm, edited 1 time in total.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon May 17, 2004 2:41 pm

I'll look into it. I need to crack open the guild window ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Drunkdwarf
a hill giant
a hill giant
Posts: 251
Joined: Sun May 16, 2004 10:57 am
Location: Salt Lake City, UT

Post by Drunkdwarf » Mon May 17, 2004 7:41 pm

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

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue May 18, 2004 12:19 am

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 ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Drunkdwarf
a hill giant
a hill giant
Posts: 251
Joined: Sun May 16, 2004 10:57 am
Location: Salt Lake City, UT

Post by Drunkdwarf » Tue May 18, 2004 12:46 am

Hmmm, lemme do some playing with the code :)
Last edited by Drunkdwarf on Thu May 27, 2004 9:25 am, edited 1 time in total.

Drunkdwarf
a hill giant
a hill giant
Posts: 251
Joined: Sun May 16, 2004 10:57 am
Location: Salt Lake City, UT

Post by Drunkdwarf » Thu May 27, 2004 9:25 am

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)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu May 27, 2004 11:03 am

Yes that's exactly what you want, you're welcome :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Fabolous1
a ghoul
a ghoul
Posts: 134
Joined: Sun Jun 27, 2004 12:44 am

Post by Fabolous1 » Tue Jul 19, 2005 12:40 am

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

:lol:
[url=http://www.macroquest2.com/phpBB2/viewtopic.php?t=16277]CastingBuilderMulti.mac (2.2)[/url]
[url=http://www.macroquest2.com/phpBB2/viewtopic.php?p=143350#143350]Generalstuff.mac (6.0)[/url]

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Tue Jul 19, 2005 3:41 am

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.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Jul 19, 2005 10:00 am

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

:lol:
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...
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0