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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-23-2006, 12:59 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default Cosmetic Text Changes

FNW,

I have found a simple and free diff tool and made the following patches for changes that are cosmetic in the sense that functions that send text to the client use GetCleanName() instead of GetName(). In college I had to take a theater production course and the one thing I took away from it that is useful is the whole idea of "suspension of disbelief". Anyway, I hope these patches work for you.

In \Zone\client_process.cpp
Code:
434c434
< 					entity_list.MessageClose(this,false,100,0,"%s ceases shielding %s.",GetCleanName(),shield_target->GetCleanName());
---
> 					entity_list.MessageClose(this,false,100,0,"%s ceases shielding %s.",GetName(),shield_target->GetName());
In \Zone\MobAI.cpp
Code:
1119c1119
<	 entity_list.MessageClose(this, true, 600, 13, "%s has become ENRAGED.", GetCleanName());
---
>	 entity_list.MessageClose(this, true, 600, 13, "%s has become ENRAGED.", GetName());
1127c1127
<		 entity_list.MessageClose(this, true, 600, 13, "%s is no longer enraged.", GetCleanName());
---
>		 entity_list.MessageClose(this, true, 600, 13, "%s is no longer enraged.", GetName());
1167c1167
<	 entity_list.MessageClose(this, true, 600, 13, "%s goes on a RAMPAGE!", GetCleanName());
---
>	 entity_list.MessageClose(this, true, 600, 13, "%s goes on a RAMPAGE!", GetName());
In \Zone\attack.cpp
Code:
1276c1276
< 			entity_list.MessageClose(this, 1, 200, 10, "%s says, 'That is not a legal target master.'", this->GetCleanName());
---
> 			entity_list.MessageClose(this, 1, 200, 10, "%s says, 'That is not a legal target master.'", this->GetName());
2230c2230
< 					owner->Message_StringID(4,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));
---
> 					owner->Message_StringID(4,OTHER_HIT_NONMELEE,GetName(),ConvertArray(damage,val1));
2253c2253
< 					attacker->Message_StringID(4,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));
---
> 					attacker->Message_StringID(4,OTHER_HIT_NONMELEE,GetName(),ConvertArray(damage,val1));
In \Zone\client_packet.cpp
Code:
4583c4583
< 		Message(0,"%s says, 'Now taunting foes, Master!",mypet->GetCleanName());
---
> 		Message(0,"%s says, 'Now taunting foes, Master!",mypet->GetName());
4588c4588
< 		Message(0,"%s says, 'No longer taunting foes, Master!",mypet->GetCleanName());
---
> 		Message(0,"%s says, 'No longer taunting foes, Master!",mypet->GetName());
In \Zone\mob.cpp
Code:
1766c1766
< 		entity_list.MessageClose(this, true, 500, 10, "%s says,'You will not evade me, %s!' ", GetCleanName(), GetHateTop()->GetName() );
---
> 		entity_list.MessageClose(this, true, 500, 10, "%s says,'You will not evade me, %s!' ", GetName(), GetHateTop()->GetName() );
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
 


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:50 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3