EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Getting rid of the base class name in /who (https://www.eqemulator.org/forums/showthread.php?t=41532)

Ueguvil 09-29-2017 05:28 PM

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?

The_Beast 09-29-2017 06:54 PM

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

demonstar55 09-29-2017 07:06 PM

p99 hacks the client. Unsure if this is due to taht.

ghanja 09-29-2017 08:12 PM

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.

Ueguvil 09-30-2017 12:24 PM

Quote:

Originally Posted by ghanja (Post 255885)
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.

Coenxai 10-02-2017 10:19 PM

Quote:

Originally Posted by The_Beast (Post 255883)
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


All times are GMT -4. The time now is 07:38 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.