My hack wont work. I don't know what it is. All the addresses are correct. It doesn't D/C. The menu shows up. But whenever I turn something on it doesn't work. Can someone please help?
This is the PTC I'm using:
This is the Memory Editing Function I'm using:Code:void __cdecl pRunConsoleCommand(char* szVal)
{
void* vSetVar = (void*)EngLTC;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
Please help,Code:bool Memoria( void * pDest, char * szPatch, size_t sSize )//Function To Modify Memory Addresses
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
}
Thanks