sorry my bad english ....if you didn't know i said...look the picture!
when i addMonster in map ...
like this Code
PHP Code:
while (r.Read())
{
Mob Mon = new Mob();
Mon.Amount = r.ReadUInt16("Amount");
Mon.BaseMob = Dictionary.BaseMobs[r.ReadUInt16("SpawnMob")];
Mon.X = r.ReadUInt16("X");
Mon.Y = r.ReadUInt16("Y");
Mon.Spread = r.ReadUInt16("Spread");
Mon.Map = r.ReadUInt16("Map");
Mon.MobLevel =Mon.BaseMob.Level;
Mon.MobHP = Mon.BaseMob.MaxHp;
Mon.UID =(uint)Program.Rand.Next(1,int.MaxValue);
Mon.Name = Mon.BaseMob.Name;
Mon.Mesh = Mon.BaseMob.Mesh;
//Mon.Instance = r.ReadUInt16("Instance");
Count++;
if (!Dictionary.Maps.ContainsKey(Mon.Map))
Dictionary.Maps.ThreadSafeAdd(Mon.Map, new Map(0));
for (int i = 0; i < Mon.Amount;i++ )
{
Dictionary.Maps[Mon.Map].AddMonster(Mon, Handler.SetCoord(Mon.X, Mon.Y));
}
}
it's work ... but have some question
the monster didn't show the red hp line...
... that is Screenshoot
and when i use the chat Command to test SpawnMob ...
it's work fully ... still show red hp line...
I do not want to help .. because many people do not want to talk about this topic
But the test is not the result ... so if you know how to operate
Please help me.. I will wish you health and happiness