Dc'ing help

Posts 19 of 9 · Page 1 of 1
Dc'ing help
I had fixed one problem now when i inject it runs good intell there is the little running dude on ca loading screan then it dcs me
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 *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}	
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1" );
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
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;
}
ps i am still learning c++
Your pointer is wrong. It isn't "3778BFB0", it's "377ED910".
Rofl you removed the 90% complete from your signature I see
That's not disconnecting, more like crashing.
Code:
Replace DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
With
Code:
DWORD *LTClient = ( DWORD* )(0x377ED910 );
Grr. I feel I will be the only ASM hacker here lol. I think I'll make history (j/k).
Quote Originally Posted by Dewerong View Post
Grr. I feel I will be the only ASM hacker here lol. I think I'll make history (j/k).
Ya nab get wit teh program
/yea
Quote Originally Posted by Dewerong View Post
Grr. I feel I will be the only ASM hacker here lol. I think I'll make history (j/k).
Wanna Cookie../
Quote Originally Posted by whit View Post


Wanna Cookie../
I do. Lol. /
Even know your problem has nothin to do with c++..But here some advice learn c++ before you try to make hack...

Trust Me this is best advice your goin to get..
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?