?

Posts 111 of 11 · Page 1 of 1
?
Is that code right?
#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* )( 0x3780AB70 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("ShowFps 1");
PushToConsole("SkelModelStencil -1" );
PushToConsole("WeaponSway 0.000000" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("CrossHairR 255");
PushToConsole("FogEnable 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;
}
Yup leech as you please
I did'nt thihk you could use PushToConsole Functions in your own thread without hooking a dx9 function and calling it from the hooked callback...
Quote Originally Posted by Departure View Post
I did'nt thihk you could use PushToConsole Functions in your own thread without hooking a dx9 function and calling it from the hooked callback...
he said
Is that code right?
and it is right

but he never said will it work
Quote Originally Posted by Departure View Post
I did'nt thihk you could use PushToConsole Functions in your own thread without hooking a dx9 function and calling it from the hooked callback...
Man i thing you gotta know..c++ and vb are the most leeched Codes on the internet..And thats what this guy is doing
C+P seems like it to me
ITT: WHY DUZNT THIS SOURCE I HAXED TOGETHER WERK

Recommendation:
  1. Learn C++
  2. Learn Intel x86 asm instructions
  3. Learn the basics of Olly and IDA
  4. Do some simple hacks like minesweeper.
  5. Come back when you're coherent and you're "code" doesn't look like crap.
Quote Originally Posted by Apoc91 View Post
ITT: WHY DUZNT THIS SOURCE I HAXED TOGETHER WERK

Recommendation:
  1. Learn C++
  2. Learn Intel x86 asm instructions
  3. Learn the basics of Olly and IDA
  4. Do some simple hacks like minesweeper.
  5. Come back when you're coherent and you're "code" doesn't look like crap.
Its not his code he found it somewhere else..
Quote Originally Posted by whit View Post


Its not his code he found it somewhere else..
Yeah, that's a bit obvious. I simply gave him some recommendations on how he could fix his leeched code, or how he could inherently learn that his [leeched] program is very sub-par of anything that would be considered even decent. Then he would go on to make his own that isn't [as] bad =)
Quote Originally Posted by whit View Post


Its not his code he found it somewhere else..
Yeah, This code would work. but hotkeys don't work unless you can hook endscene or present in a hotkey hack?
No. It's WRONG WRONG WRONG WRONG WRONG.
Posts 111 of 11 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?