aiuto allora apro c++ dopo che creo un nuovo documento ho scritto questo
#include <windows.h>
#include <stdio.h>
#define ADR_PlayerPointer 0xA027E8
#define ADR_ServerPointer 0xA02784
#define OFS_Slot5 0x1021BC
DWORD *in_game= (DWORD*)ADR_PlayerPointer;
DWORD *out_game= (DWORD*)ADR_ServerPointer;
void Slot5_digger()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_Slot5) = 1;
}
}
void HackThread()
{
while(true)
{
if (*in_game)
{
}
if(*out_game)
{
Slot5_digger();
}
Sleep(50);
}
}
// funzione principale della DLL
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
il problema è che quando apro warrock e la injetto il gioco crash neank il tempo che affaccia lo screen di bazzar cosa sbaglio please aiutatemi hack fatto da me seguento delle guide gli addres sono aggiornati cosa sbaglio help