hi sir, can i ask question?????, when i injected this to a game it crashes????
maybe there is a wrong?????
help me please????
base address = 00087454
offsets= 60, 0, 24, 4
Code:
#include <Windows.h>
void mine()
{
if (GetAsyncKeyState(VK_NUMPAD1)&1)
{
Beep(512, 100);
MessageBoxA(0,"HaCk AcTiVaTeD","sUcCsEs!!!",0);
*(float*)(0x00087454+0x60+0x0+0x24+0x4)=0;
}
else
{
Beep(612, 100);
MessageBoxA(0,"FaIlEd","HaCk NoT aCtIvAtEd!!!",0);
DLL_PROCESS_DETACH;
}
if (GetAsyncKeyState(VK_NUMPAD2)&1)
{
Beep(512, 100);
MessageBoxA(0,"HaCk DeAcTiVaTeD","sUcCsEs!!!",0);
*(float*)(0x00087454+0x60+0x0+0x24+0x4)=true;
}
}
void huk()
{
GetModuleHandleA("MineSweeper.exe");
}
BOOL __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH)
{
//MessageBoxA(0,"D3d HaCk","ShEn LeI lIaNg", MB_OK);
//CreateThread(0,0,0,huk,0,0);
CreateThread(0,0,0,mine,0,0);
}
return TRUE;
}
advance thanks to whom will help on me ^_^
and also, i have a cheat engine source beta, but its detected, can someone help me make the strings undetected?????, the compiler is lazarus, the same with delphi but somethin differs in it.............