Undetected hook

Posts 1–15 of 23 · Page 1 of 2
Undetected hook
Hi,

can some one give me a undetected hook
i swear i will put in the credits
1)Make ur own?
2)If you dont know how .. learn ?
3)Dont beg for something ..
4) What more?
Code:
//************ Luke Base Undetected *************\\
//*********** Credits:  SwiftDude Jr ************\\
//************ MPGH Corporight 2011 *************\\
//**************** 03/10/11 Unde. ***************\\

#include <windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))
 
#define WeaponMgr       0xA314B0
#define NoReload        0x2424
#define WeaponDamage    0x7F8
 
 
DWORD WINAPI Hacks(LPVOID)
{
   bool onehit = false,
        reload = false,
        nodmg = false;
   
   // Numpad keys To Hack's add More 1 to More Function's
   while(1)
   {
		if(GetAsyncKeyState(VK_F1) &1) { onehit = true; }
        if(GetAsyncKeyState(VK_F2) &1) { reload = true; }
        if(GetAsyncKeyState(VK_F3) &1) { nodmg = true;  }
     // if(GetAsyncKeyState(VK_variable) &1) { varieable = true; }

    //Make Hacks Here !!
    // <= 533; i++) it's the number of guns in game.
		  
	  DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
      DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA314B0);
        if(pWeapon
	for(int i = 0; i <= 533; i++){
			DWORD Wep =  *(DWORD*)( pWeaponMgr + (4*i));
        // no granade damage
		if(!grenades) {
				*(float*)(Wep + 0x7F8) = 0.0f;
			}

		if(onehit) {
		*(float*)(Wep + 0x7F8) = 400.0f;
		} else {
		*(float*)(Wep + 0x7F8) = 10.0f;
		}
		
		if(reload) {
			*(float*)(Wep + 0x2424) = 100;
		} else {
			*(float*)(Wep + 0x2424) = 0;
		}
	}
		Sleep(50);
		}
}
bool HookOK()
{
   if(GetModuleHandleA("CShell.dll")   != NULL
   && GetModuleHandleA("ClientFx.fxd") != NULL)
       return 1;
   return 0;
}
 
DWORD WINAPI Wait(LPVOID)
{
   while(!HookOK()) Sleep(50);
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
   return 0;
}
 
BOOL WINAPI MainHook ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
   DisableThreadLibraryCalls(hDll);
   
   if ( dwReason == DLL_PROCESS_ATTACH )
   {
       MessageBoxA(0,"Hack by Jordyr" ,"SwiftdudesBase",0);

        CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
   }
   return 1;
}
i deleted a few things so you don't leech,Also something is detected Try get pass that
Quote Originally Posted by Jordyr View Post
Code:
//************ Luke Base Undetected *************\\
//*********** Credits:  SwiftDude Jr ************\\
//************ MPGH Corporight 2011 *************\\
//**************** 03/10/11 Unde. ***************\\

#include <windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))
 
#define WeaponMgr       0xA314B0
#define NoReload        0x2424
#define WeaponDamage    0x7F8
 
 
DWORD WINAPI Hacks(LPVOID)
{
   bool onehit = false,
        reload = false,
        nodmg = false;
   
   // Numpad keys To Hack's add More 1 to More Function's
   while(1)
   {
		if(GetAsyncKeyState(VK_F1) &1) { onehit = true; }
        if(GetAsyncKeyState(VK_F2) &1) { reload = true; }
        if(GetAsyncKeyState(VK_F3) &1) { nodmg = true;  }
     // if(GetAsyncKeyState(VK_variable) &1) { varieable = true; }

    //Make Hacks Here !!
    // <= 533; i++) it's the number of guns in game.
		  
	  DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
      DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA314B0);
        if(pWeapon
	for(int i = 0; i <= 533; i++){
			DWORD Wep =  *(DWORD*)( pWeaponMgr + (4*i));
        // no granade damage
		if(!grenades) {
				*(float*)(Wep + 0x7F8) = 0.0f;
			}

		if(onehit) {
		*(float*)(Wep + 0x7F8) = 400.0f;
		} else {
		*(float*)(Wep + 0x7F8) = 10.0f;
		}
		
		if(reload) {
			*(float*)(Wep + 0x2424) = 100;
		} else {
			*(float*)(Wep + 0x2424) = 0;
		}
	}
		Sleep(50);
		}
}
bool HookOK()
{
   if(GetModuleHandleA("CShell.dll")   != NULL
   && GetModuleHandleA("ClientFx.fxd") != NULL)
       return 1;
   return 0;
}
 
DWORD WINAPI Wait(LPVOID)
{
   while(!HookOK()) Sleep(50);
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
   return 0;
}
 
BOOL WINAPI MainHook ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
   DisableThreadLibraryCalls(hDll);
   
   if ( dwReason == DLL_PROCESS_ATTACH )
   {
       MessageBoxA(0,"Hack by Jordyr" ,"SwiftdudesBase",0);

        CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
   }
   return 1;
}
i deleted a few things so you don't leech,Also something is detected Try get pass that
i don't need a base, i need an undetected hook for crossfire
Search bar, use google
Nooooooooooooooooooooooooooooob

[Source Code] + requesting?!

lying = ban!!
change it to [Request] or get out of here
Quote Originally Posted by MightySaa0d View Post
Nooooooooooooooooooooooooooooob

[Source Code] + requesting?!

lying = ban!!
change it to [Request] or get out of here
+Agree


@Jordyr
Thanks! I've been looking for a simple base like this so I can start doing a few of my own things.

@DaRk
First off, what do you mean "hook"? As I think your talking about what I think your asking for but not quite sure.
Quote Originally Posted by bug_NOT_ME View Post
+Agree


@Jordyr
Thanks! I've been looking for a simple base like this so I can start doing a few of my own things.

@DaRk
First off, what do you mean "hook"? As I think your talking about what I think your asking for but not quite sure.
it means adding something to a program or etc.
and i need a undetected hook for crossfire.
don't post it people will leech x.x
if you're going to show him pm him it
but you should actually learn how to make your own hook :|
my hack is 100% undetected but it's pretty buggy
sry abt that, i forgot
Do some research about mifcuntion hooks or wddm hooks, wddm is working fine for me.
Quote Originally Posted by joered View Post
Do some research about mifcuntion hooks or wddm hooks, wddm is working fine for me.
didnt you say the same in another thread?
Quote Originally Posted by joered View Post
Do some research about mifcuntion hooks or wddm hooks, wddm is working fine for me.
ok thanks dude
Yes but people dont read other threads about the same problem
comon anyone help!!!
Posts 1–15 of 23 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us