#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* )( 0x377ED910 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}
void main()
{
while(true)
{
PushToConsole("JumpVel 630.000000" );
PushToConsole("SkelModelStencil 1" );
}
}
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;
}
Last edited by tubby6901; 10-04-2010 at 10:53 AM.
HAHAHHAHA your stupid. This hack is worthless. You have a ptc command that will just make you fly up uncontrollably!
heresme reporting this thread
Code:PushToConsole("PlayerGravity -800" ); } PushToConsole("SkelModelStencil -1" ); }
Lol CNS Tut+ Updated LTC + Gravity PTC
poeple callmenoobwellcode never ptc dont work and by way im juststarting to code
Wow this is so awsome ive been looking for one like this for a long time thanks dude /
flameswor10 (10-04-2010)
oh I think you have a typo.
you wrote "heresmy base auto hack"
it should be "heres codernever base auto hack"
btw how did you update the LTC code?
Last edited by skiiiz; 10-03-2010 at 11:41 PM.
oh ma gawd. ive been needing this all my life
use code tags next time /
lawl fail == fail (:
The search is OVER!
I'm so tired of people who are saying "[RELEASE] MY HackBase"
IT IS NOT YOURS!!!!!!!!!!!!!!
YOU JUST COPY&PASTED IT FROM CODERNEVER!!!!!!!!!!!!
&maybe you've added a bracket or some random sh|t -.-
_____________________________________________
READING TUTORIAL:
1. READ MY POST
2. THINK ABOUT MY POST
3. PRESS THANKS
4. MAYBE CORRECT MY POSTS :P
Dijkstra:
"Computer Science is no more about computers than astronomy is about
telescopes."
THANKS BUTTON RIGHT DOWN --->
i quote from cn's tut "CODER NEVER MADE THIS!!! YOU FCKING NOOB"
"smoking kills. if you get killed you have lost and important part of your life"
whats got two thumbs and doesnt give a shit?
/me