// Testing memory stuff for(;;) { //BitConverter.IsLittleEndian = false; byte[] buffer = game.Memory.Read((uint)Chief.DllBase.D2Client + 0x11C1E0 + 92, 4); foreach (byte b in buffer) AppendText("0x" + b.ToString("X").PadRight(2,'0') + " "); //int x = BigEndianBitConverter.Big.ToInt16(game.Memory.Read((uint)Chief.DllBase.D2Client + 0x11C1E0 + 0x8C, 2), 0); //int y = BigEndianBitConverter.Big.ToInt16(game.Memory.Read((uint)Chief.DllBase.D2Client + 0x11C1E0 + 0x8E, 2), 0); //AppendText("Player at: " + x.ToString() + ", " + y.ToString() + Environment.NewLine); //uint uid = BigEndianBitConverter.Big.ToUInt32(game.Memory.Read((uint)Chief.DllBase.D2Client + 0x11C1E0 + 0x0C, 4), 0); uint ptr = 0x6FBCC1E0; AppendText("Initial pointer: " + ptr.ToString("X") + Environment.NewLine); ptr = BigEndianBitConverter.Big.ToUInt32(game.Memory.Read(ptr + 92, 4), 0); AppendText("Memory read stage: " + ptr.ToString("X") + Environment.NewLine); ptr = BigEndianBitConverter.Big.ToUInt32(game.Memory.Read(ptr + 36, 4), 0); AppendText("Memory read stage: " + ptr.ToString("X") + Environment.NewLine); ptr = BigEndianBitConverter.Big.ToUInt32(game.Memory.Read(ptr + 31 + 14, 4), 0); AppendText("Memory read stage: " + ptr.ToString("X") + Environment.NewLine); uint life = BigEndianBitConverter.Big.ToUInt32(game.Memory.Read(ptr, 4), 0); AppendText("Memory read life: " + life.ToString() + Environment.NewLine); //AppendText("Memory read uid: " + uid.ToString() + "; Packet uid: " + game.Hero.UID.ToString() + Environment.NewLine); System.Threading.Thread.Sleep(10090); }