fly only hack wont work

Posts 111 of 11 · Page 1 of 1
fly only hack wont work
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 dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
   if( dwCShell != NULL )
   {
      DWORD *LTClient = ( DWORD* )( 0x3780CB90 );
      void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
      __asm
      {
         push szCommand;
         call CONoff;
         add esp, 4;
      }
   }
}



 
void main()
{

   bool flyhack = false;
    while(true)
{



     PushToConsole("PlayerGravity -800" );
 



if(GetAsyncKeyState(VK_NUMPAD0)<0) // fly
   if(flyhack){ 
            PushToConsole("PlayerGravity -800");
            flyhack = false;
   } else {
            PushToConsole("PlayerGravity -1");
            flyhack = true;

   }
}




Sleep(350);

}
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;
}
what did i do for it not to work?
You need to hook an internal D3D function.
is every thing else right and where do i put the internal D3D function
Quote Originally Posted by bmxman2 View Post
is every thing else right and where do i put the internal D3D function
In your code >:}
can u put up an Ex.
sry for all the ?s im just new to making hacks
Your ptc method isnt working anymore i think.
Kongomonga is correct! I bet you 100% that you leeched this and not even looking at the code immediately went here for us to fix it!I will explain.If your a coder you will no what to do!

Instructions:

Since your Bypass( PushToConsole Method ) is outdated you will need to update it a diffrent way! Credits to Gordan'

You will need to define this first line of code!
[php]#Define ENGINE LTC = PUT ENGINE LTC HERE[/php]

Next, You will need add this ass ( Yes i said ass big woop ) your first line of code for your PTC Method!
[php]typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
[/php]
Next, you go to add this below the first line of code in your ptc method.
[php]RunBoobCommand_t pRunConsoleCommand = (RunConsoleCommand_t)ENGINE LTC;[/php]


There ya go now to make a hack all you need is:

[php]If(getasynckeystate(VK_f12)<>0{
pRunConsoleCommand("Showfps 1");
}else{
pRunConsoleCommand("???? 0");// i wonder what goes here?
}[/php]
Quote Originally Posted by NOOBJr View Post
Kongomonga is correct! I bet you 100% that you leeched this and not even looking at the code immediately went here for us to fix it!I will explain.If your a coder you will no what to do!

Instructions:

Since your Bypass( PushToConsole Method ) is outdated you will need to update it a diffrent way! Credits to Gordan'

You will need to define this first line of code!
[php]#Define ENGINE LTC = PUT ENGINE LTC HERE[/php]

Next, You will need add this ass ( Yes i said ass big woop ) your first line of code for your PTC Method!
[php]typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
[/php]
Next, you go to add this below the first line of code in your ptc method.
[php]RunBoobCommand_t pRunConsoleCommand = (RunConsoleCommand_t)ENGINE LTC;[/php]


There ya go now to make a hack all you need is:

[php]If(getasynckeystate(VK_f12)<>0{
pRunConsoleCommand("Showfps 1");
}else{
pRunConsoleCommand("???? 0");// i wonder what goes here?
}[/php]
Du ma may con di!
Quote Originally Posted by Nubzgetkillz View Post
Du ma may con di!
HAHA, TUI Thich may!
since when a PushToConsole is called a bypass
plus you need a d3d hook to make that method work
Posts 111 of 11 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?