Bases Problem /Patched Base

Posts 114 of 14 · Page 1 of 1
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
Quote Originally Posted by _-Blazin-_ View Post
Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P
Ik...Yes newest LTC....And yes...Patched...But i need to Fix it then i can release new Hacks
Quote Originally Posted by Sydney View Post
Ik...Yes newest LTC....And yes...Patched...But i need to Fix it then i can release new Hacks
0x3778CFB0?
Quote Originally Posted by _-Blazin-_ View Post
0x3778CFB0?
No...There are two LTC...
Quote Originally Posted by Sydney View Post
No...There are two LTC...
Yes ikt. I'm just saying you should use that one. Btw, since you didn't thank those guys, Im going to go through and do it for you.
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:
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;
		}
	}
}
Thank me if i helped.
Quote Originally Posted by Rusty3 View Post
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:
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;
		}
	}
}
Thank me if i helped.
Does that even work with CA O.o
Works for me
I thought thats how everyone else did it? What do you use?
i use:

Code:
void __cdecl Push(char* szVal)
{
    void* vSetVar = (void*)0x0046F620;
    _asm
    {
        push szVal
        call vSetVar
        add esp, 4
    }
}
Been using it for AGES
Works for Ca Eu to ?
Quote Originally Posted by Sydney View Post
Works for Ca Eu to ?
should work for both
Rusty what do you have your Detour method set as?

NOP_JMP?
I write my own detours
Posts 114 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?