Hello all , before to start , excuse me for my english !
I am start Memory Reading and I use BlackRain lib
I would like make a tracker of Gob , and i make this :
Code:
ObjectManager.Initialize(Memory.ProcessId);
ObjectManager.Pulse();
uint g_clientConnection = Memory.ReadUInt((uint)ClientOffsets.StaticClientConnection);
uint s_curMgr = Memory.ReadUInt(g_clientConnection + (uint)ClientOffsets.ObjectManagerOffset);
UInt64 localGuid = Memory.ReadUInt64(s_curMgr + (uint)ClientOffsets.LocalGuidOffset);
uint firstobject = Memory.ReadUInt(s_curMgr + (uint)ClientOffsets.FirstObjectOffset);
uint Guid = Memory.ReadUInt(firstobject + (uint)ClientOffsets.Object_Guid);
uint object_type = Memory.ReadUInt(firstobject + (uint)ClientOffsets.Object_Type);
textBox_gob.Text = localGuid.ToString();
while (object_type.ToString() != "5")
{
firstobject = Memory.ReadUInt(firstobject + (uint)ClientOffsets.NextObjectOffset);
object_type = Memory.ReadUInt(firstobject + (uint)ClientOffsets.Object_Type);
}
float object_x = Memory.ReadFloat(firstobject + (uint)ClientOffsets.Gob_X);
textBox_gob.Text += System.Environment.NewLine + Guid.ToString();
textBox_gob.Text += System.Environment.NewLine + object_type.ToString();
textBox_gob.Text += System.Environment.NewLine + object_x.ToString();
offset :
Code:
public enum ClientOffsets : uint
{
StaticClientConnection = 0xC79CE0,
ObjectManagerOffset = 0x2ED0,
FirstObjectOffset = 0xAC,
LocalGuidOffset = 0xC0,
NextObjectOffset = 0x3C,
Object_Guid = 0x30,
Object_Type = 0x14,
LocalPlayerGUID = 0xBD07A8,
LocalTargetGUID = 0x00BD07B0,
Gob_X = 0x110,
}
but when i start find the first Gameobject (if type is 5 for that)
i found 34 for guid (but mangos it's 62437)
and x coord is 1.xxx*34 but i read in float ?
I am in 3.3.5
I am lost , if this answer is easy or useless excuse me i start
Thx people if help me