OMG I am so tired of all these problems, well, when I inject the hack that I have been working on for about 2 and a half weeks now it gives me this error right before the login screen
Here is my code with only nx chams, yes I have tried injecting it with only nx chams and without hacks at all -
Code:
#include <windows.h>
#include <stdio.h>
#define EngLtc 0x485E10
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushYaserIftiPush(char* szVal)
{
void* vSetVar = (void*)EngLtc;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
void main()
{
while(true)
{
PushYaserIftiPush("SkelModelStencil 1");
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}