I Use D3__ACDs__Iterate to Enumerate ACD structures. I'm not sure if it can cover all Actors, since Actor can be based on RActor structrue. Is someone there who could help?
I Use D3__ACDs__Iterate to Enumerate ACD structures. I'm not sure if it can cover all Actors, since Actor can be based on RActor structrue. Is someone there who could help?
There are Actor and ActorCommonData structures, call them RActor and ACD if that makes more sense. These are different structures and they are linked by index/id. Not every Actor has a link to an ActorCommonData, so to answer you question; nope. Though every ActorCommonData requires a link to an Actor to be valid if I'm not mistaken. Did that help? Otherwise just test it, call the iterator for Actor and see if the result matches.
It's wired that my reply always fail.:confused:
Thank you for your help. According to my test, It's just as what you said.
I'll try to figure out how to iterate the Actors without ACD.
There is a function for iterating RActors - 0xB28320 (build 1.0.8.16603).
I'm not sure that you are right. It is the opposite. ACD can live without (R)Actor but there are no actors without ACD data. AFAIK... Ofc I can be wrong.
The other thing is that I have no idea why do you need any code call (iterator) from D3 codespace when reading ACD and Actor data can be read with simple memory read calls (a lot safer).
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
ACD based ractors got a corresponding ACD others don't you can tell if a RActor is ACD based if the ACDGuid/index of it isn't -1