Originally Posted by
dealerchen
uhm if you set them like this in the class (not in an method) you can also reach them from another file...
if your other file is another class you have to set it to:
public static uint offset = ...;
and then you can access it via:
class.offset
When reading players level like this:
Code:
string Level = WoW.ReadInt((((0x00A7B434) + 0x0C) + 0x24) + 0x35 * 4, false).ToString(); // Reads players level
It returns 3, but my character is level 80. I have a feeling its something todo with my player base: "(((0x00A7B434) + 0x0C) + 0x24)" how ever I cant find out how to read the in C#, In Crappy Autoit I can do it like this:
Code:
$ptr1 = _BMReadMemory($Handle, $PlayerBase, "ptr")
$ptr2 = _BMReadMemory($Handle, $ptr1 + $PlayerBaseOffset1, "ptr")
$pBase = _BMReadMemory($Handle, $ptr2 + $PlayerBaseOffset2, "ptr")
Any ideas?