Help PLS

Posts 115 of 16 · Page 1 of 2
Help PLS
Okay Im using this:

Code:
#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 dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( 0x3781CE30 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}




void main()
{ 
bool framespersecond = false;
while(true)
{


if(GetAsyncKeyState(VK_HOME)<0){ // Fps
if(framespersecond){
PushToConsole("ShowFps 0");
framespersecond = false;
} else {
PushToConsole("ShowFps 1");
framespersecond = true;
}
}
}


Sleep(350);

}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
{
return TRUE;
}
}
But the PushToConsole Method is detected, can anyone give me new method ?

BTW: The LTClient is the current one of CShell.dll for europe
sorry private one
Quote Originally Posted by dugindog View Post
sorry private one
So your LTClient is Private ? or PTC methoD?
Either way Just dont post if it is
lol it wasn't taken
Quote Originally Posted by NOOB View Post
lol it wasn't taken
Gib me Account
Quote Originally Posted by whit View Post
Gib me Account
you can be NoRecoil3
Quote Originally Posted by NOOB View Post


you can be NoRecoil3
Dats Obvious
Hmm
LTClient.Default
Quote Originally Posted by whit View Post
Dats Obvious
Hmm
LTClient.Default
They don't let you put periods in names.

How about SkelModelStencil
Quote Originally Posted by NOOB View Post


They don't let you put periods in names.

How about SkelModelStencil
GameClientShell
You also need to hook into one of the game's internal D3D functions.
Wait if this is EU I think you should post in EU
Why dont you follow it in cshell and---- nvm... you dont no c++ ;P
Quote Originally Posted by CAFlames View Post
Why dont you follow it in cshell and---- nvm... you dont no c++ ;P
Looking at the CShell is ASM not C++...
Quote Originally Posted by NOOB View Post


Looking at the CShell is ASM not C++...
I was saying that he should follow in olly or something and then do some other stuff but he doesnt no c++ so if he does it wont help him.
if u will ever take a working ptc method, the hack won't work, because u need to hook a D3D function to call the ptc commands
Posts 115 of 16 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?