Hello everyone,
You guys were right with reading a lot and discovering by just trying. Until now everything went fine. I was able to retrieve the players name, level and class.
I was able to retrieve the level without using the player's base address, isn't that weird by the way?
Now I´m trying to work with an objectManager, but after few hours of trying and following tutorials I am still getting an ReadUint error and I hope one of you can explain me what I am doing wrong
Code:
static class ObjectManager
{
public static BlackMagic WowReader = new BlackMagic();
private const uint staticClientConnection = 0x009BE678, // client connection, same address every boot
objectManagerOffset = 0x463C, // offset from the ClientConnection to the object manager
localGuidOffset = 0xC8, // offset from the object manager to the local guid
firstObjectOffset = 0xC0, // offset from the object manager to the first object
nextObjectOffset = 0x3C; // offset from one object to the next
static private uint objectManagerBase; // the address off the object manager
static private ulong localGuid; // the local guid.
public static void LoadAddresses()
{
WowReader.OpenProcessAndThread(SProcess.GetProcessFromProcessName("Wow"));
--> objectManagerBase = WowReader.ReadUInt((uint)WowReader.ReadUInt((uint)staticClientConnection) + objectManagerOffset);
localGuid = (uint)WowReader.ReadInt64((uint)(objectManagerBase + localGuidOffset));
}
}
My offsets are from the dump thread so they should be fine!
Thanks in advance