Well either Gano nor Titan is in the original MobInfo.txt.
To spawn a mob I coded this, //needs testing, I never tested it nor compiled it, put this where the commands are.
Code:
if (Cmd[0] == "/spawnmob") //SYNTAX: "/spawnmob 35" This will spawn SnowApe at where you are standing.
{
if (Cmd.Length == 2)
{
string mob_line = null;
StreamReader SR = new StreamReader(@"C:\OldCODB\MobInfos.txt", true);
while (SR.EndOfStream != false)
{
string read = SR.ReadLine();
if (read.StartsWith(Cmd[1]))//MobID
{
mob_line = read;
break;
}
}
if (mob_line != null)
{
Game.Mob mob = new Game.Mob(mob_line);
mob.Loc.X = (ushort)(GC.MyChar.Loc.X - 1);
mob.Loc.Y = (ushort)(GC.MyChar.Loc.Y - 1);
GC.AddSend(Packets.SpawnEntity(mob));
GC.AddSend(Packets.ChatMessage(0, "SYSTEM", GC.MyChar.Name, mob.Name + " has been spawned!", 2001, 0));
}
}
}
To find the MobID, go to MobInfos.txt and find the name of the monster, the number before it is the mob ID. Tell me if it doesn't work I'll try to fix it.
Edit: This should spawn the mob right away without restart.