Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2017, 05:28 PM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default Getting rid of the base class name in /who

Project1999 has done this so it must be doable, but I'm trying to figure out how to get rid of the base class name in /who when a player is above level 50. For example, a level 60 warrior would show as:

[60 Warlord (Warrior)]

I want to remove the (Warrior) part so it just says [60 Warlord], like it did in the earlier era of Everquest. Anyone know where I'd need to look to edit this?
Reply With Quote
  #2  
Old 09-29-2017, 06:54 PM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

Even though my preference is the opposite, to keep the class and get rid of the other, yours could be tricky,
since even a lot of quest scripts that check for "class" are looking for "warrior", as opposed to class "1".
Maybe get lucky and a P99 dev will chime in on this, lol
Reply With Quote
  #3  
Old 09-29-2017, 07:06 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

p99 hacks the client. Unsure if this is due to taht.
Reply With Quote
  #4  
Old 09-29-2017, 08:12 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

eqstr_us.txt I believe you're looking for.

entity.cpp for reference.

going by memory, would research/verify but already typing on busted up hand.
Reply With Quote
  #5  
Old 09-30-2017, 12:24 PM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default

Quote:
Originally Posted by ghanja View Post
eqstr_us.txt I believe you're looking for.

entity.cpp for reference.

going by memory, would research/verify but already typing on busted up hand.
Thanks, that lead me to this on line 1083 in clientlist.cpp which I think is where the /who is pulling from:

Code:
sprintf(line, "  %s[%i %s] %s (%s)%s zone: %s%s%s", tmpgm, cle->level(), GetEQClassName(cle->class_(),cle->level()), cle->name(), GetRaceName(cle->race()), tmpguild, tmpZone, LFG, accinfo);
GetEQClassName is pulling from classes.h but I can't figure out why it would put the base class name in brackets beside higher level class name in /who. I'm a total amateur though lol.
Reply With Quote
  #6  
Old 10-02-2017, 10:19 PM
Coenxai's Avatar
Coenxai
Hill Giant
 
Join Date: Dec 2013
Posts: 151
Default

Quote:
Originally Posted by The_Beast View Post
Even though my preference is the opposite, to keep the class and get rid of the other, yours could be tricky,
since even a lot of quest scripts that check for "class" are looking for "warrior", as opposed to class "1".
Maybe get lucky and a P99 dev will chime in on this, lol
What? He wants to change the string displayed. It won't affect any quest or script.

Code changes and redistributing the string file to each client would probably work. It seems like you guys are on the right track.

Is this really how Titanium displays the string? Time flies :P
__________________
"The true sign of intelligence is not knowledge but imagination."

Last edited by Coenxai; 10-02-2017 at 10:25 PM.. Reason: Fine, maybe not "small"
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:20 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