Mekkanikk (09-07-2019)
I would make a hack but cant on this computer bcuz my ca doesnt work idk why so here::
#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* )( 0x377ED910 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1");
PushToConsole("ShowFps 1");
PushToConsole("FogEnable 1" );
PushToConsole("ActivationDistance 999999" )
PushToConsole("PerturbRotationEffect 0.000000" );
PushToConsole("PerturbIncreaseSpeed 0.000000" );
PushToConsole("PerturbWalkPercent 0.000000" );
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
PushToConsole("PerturbRecoil 0.000000" );
PushToConsole("FireMovePerturb 0.000000" );
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
PushToConsole("ZoomedFireMovePerturb 0.000000" );
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
}#define RECOIL1 0x3745BC20
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
#define RELOAD 0x374A7894
Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
} else {
Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
}
}
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);
RESPECT LIST:
MPGH) AVGN
MPGH JABUUTY
MPGH IM-YODADDY
myself
C++ CODERS
Aimbot
/me
[IMG]https://i834.photobucke*****m/albums/zz269/robbiek13/gifty.gif[/IMG]
[IMG]https://i834.photobucke*****m/albums/zz269/robbiek13/vasherminion.jpg[/IMG]
Mekkanikk (09-07-2019)
Is that no recoil I see?
Edit: I might want to fix your source.
Code:1>------ Build started: Project: No Recoil, Configuration: Debug Win32 ------ 1>Compiling... 1>base.cpp 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(29) : error C2146: syntax error : missing ';' before identifier 'PushToConsole' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(38) : error C2014: preprocessor command must start as first nonwhite space 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(44) : error C3861: 'Memoria': identifier not found 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(45) : error C2059: syntax error : 'else' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(45) : error C2143: syntax error : missing ';' before '{' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(45) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(49) : error C2059: syntax error : '}' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(49) : error C2143: syntax error : missing ';' before '}' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(49) : error C2059: syntax error : '}' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(51) : error C2143: syntax error : missing ';' before '{' 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(51) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(62) : error C2065: 'dwHackThread' : undeclared identifier 1>c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(63) : fatal error C1075: end of file found before the left brace '{' at 'c:\users\taskn\documents\visual studio 2008\projects\no recoil\no recoil\base.cpp(61)' was matched 1>Build log was saved at "file://c:\Users\TaskN\Documents\Visual Studio 2008\Projects\No Recoil\No Recoil\Debug\BuildLog.htm" 1>No Recoil - 13 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by Spookerzz; 10-10-2010 at 04:59 PM.
I'm back.
Visual studio burned you. /
Originally Posted by Visual Studio
take this part out of your hack
Code:} else { Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
add this after PTC Method
'Code:bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method { DWORD dwOrgProtect = NULL; if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect )) return FALSE; memcpy( pDest, szPatch, sSize ); VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); return TRUE; }
U gotta tell what Memoria is
Luls at this..
btw why you guys use memoria , memcpy better..
RtlMoveMemory()
-> since schim told me it is faster than memcpy xD
_____________________________________________
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 --->