Author Topic: one hit ZM source code  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Offline [FFH]Hane237

  • Administrator
  • Grunt
  • *
  • Posts: 33
  • Karma: +65535/-0
  • FHC - FreeHackingCenter - Ultimate Game Hacking
  • Location: FHC - FreeHackingCenter - Ultimate Game Hacking Admin
    • View Profile
    • FHC - FreeHackingCenter - Ultimate Game Hacking
Re: one hit ZM source code
« Reply #2 on: November 13, 2011, 06:50:05 pm »
nice job!
FHC - FreeHackingCenter - Ultimate Game Hacking Stuff team.

Offline sthilla

  • Special Ops!
  • Grunt
  • *
  • Posts: 19
  • Karma: +65535/-0
  • CrossfireHackerz!
  • Location: Somewhere In The World
    • View Profile
one hit ZM source code
« Reply #1 on: November 13, 2011, 05:26:14 pm »
Code: [Select]
// main.cpp.cpp : Defines the entry point for the console application.
//

#include "windows.h"


int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
#include "stdafx.h"
#define WeaponMgr 0xA65EE8
#define OneHitKill 0x7F8

DWORD WINAPI Hacks(LPVOID)
{
bool hak = true;
bool recoil = true;

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

if(hak)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + OneHitKill ) = 9999;
}

}
}
Sleep(100);
}

}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

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

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

if ( dwReason == DLL_PROCESS_ATTACH )
{

MessageBoxA(0, "Made by sthilla","CFNAv2", 0);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
[/color][/b]
hey guys please dont ask how to use it its for creators only an a simple thanks would be nice becuase it took me forever to fix it  8)

Share on Facebook Share on Twitter


 

Copyright © 2012 CrossFireHackerz. All rights reserved.