NOOB (06-23-2011)
I was wondering if there a key word is to find the addy for the game pointer. In Olly. Any help would be appreciated.
NOOB (06-23-2011)
You don't need to?
INT PID = -1;
HANDLE hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, PID);
hProcess will have the base address (aka. Pointer) of your game.
NOOB (06-23-2011)
I think you might be thinking of GetModuleHandle.
OpenProcess sounds like a dirty way to do this, opening a kernel object just for getting the base address. And you need to close the handle afterwards.Code:HMODULE hExe = GetModuleHandle(0); void* pExe = (void*) hExe;
NOOB (06-23-2011)