Consider Color in MQ window?

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Past
decaying skeleton
decaying skeleton
Posts: 1
Joined: Thu Nov 06, 2003 6:59 pm

Consider Color in MQ window?

Post by Past » Thu Nov 06, 2003 7:07 pm

My feature request was inspired by you adding colors to certain characters and numbers written by MQ. Is it possible to make the superwho command also show the consider color?

Past

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 Nov 06, 2003 7:15 pm

/who concolor <whatever>

already there! :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Thu Nov 06, 2003 7:34 pm

For those who might like setting a filter to always show the concolor in the /who output, here is an addition to the /whofilter that will let you toggle the concolor display on or off. (/who concolor remains unchanged) This has been tested and works ... now.

MQ.h

Code: Select all

	BOOL Holding;[color=red]
	BOOL ConColor;[/color]
} SWHOFILTER, *PSWHOFILTER;
EQLib_Main.cpp
Inside ParseINIFile()

Code: Select all

	gFilterSWho.Holding = GetPrivateProfileInt("SWho Filter","Holding",0,Filename);[color=red]
	gFilterSWho.ConColor= GetPrivateProfileInt("SWho Filter","ConColor",0,Filename);[/color]

    gTelnetServer= GetPrivateProfileInt("Telnet Server","Enabled",0,Filename);
EQLib_Commands.cpp
Inside SWhoFilter()

Code: Select all

		SetDisplaySWhoFilter(&gFilterSWho.Holding,"Holding",szToggle);[color=red]
	} else if (!stricmp(szArg,"ConColor")) {
		SetDisplaySWhoFilter(&gFilterSWho.ConColor,"ConColor",szToggle);[/color]
	} else {[color=red]
		WriteChatBuffer("Usage: /whofilter <lastname|class|race|level|gm|guild|holding|ld|anon|lfg|npctag|spawnid|trader|afk|concolor> [on|off]",USERCOLOR_DEFAULT);[/color]
	}

Inside SuperWhoDisplay

Code: Select all

		szMsg[0]='\a';
		szMsg[2]=0;[color=red]
		if (Color || gFilterSWho.ConColor)[/color]
		{

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Nov 07, 2003 9:10 am

CVS'd.
MQ2: Think of it as Evolution in action.