How to create a hack.

Posts 16–21 of 21 · Page 2 of 2
Quote Originally Posted by zhanre View Post
@NiceTry Here you go... Offsets are updated
Note: this base is already detected unless you changed its dllmain

Code:
#include<windows.h>


#define WeaponMgr 0xB65E94


DWORD WINAPI Hacks(LPVOID)
{


bool noreload = true;
bool nochange = true;
bool norecoil = true;


while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
PDWORD Weapon = (PDWORD)(CShell + 0xB65E94);  


//No Reload
if (noreload)
{
if (pWeaponMgr)
   {
       for(int i=0; i<630; i++)
{
   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
       *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBDC) = 2.0f;
	   }
   }
}

//No Change
if (nochange)
{
if (pWeaponMgr)
   {
       for(int i=0; i<630; i++)
{
   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
       *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBD8) = 2.0f;
	   }
   }
}

if(norecoil)
				   {
					   if (pWeaponMgr) 

						   for(int i=0 ; i<630 ; i++)

						   {
							   DWORD Wep = *(DWORD*)(*Weapon + 4*i);

							   if(Wep)
							   {
								   for(int y = 0; y<9; y++)
								   {
									   *(float*)( Wep + (0X34C0 + (4*y))) = (float)0;
									   *(float*)( Wep + (0x34C4 + (4*y))) = (float)0;
									   *(float*)( Wep + (0x34C8 + (4*y))) = (float)0;
									   *(float*)( Wep + (0x3B20 + (4*y))) = (float)0;
									   *(float*)( Wep + (0xE98 + (4*y))) = (float)0;
									   *(float*)( Wep + (0x1000 + (4*y))) = (float)0;
									   
								   }
							   } 

						   } 
}

Sleep(100);
}
}
}



bool IsGameReadyForHook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}

DWORD WINAPI Wait(LPVOID)
{
while(!IsGameReadyForHook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return false;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by zhan" , "CrossFire Philippines Hack" ,0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
Haha swiftdude's base it doesn't even work with me haha I remembered myself doing alot of things in this base like a dumbass
@Ryuzaki2 i can't remember if this is swiftdude's base but i'm using that base before....
@Sprite even if he just leeched, it doesn't matter because it's already detected in short (for Educational Purpose Only) Sounds like play money
Quote Originally Posted by zhanre View Post
@Ryuzaki2 i can't remember if this is swiftdude's base but i'm using that base before....
@Sprite even if he just leeched, it doesn't matter because it's already detected in short (for Educational Purpose Only) Sounds like play money
how can i make it undetected?...the base
Quote Originally Posted by CorporalDunn1337 View Post
how can i make it undetected?...the base
Change it's structure
@Ryuzaki2 I don't really like people who keeps asking how to make a hack and how to make it undetected ..
May tutorial ba dito kung paano maglagay ng sounds sa hack?
Posts 16–21 of 21 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us