so you want to understand a hack
but you dont understand how to post in the right section
moved to discussion
ok so i have the code:#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "Cshell(9-22).dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377ED910 );
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;
}
and evertime i use it is closes down like threee minutes later i need help! plz help me!!!
so you want to understand a hack
but you dont understand how to post in the right section
moved to discussion
I'm in a bad mood so what I'm going to say may hurt but...
GTFO LEECHER
lol ur mean
what does gtfo mean?
You already posted about this AND this is in the wrong section. Noob. I understand though cause I was once like you. Here copy and paste this in your hack. I fixed it and it works.
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "Cshell(9-22).dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377ED910 );
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();
ExitProcess(0);
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);
ExitProcess(0);
}
return TRUE;
}
hey when i build the slotion is said it failed to build
can you spell it right plz fix it plz help me!!
SOMEBODY PLZ HELP ME~S
flashlight95 (10-07-2010)
SPELLING WHAT?
I BEG YOU SO BADLY PLZ TELL ME WHAT TO FIX PLZZ!!! HELLP ME!//
why do you all be so cocky
change your Push Funtion
Remove the red.Code:if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "Cshell(9-22).dll" ) != NULL ) return true; return false; }
SeaShell.dll