Hello just making fun with wow plus hack and it's ability to write some quite nice pvp or pve rotations ( I think they can be better that in pqr but who care now is all dead except priv servers ) and ... I can read the base stuff from player structure using wow plus integrated functions + lua functions like:
Reading player max health is easy:
function UNIT_FIELD_HEALTH()
unit = ObjectManager.GetActivePlayer()
currentTargetPointer = unit:GetPointer()
ObjStorage = currentTargetPointer + 0xC
unitMemoryBlockStart = Memory.Read( ObjStorage, "int" )
value = Memory.Read( unitMemoryBlockStart+0x20+0x12*4, "int" )
return value
end
AURA_COUNT_1 = 0xE90;
AURA_COUNT_2 = 0xC14
So everything is like a 'book' like I get the base for the unit ( now is player but that function works even with rabbits so ) then I add + x20 to pass the starting crap like GUID and other mishy mashy things and then moving thru a structure i get the HP. I can get using this way everything what is written down in memory dump thing what is about units. But
whan I want read the aura status ( aura numbers ) and I get that two adresses for the counter which are currentTargetPointer+0xE90 or currentTargetPointer+0xC14 ( the 4.3.4 values for that ) in that places I get usually 0 or other strange numbers. So my question is - Do I adding something in wrong place?