Hello evryone, ive been looking evrywhere on how to read a whole struct from a process i found some samples on Eon how to read a whole struct but i dont really understand the method, so i think ive found the unit_structure in wow
now how would you do to find the pointer for it?
i tried theese adreese:
Address=00693080
EAX,WoW.008BC520
but wouldnt work
i tested it with this function
Code:
private static Unit GetUnit()
{
Process[] wow = Process.GetProcessesByName("WoW");
ProcessMemoryReader _MemoryReader = new ProcessMemoryReader(wow[0]);
IntPtr UnitPtr = (IntPtr)BitConverter.ToUInt32(_MemoryReader.Read(0x6D0E748, 4), 0);
return (Unit)_MemoryReader.Read(UnitPtr, typeof(Unit));
}
and then i tried to declare my unit struct
Code:
Unit _WowUnit = GetUnit();
but it wont work, i dont get anything in my struct so i would really aperciate it if someone could show a small sample of how to do it
//Nesox