Nino
04-13-2006, 04:15 AM
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.
#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.