hey guys ,
as the title say it, i'm trying to convert my value obtained from memory read pointer; to my label.text ( just to see if i'm getting the correct value.. )
Code:
Process proc = Process.GetProcessesByName("NostaleClientX")[0];
var hProc = Memory2.OpenProcess(Memory2.ProcessAccessFlags.All, false, proc.Id);
var modBase = Memory2.GetModuleBaseAddress(proc, "NostaleClientX.exe");
var modBase2 = Memory2.GetModuleBaseAddress(proc.Id, "NostaleClientX.exe");
var HPPtr = Memory2.FindDMAAddy(hProc, (IntPtr)(modBase2 + 0x485750), new int[] { 0xC4, 0x4C });
Thanks for helping me ;p
Just tested something when adding this line;
Console.WriteLine("HP address " + "0x" + HPPtr.ToString("X"));
It gives me this: HP address 0x171A9CB01751B8F4
But the end of the adress i'm getting is the correct address i'm looking for : 1751B8F4 ??