I'v been trying to get a object manager working now for the last 2 days, (I'v been doing very little besides working on this) and I have come absolutely no where. The code below doesnt work, i get a exception when i try to assign a adress to objMngr saying "ReadUInt failed".
I have used other values for offset and clientconnection before and avoided the above error but never been able to get any relevant information off the objects. I have been scanning these and other forums for the last 2 days and I just hope one of you spots the prob epic noob misstake I'm doing.
So what i'm asking what is wrong with the code below? As far as I understand it should work :/ and I should be able to iterate over all the objects and get all kinds of juicy values .
I'm using C# btw.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Magic;
using MemoryLib;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
BlackMagic WoW = new BlackMagic();
WoW.OpenProcessAndThread(SProcess.GetProcessFromProcessName("wow.exe"));
uint g_clientConnection = WoW.ReadUInt(0x011CB310);
uint objMngr = WoW.ReadUInt(g_clientConnection + 0x28A4);
uint cur_obj = WoW.ReadUInt(objMngr+0xAC);
uint next_obj = WoW.ReadUInt(cur_obj + 0x3C);
}
}
}