How To Keep An Addy Static [Solved]
I've been wanting to code hacks as a sort of hobby to improve my usage of C++. I decided to begin with AssaultCube due to it having not anti-cheat protection such as PunkBuster. I used Ollydbg to disassemble the ac_client.exe and found the addy for health easily. I then just freezed the value by NOPing the line that changed the value. One problem though was this address changes every time I start up assaultcube as expected. How would I keep track of this value? I want my program to find this value next time it starts up. What would be the best way to write a DLL that patches memory values of the game?
I found this in the Combat Arms section:
Would it be a good method to make a hack for any type of game?
I don't have a lot of experience with "Game Hacking" just other type of hacking. Keyloggers..
No I am not a "Hax0r" I don't C&P
Sorry if my English is bad I speak German and Spanish more Fluently
I found this in the Combat Arms section:
Code:
#include <windows.h>
void testTH()
{
MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)testTH, 0, 0, 0);
}
return TRUE;
}
I don't have a lot of experience with "Game Hacking" just other type of hacking. Keyloggers..
No I am not a "Hax0r" I don't C&P
Sorry if my English is bad I speak German and Spanish more Fluently
