Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2016, 06:02 PM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default Remove NPC titles (lastnames)

Is there a way to remove ALL NPC titles? A quick database update gets rid of most of them, but a few are left ("GM Necromancer, GM Paladin"... etc).

A quick look in mob.cpp leaves me under the impression that there's no way to disable these particular titles to be set.

Did I miss anything? Can I submit a request for such a .. variable I suppose? Can I submit a patch?

I know it's a lot of questions.

I'm trying to make a classic server (ie: locked in Classic) and obviously NPC titles aren't classic.

I'd also like to avoid forking the source code, if at all possible. Hence the patch submission question.

Thanks.
Reply With Quote
  #2  
Old 07-03-2016, 06:28 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Pretty sure what you're looking for is here: https://github.com/EQEmu/Server/blob...e/mob.cpp#L904

I don't see a rule implemented to disable that behavior.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 07-03-2016, 06:38 PM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Absolutely, this is the code I was referring to.

How should I proceed? Fork the code, or submit a request for that feature? Maybe even submit a patch? I have no prior EQEmu development experience, but willing to acquire some.
Reply With Quote
  #4  
Old 07-03-2016, 07:06 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I just pushed a rule-based option for that.

Pull in the latest code and give that a try - lemme know if that's what you're looking for.


EDIT: Don't forget to set the rule to false in your case..
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 07-03-2016 at 07:47 PM..
Reply With Quote
  #5  
Old 07-04-2016, 05:35 AM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Quote:
Originally Posted by Uleat View Post
I just pushed a rule-based option for that.

Pull in the latest code and give that a try - lemme know if that's what you're looking for.


EDIT: Don't forget to set the rule to false in your case..
Holy cow man, was this already scheduled and me asking was just a coincidence, or did you actually do it just because I asked?

Because if it's the latter, I kinda wanna french kiss you right now.
Reply With Quote
  #6  
Old 07-04-2016, 05:36 AM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Going to try in a few hours.
Reply With Quote
  #7  
Old 07-04-2016, 10:11 AM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Works perfectly, thanks.
Reply With Quote
  #8  
Old 07-04-2016, 02:47 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I'll pass on the kiss..but, you're welcome

(That was a simple - and useful - request, so I went ahead and implemented it.)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #9  
Old 07-05-2016, 03:59 AM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Actually, I stand corrected. It works on vanilla Titanium but not on the P99-modified Titanium - still getting the NPC lastnames.

A grep through mob.cpp shows that there are two different places where 'GM Necro' and such are generated, and your patch only takes care of one.

Mind correcting this?

Thanks in advance.
Reply With Quote
  #10  
Old 07-05-2016, 05:16 AM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

It's actually even wierder than that.

Logged in on the P99 Titanium client, went to Noxhil V`Sek (GM necro in neriakc).

No title. #repop'ed the zone, he repops with title. #repop, again, title again.

Go figure.
Reply With Quote
  #11  
Old 07-05-2016, 03:29 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Quote:
Logged in on the P99 Titanium client, went to Noxhil V`Sek (GM necro in neriakc).

No title. #repop'ed the zone, he repops with title. #repop, again, title again.
I think that's your answer

Initial zone-in and #repop use two different handlers.


I pushed a change with the rule in that second handler (- something I totally missed the first time...)


This issue shouldn't be affected by the p99 changes.

But, if you do eventually run across something that is a result of those mods, that would be something that we can't provide support for since that client is not
supported by EQEmu. (Same as with MQ2 issues.)


EDIT: There are some other issues that can be seen with using #repop. The appearance of Monk GM trainers in qeynos, for instance.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #12  
Old 07-05-2016, 03:44 PM
eqrage
Sarnak
 
Join Date: Jul 2016
Posts: 34
Default

Thanks.

I was only referring to P99 as a potential hint for tracking down the issue.
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 03:30 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