Well iam trieng my menu hack after this patch but i get after like 1 min a DC.
I already tried to delete my Hackthread...all my Funktions...Renderframe..Other PTC Method.
I still get DC. Did ca changed any devicepointer for menu after this patch or whats the problem ?
My PTC :
[PHP]void __cdecl cBase::Bla(const char* PushToScreen )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( 0x377C8550 );
void* PushMe = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm{
push PushToScreen;
call PushMe;
add esp, 4;
}
}
}[/PHP]
I am ca eu btw
my Devicepointer part:
[PHP]DWORD cBase::GetPointer(int index)
{
DWORD* devicePtr = ***(DWORD****)0x909EF8;
if( devicePtr == NULL )
return 0;
return devicePtr[index];
}[/PHP]
Other:
[PHP]bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandle( "d3d9.dll" ) != NULL
&& GetModuleHandle( "cshell.dll" ) != NULL
&& GetModuleHandle( "ClientFx.fxd" ) != NULL )
return true;
return false;
}
DWORD WINAPI dwMainThread(LPVOID)
{
while ( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Directx.Hook();
Base.Update();
return 0;
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
#ifdef LOG
DeleteFile(LogPath);
#endif
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}[/PHP]
My Font:
[PHP]if(Directx.pFont == NULL)
D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont );[/PHP]
Please help meh
