Is there a way to do this : /who bard 65 all noguild ?

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

Moderator: MacroQuest Developers

VesperKnight
orc pawn
orc pawn
Posts: 29
Joined: Tue Jul 29, 2003 5:37 am

Is there a way to do this : /who bard 65 all noguild ?

Post by VesperKnight » Mon Jun 14, 2004 5:53 pm

I have been toying around with the who command and have found out how to use some of the filters for my use but I still can't figure out how to fit in the 'all' command in there?

IE I can do /who pc cleric 65 and that works no problem

but I can only see people in the same zone I'm in, in fact the only way I've managed to do a MQ2 /who that shows me people outside the zone is if I use "guild" in my line as well.

I'm trying to devise a macro for recruiting people for a guild and I'd like to be able to do a /who all on certain classes/levels that would allow me to also spot people that are anon/roleplaying but more importantly that would only show me those that are unguilded.

Thank for any help, you guys rock.

Rusty~
a hill giant
a hill giant
Posts: 244
Joined: Wed Apr 14, 2004 2:55 pm

Post by Rusty~ » Mon Jun 14, 2004 6:01 pm

you could do this easily with /who, to get all of a certain class in the zone without a guild, but you can't really do it with /who all, since that has to go to the server first, and then only returns 20 random matches, which wouldn't be very helpful

TheWarden
a hill giant
a hill giant
Posts: 253
Joined: Sat Dec 27, 2003 3:51 pm
Location: In your bushes...

Post by TheWarden » Mon Jun 14, 2004 7:33 pm

/who all 65 Cleric

thats the only wait I know how, but as stated it returns 20 random people... I dunno if u can change that or not.
[img]http://img.photobucket.com/albums/v629/Deevious/SigPics/KristinKreukSig01.jpg[/img]

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Jun 14, 2004 8:10 pm

The "all" keyword makes /who revert to the eq /who.
The MQ /who is does searches based on the spawn list.

VesperKnight
orc pawn
orc pawn
Posts: 29
Joined: Tue Jul 29, 2003 5:37 am

Post by VesperKnight » Tue Jun 15, 2004 12:33 am

so basically, there is no way to #1 use the MQ2 /who to see passed the anon/rp flag for people not in your current zone ?

and #2 there's a way to list people by their guilds.. but no way to only list people who are unguilded?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Jun 15, 2004 1:27 am

#1. correct, there is no way.
#2. yes, there is no way to currently list people who are unguilded. However, the /who filter could easily be extended.

VesperKnight
orc pawn
orc pawn
Posts: 29
Joined: Tue Jul 29, 2003 5:37 am

Post by VesperKnight » Mon Jun 21, 2004 4:45 pm

ahh I see.. well thanks for clearing that up dkaa

could you or anyone then tell me how I would go about extending the /who filter so that it would filter out everyone's who in a guild, effectively activating a /who noguild feature?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Jun 22, 2004 11:35 am

In SpawnMatchesSearch, add:

Code: Select all

    if (pSearchSpawn->bNoGuild && (pSpawn->GuildID < MAX_GUILDS))
        return FALSE;
In ParseSearchSpawnArgs add:

Code: Select all

} else if (!stricmp(szArg,"noguild")) {
    pSearchSpawn->bNoGuild = TRUE;
In struct _SEARCHSPAWN add:

Code: Select all

BOOL bNoGuild;

User avatar
Kambic
a lesser mummy
a lesser mummy
Posts: 74
Joined: Fri May 28, 2004 11:48 am

Post by Kambic » Tue Jun 22, 2004 1:39 pm

VesperKnight wrote:so basically, there is no way to #1 use the MQ2 /who to see passed the anon/rp flag for people not in your current zone ?
The reason behind this is that your client is only receiving packet information on the current zone you're in. Since you're not in any other zones (obviously) then you aren't getting the packet information (specific class/level/etc) on any outside zones. Only your current zone is stored client side (which is why you can still access /who while going LD), but anything outside your zone (e.g. /who all [whatever]) requires accessing server-side information.

I know your questions had been answered, but thought the extra information might be helpful.