Code:
else if (packet.Opcode == 0x3016)
{
int x = 0;
uint unique_id = packet.ReadUInt32();
foreach (Monster m in Globals.currentMonsters)
{
if (m.unique_id == unique_id)
{
Globals.currentMonsters.RemoveAt(x);
log("deleted " + m.unique_id + Environment.NewLine);
refreshMobs();//refresh listbox with mobs
break;//stop foreach because we found the one
}
x++;
}
}
So guys i aksk you how to remove the other mobs that are far away but still exist?
In the 0x3019 Packet must be some location data but i only know that the first UInt32 is mobID and the second UInt32 is uniqueID...so the rest might be the rotation, speed and location or sth.
Or is it the 0xB021 packet?!?
Can you help me with that?
(and yes i searched everywhere on the internet
greez lukas






