Hi all,
very quick question, if i missing something:
[DiaUnit] Name:WD_ZombieDogRune_healthLink-5136 ActorSNO:110959
I get all data ok, summoning ZombieDog, if i recast Zombiedog then dump again, i get:
If i stay with char in the same place, no matter how much spam "dump", still common data null. Sometimes teleport to somewhere, or waiting "sometime", i get back data ok. Is there a way, that i missing, to properly refresh unit (actors) ?
very quick question, if i missing something:
Code:
ZetaDia.Actors.Clear();
ZetaDia.Actors.Update();
Logger.Log("---New dump---");
foreach (DiaObject diaObject in ZetaDia.Actors.RActorList)
{
if (diaObject == null) continue;
if (!diaObject.IsValid) continue;
if (!(diaObject is DiaUnit)) continue;
DiaUnit Unit;
try
{
Unit = diaObject as DiaUnit;
}
catch
{
Logger.Log("Can't covert Obj to Unit {0}", diaObject.Name);
continue;
}
ACD CommonData = Unit.CommonData;
if (CommonData == null || !CommonData.IsValid || CommonData.ACDGuid == -1)
{
Logger.Log("Common Data Null for {0} -- {1}", Unit.Name,Unit.ACDGuid);
continue;
}
[DiaUnit] Name:WD_ZombieDogRune_healthLink-5136 ActorSNO:110959
I get all data ok, summoning ZombieDog, if i recast Zombiedog then dump again, i get:
Code:
Common Data Null for WD_ZombieDogRune_healthLink-5344 -- -1992818254
If i stay with char in the same place, no matter how much spam "dump", still common data null. Sometimes teleport to somewhere, or waiting "sometime", i get back data ok. Is there a way, that i missing, to properly refresh unit (actors) ?