That will be a Scatman question, since I have almost no understanding of these lists and how Emu tracks things, yet.Jabantiz wrote:On a side note, from what I understand from studying this class is that entities are added to a list as they engage in combat, when I close my server down it looks as if every single entity in the zone is in the list. Wich means combat checks are done for all these entities almost non stop. Am I misunderstanding how this works or are the entities really being added to the list incorrectly and not removed properly?
But, let me clarify. Are you seeing that, in a zone with zero combat, no entities get on the Combat list at all? Then when you shut down the server, they are all still on the list anyway? If so, yes that doesn't seem right.
What also wouldn't seem right is if the list is empty, until 1 NPC enters combat. Then if they end combat (kill or die) they are STILL on the list? That too seems wrong.
However, if when a zone starts, every NPC is added and *checked* constantly, that does seem alright to me, because NPCs can engage in combat with nearly anything the server admin configures (faction and proximity). Without constant checks (probably actually done in a spawn loop somewhere) the NPCs would never engage... but I don't think this last scenario is what you are asking about.