Memory Hacking

Posts 13 of 3 · Page 1 of 1
Memory Hacking
IDK why this doesnt work.



MyCode :
//HEADER
public static string process = "javaw";
public static int bClient;
public static int aExp = 0x0007A398;

//INSIDE THE HOTKEY
if (GetModuleAddy())
{
int oExp = bClient + aExp;
Memory.WritePointerInt32(process, oExp, new int[5] { 0x3F0, 0x634, 0x300, 0x530, 0x264 }, 300);
}

//OUTSIDE
static bool GetModuleAddy()
{
try
{
Process[] p = Process.GetProcessesByName(process);
if (p.Length > 0)
{
foreach (ProcessModule m in p[0].Modules)
{
if (m.ModuleName == "avutil-ttv-51.dll")
{
bClient = (int)m.BaseAddress;
return true;
}
}
return true;
}
else
{
return false;
}
}
catch (Exception ex)
{
return false;
}
}
Quote Originally Posted by Steb. View Post
IDK why this doesnt work.



MyCode :
I don't know how your memory class works but I guess you f*** up sth in offsets

IntPtr base = Read(bClient + aExp);
IntPtr offset1 = Read(base + off1);
IntPtr offset2 = Read(offset1 + off2);
IntPtr offset3 = Read(offset2 + off3);
IntPtr offset4 = Read(offset3 + off4);
IntPtr offset5 = Read(offset4 + off5);
Write(offset5 , 300);

It's a multi-level pointer
Hello,
I have a question. Zaczero, can you share your memory class with us please?
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?