Hello,
I'm using Memory.cs from one tutorial for C# trainer and it worked for me in past, but now i'm in the situation i have more offsets like
Code:
public int[] Offsets_Health          = { 0x4E4, 0x0, 0xD8, 0x44 };
and it doesnt work for me anymore. Writing does, but reading doesnt so i have looked into code and does anyone notised
that in function PointerRead there is
Code:
                else if (i == 0)
                {
                    ReadProcessMemory(m_hProcess, MemoryAddress, buffer, 4, out ptrBytesRead);
                    tempAddress = ToDec(Make(buffer)) + Offset[1];
                }
and should be there
Code:
                else if (i == 0)
                {
                    ReadProcessMemory(m_hProcess, MemoryAddress, buffer, 4, out ptrBytesRead);
                    tempAddress = ToDec(Make(buffer)) + Offset[i];
                }
because now its working fine.