Getting rid of the 0 in npc names
I made a separate function that gets rid of the 0 is an npcs name when it is needed. I made added this because I didnt really like the way it was displaying the npc's name. Useful for quests and such that you dont want the name to be Priest of Discord0 says. blah blah blah.... anyways here it is:
Add the following to entity.h: Code:
void NPCMessage(Mob* sender, bool skipsender, float dist, int32 type, const char* message, ...); Code:
void EntityList::NPCMessage(Mob* sender, bool skipsender, float dist, int32 type, const char* message, ...) { Code:
else if (strstr(command,"SAY") != NULL) { Code:
else if (strstr(command,"SAY") != NULL) { Another example, change: Code:
else if (strstr(command,"SHOUT") != NULL) { Code:
else if (strstr(command,"SHOUT") != NULL) { |
Does this revert it back to using just two digits for NPCs? Or just hide the third digit?
EQEmu is going non-standard, using 3 digits. It was stated in a previous thread that EQLive uses 3 now. However, it does not. It only uses 2 digits, even in Planes of Power. |
I just came from EQLive in South Karana a couple hours ago.
I was in South Karana with my mage for the heck of it, putting the beat down on the gnolls and I've seen the gnolls go after my pet and seeing:
A Tesch Mas Gnoll00 says, 'I'll teach you to mess with, yada yada, Gerber00.' I don't know why ever EQEmu uses or has 3 digits. What is the purpose other than having a bunch of mobs running around in a zone? I never in my life with EQEmuing, seen a server with more than maybe 70-95 of the same mob. Then again, I may have over lookd something somewhere. Quote:
|
The above just hides the 0 so that it isnt displayed when an npc says something. Its still there but this just hides it from being displayed.
|
Ok, thanks! Now what we need is a patch to get rid of the redundant 0.
Zafar, yep, I'm a mage too. I can verify with 200% certainty that EQLive only uses two digits. I'm sure we could have some ex-GM/Guides back this up as well. Just as you said, there would NOT be over 99 NPCs of the exact same named NPC in a zone. Maybe 99 white bunnies and 99 brown bunnies. But not 200 black bunnies. And it makes sense too, no one wants to see that many hundreds of the exact same mob. |
EQEMu supports 000.
|
Plz cry some more
|
Wahhhh :*(
|
All times are GMT -4. The time now is 12:21 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.