Im new in coding hacks ,I've learned C++ in my school and since Im new I copied a base from the forum and I update the addy add in XOR encryption but xtrap gave me an error : The game execute file is not normal or an abnormal memory access has been detected
#include <Windows.h>
#include <fstream>
#include "XOR.h"
#include <process.h>
DWORD dwCShell = NULL;
using namespace std;
// Strings
#define Encryptedcs /*CShell.dll*/XorStr<0x13,11,0x3CDF8E41>("\x50\x47\x7D\x73\x7B\x74\x37\x7E\x77\x70"+0x3CDF8E41).s
// CShell.dll
#define CShell (DWORD)GetModuleHandleA(Encryptedcs);
void mainThread( void )
{
while(1) // LOOP
{
dwCShell = CShell;
if(dwCShell)
{
memcpy((VOID*)0x70BD94, "\x00\x00\x00\x00\x00\x00", 6);
}
}
}
void getProcess ( HINSTANCE hDLL )
{
dwCShell = CShell;
if (dwCShell)
{
mainThread(); // Call hack
}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)getProcess, hDll, NULL, NULL);
}
return TRUE;
}
anybody has an public base to share??