bases Problem

Posts 14 of 4 · Page 1 of 1
bases Problem
Hay...
I cant get any Bases Woking and i am trieng to Fix some Bases And to Mix some...Reason :: PATCHED
So Please Help me...And say what i have to Change/Add...
I would be very Thankfull....

Thanks

Code:

Code:
#define LTClient_Adress 0x377CC790
#include <windows.h>



bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"    ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll"  ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}   
void main()
{



			
		while(true)
	{
		PushToConsole("ShowFps 1");

			}
		
		{
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(25);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
	if( MessageBox(0, TEXT("Inject Hack Now?"), TEXT("Inject"), MB_YESNO)==IDYES){
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}

}
Thanks...
errors or just patched?
try this
Code:
#include "stdafx.h"
#define LTClient_Adress 0x377CC790
#include <windows.h>
const int iRenderSpeed = 50; 

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"    ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll"  ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}   
void main()
{		
		while(true)
	{
		PushToConsole("ShowFps 1");
			}
		} 
		Sleep(iRenderSpeed); 

}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(25);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
	if( MessageBox(0, TEXT("Inject Hack Now?"), TEXT("wassup40"), MB_YESNO)==IDYES){

CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}

}
Quote Originally Posted by wassup40 View Post
errors or just patched?
try this
Code:
#include "stdafx.h"
#define LTClient_Adress 0x377CC790
#include <windows.h>
const int iRenderSpeed = 50; 

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"    ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll"  ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}   
void main()
{		
		while(true)
	{
		PushToConsole("ShowFps 1");
			}
		} 
		Sleep(iRenderSpeed); 

}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(25);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
	if( MessageBox(0, TEXT("Inject Hack Now?"), TEXT("wassup40"), MB_YESNO)==IDYES){

CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}

}
Thanks but for this i need the stdafx.h....
i think this Code has been Patched
But Remove this always ( GetModuleHandleA( "d3d9.dll" ) != NULL
Because You Don't Use D3D hack ....
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?