Quote:
Originally Posted by kinshi88
Just search the source for "Guard" and change it to whatever.
I would recommend using IDs instead of names too btw.
|
Works perfectly
Step by step for people
Step 1: Open source Game Server> Entities>Monsters.cs
Search CoEmuGuard, replace with new name, continue searching till you replace all of them (there are only 2)
Here is the code snipets for reference
Code:
if(Info.Name == "CoEmuGuard//CHANGE TO NEW NAME!!//")
{
if(Client.Client.Flashing)
{
CharToAttack = Client.Client.ID;
break;
}
}
and
Code:
if(Info.Name == "CoEmuGuard//CHANGE TO NEW NAME!!//")
ConquerPacket.ToLocal(ConquerPacket.Chat(0, Info.Name, "ALL", "How dare you try to PK here, " + Attacked.Client.Name + ", you must die!", Struct.ChatType.Talk), X, Y, Map, 0, 0);
Step 2: Open Database, go to the monsters table
Search CoEmuGuard, replace with new name
Rinse and repeat for other monsters.
Be sure to restart server/save after modifying database/source