Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P
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:
Thanks...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 Cosmos
Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P
Your hook method is patched.
And why did you define the L.T.Client? lol
Get rid of your #Define
and
Replace this:
Code: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; } }
With this:
Thank me if i helped.Code:void __cdecl PushToConsole(const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( 0x3778CFB0 ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); __asm { push szCommand; call CONoff; add esp, 4; } } }
Sydney (08-17-2010),_-Blazin-_ (08-15-2010)
_-Blazin-_ (08-15-2010)
Works for me
I thought thats how everyone else did it? What do you use?
_-Blazin-_ (08-15-2010)
i use:
Been using it for AGESCode:void __cdecl Push(char* szVal) { void* vSetVar = (void*)0x0046F620; _asm { push szVal call vSetVar add esp, 4 } }
_-Blazin-_ (08-15-2010)
Works for Ca Eu to ?
Thanks Cosmos
Rusty what do you have your Detour method set as?
NOP_JMP?
I write my own detours