help memory editing Steam

Posts 1–6 of 6 · Page 1 of 1
help memory editing Steam
a Steam game i have has values that have different memory each time i restart, such as the ammo memory change from 2D036FE0 to 2D31C734
can u help me so i can hack it?
Use Cheat engine, search manually for the value, if it's green then it's an offset from a module. Double click the address in the list and a box will come up and say <module>.dll+<offset>
And then you can use c++ to find the address when you inject a dll.
If it's not green then you need to find the player pointer, if that's the case ask someone else.
~lilneo
ok so i traced it back to the static address of server.dll+716A34.
how can i find server.dll value in c++?
Quote Originally Posted by kibbles18 View Post
ok so i traced it back to the static address of server.dll+716A34.
how can i find server.dll value in c++?
GetModuleHandle() If you have direct memory access. If not, use Module32First & Module32Next
this is what i have in my CE table:
address of server.dll+716A34 (15CD6A34) that holds value 0x26BD1190
pointer to 26BD1958 (ammo) made with adding address 15CD6A34 (see above) and offsett 7c8.
how do i use this to get a static address that i can control the ammo with?
i try this code
Code:
#include <stdio.h>
#include <windows.h>
#include <iostream>
#include <iomanip>
using namespace std;

void getBaseAddy()
{
	DWORD baseAddy = (DWORD)GetModuleHandle("server.dll");
	DWORD ammoAddy = (DWORD)(baseAddy + 716274) + 1992;
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
   if(dwReason == DLL_PROCESS_ATTACH)
   {
       CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)getBaseAddy, NULL, NULL, NULL);
   }
return TRUE;
}
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us