View Single Post
  #2  
Old 04-13-2006, 07:01 AM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

Quote:
Originally Posted by Nino
Ive looked almost everywhere for a fix for this problem Im having with my server. Im using the latest EQEmu build (0.6.6-767) with the VeliousRC1 database. The problem Im having is when certain mobs execute their flurry, rampage, summon, and enrage abilities. When they do them it shows up as:

#Cazic_Thule00 executes a FLURRY of attacks on Loab!

The text is shown in white instead of red and #Cazic_Thule00 should be just plain Cazic Thule. The same thing will happen with Rampage, Summon, and Enrage, all white text with #Cazic_Thule00 as the name. I searched through the source code but the only thing I could find related to this was in the MobAI.cpp file in the zone directory:

bool Mob::Flurry()
{
// attack the most hated target, regardless of range or whatever
Mob *target = GetHateTop();
if (target) {
entity_list.MessageClose(this, true, 600, 13, "%s executes a FLURRY of attacks on %s!", GetName(), target->GetName());
for (int i = 0; i < MAX_FLURRY_HITS; i++)
Attack(target);
}
return true;
}


Im not sure what the 600 and 13 are or if this is even the right place to go about changing the text color. Any help would be appreciated.

One other thing I noticed was that the text color was showing up correctly in red although the mob name was showing up #Cazic_Thule when I was using 0.6.0DR2 with the velious beta database. The values seem to be the same in the MobAI.cpp file.

I am betting/thinking that the name portion at least is because in the sql database "#Cazic_Thule00" is the way that they are named. Although I could be completly wrong. Its what I see looking at this code, have not checked my databse to see.
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote