Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2003, 04:25 AM
Tertiary
Hill Giant
 
Join Date: Nov 2003
Posts: 192
Default telnet console 'who' command implementation for 5.3DR1

After seeing mention that the telnet console 'who' command is currently broken:

http://www.everquestserver.com/forum...bb288bf220f9c1

I took a look at it and basically copied the ZSList::SendWhoAll function from 4.4 as a new function ZSList::ConsoleSendWhoAll and altered console.cpp to call this function.

I tested it briefly with the 5.3DR1 source using minilogin and it seems to work as advertised.

I don't know how to do 'diffs', but the change is very straightforward.

Details are here if anyone is interested:

http://www.rama.demon.co.uk/5.3consolewho.txt
Reply With Quote
  #2  
Old 12-20-2003, 06:15 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Nice work Tertiary!
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #3  
Old 12-21-2003, 12:41 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

merged in.

Thanks T !
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #4  
Old 12-21-2003, 02:43 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

We just brought up 5.3 with your fix in it and a slight modification:

suggested change

Code:
			if (cle->GetGM()) {
				if (cle->Admin() == 101 && cle->GetGM())
					strcpy(tmpgm, "* GM-Events *");
				else if (cle->Admin() == -2)
					strcpy(tmpgm, "* BANNED *");
				else if (cle->Admin() == -1)
					strcpy(tmpgm, "* SUSPENDED *");
				else if (cle->Admin() == 80 && cle->GetGM())
					strcpy(tmpgm, "* Quest Troupe *");
				else if (cle->Admin() >= 200 && cle->GetGM())
					strcpy(tmpgm, "* ServerOP *");
				else if (cle->Admin() >= 150 && cle->GetGM())
					strcpy(tmpgm, "* Lead-GM *");
				else if (cle->Admin() >= 100 && cle->GetGM())
					strcpy(tmpgm, "* GM *");
				else
					tmpgm[0] = 0;
			}
			else
				tmpgm[0] = 0;
to

Code:
				if (cle->Admin() >=250)
					strcpy(tmpgm, "* GM-Impossible *");
				else if (cle->Admin() >= 200)
					strcpy(tmpgm, "* GM-Mgmt *");
				else if (cle->Admin() >= 180)
					strcpy(tmpgm, "* GM-Coder *");
				else if (cle->Admin() >= 170)
					strcpy(tmpgm, "* GM-Areas *");
				else if (cle->Admin() >= 160)
					strcpy(tmpgm, "* QuestMaster *");
				else if (cle->Admin() >= 150)
					strcpy(tmpgm, "* GM-Lead Admin *");
				else if (cle->Admin() >= 100)
					strcpy(tmpgm, "* GM-Admin *");
				else if (cle->Admin() >= 95)
					strcpy(tmpgm, "* GM-Staff *");
				else if (cle->Admin() >= 90)
					strcpy(tmpgm, "* EQ Support *");
				else if (cle->Admin() >= 85)
					strcpy(tmpgm, "* GM-Tester *");
				else if (cle->Admin() >= 81)
					strcpy(tmpgm, "* Senior Guide *");
				else if (cle->Admin() >= 80)
					strcpy(tmpgm, "* QuestTroupe *");
				else if (cle->Admin() >= 50)
					strcpy(tmpgm, "* Guide *");
				else if (cle->Admin() >= 20)
					strcpy(tmpgm, "* Apprentice Guide *");
				else if (cle->Admin() >= 10)
					strcpy(tmpgm, "* Steward *");
				else
					tmpgm[0] = 0;
This supports the new status values.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #5  
Old 12-21-2003, 04:08 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Because I worship you so Scorp, merged that in for you too...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #6  
Old 12-21-2003, 11:50 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by Trumpcard
Because I worship you so Scorp, merged that in for you too...
Thanks.

*checking meter* hmmmmmm... was that an 8.7 on the sarcasm scale?
__________________
Maybe I should try making one of these servers...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:52 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3