EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Enraged, Flurry and Rampage Spamming Fix (https://www.eqemulator.org/forums/showthread.php?t=26258)

trevius 09-21-2008 07:53 PM

Enraged, Flurry and Rampage Spamming Fix
 
I have noticed this for a while, but it seems like the enraged, flurry and rampage messages are such a wide range message that they spam most of the zone. After a quick look, I found that in MobAI.cpp, they are all set to a range of 600. I think that could safely be lowered to 200 and probably even 150 or 100. They are definitely way to big of a range at 600.

Change 600 to 200 or something in all of the cases below:

MobAI.cpp
Code:

        entity_list.MessageClose(this, true, 600, 13, "%s has become ENRAGED.", GetCleanName());
Code:

                        entity_list.MessageClose(this, true, 600, 13, "%s is no longer enraged.", GetCleanName());
Code:

                entity_list.MessageClose(this, true, 600, 13, "%s executes a FLURRY of attacks on %s!", GetCleanName(), target->GetCleanName());
Code:

        entity_list.MessageClose(this, true, 600, 13, "%s goes on a RAMPAGE!", GetCleanName());
BTW, KLS, let me know if I am stickying too much junk and I will just let you handle it instead. I am just stickying the stuff that I think looks like valid code changes/fixes/additions and that has been tested.


All times are GMT -4. The time now is 10:54 PM.

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