Bases Problem /Patched Base
Hay...
I cant get any Bases Woking and i am trieng to Fix some Bases And to Mix some...
But i cant get it working ...
So Please Help me...And say what i have to Change/Add...
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...
Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P
Rusty what do you have your Detour method set as?
NOP_JMP?