I currently working on a framework for a Diabl 3 bot in C#/C++. The ObjectManager class works well but now i am trying to add a class for the ActorAtributes. I looked at the AutoIt code for ( [AutoIt] Diablo 3 Click To Move, Interaction, Actor Handling ) but i have some troubles understanding the Attribut structure.
The code for iterate the atributes seems a bit vague:
The size for the ActorAtribute structur is 384 (0x180)
From Autoit ( func IterateActorAtribs($_GUID,$_REQ) ):
Code:
16 //$test = _MemoryRead($CurrentOffset+0x10, $d3, 'ptr')
+ 825 * 4 // for $i = 0 to 825 ( $CurretOffset = $CurretOffset +0x4 )
= 3316 (0xCF4)
Why 825? Isn't it reading data from the next Attribute?
Please correct me if i am wrong
Maybe someone has already made this in c# or C++ or can give me a little hint for doing this.