CFFG - CrossFire Fantasy Games Hacks


You are not connected. Please login or register

Why Should it not Work ?

3 posters

Go down  Message [Page 1 of 1]

1Why Should it not Work ? Empty Why Should it not Work ? Sat Aug 18, 2012 12:13 am

xSheadowX


Registered User
Registered User

Hello Admin, (Community)
i created my own Base but it only works if i have Only Wallhack in there, if i add for example weaponhack it might not work but why ?

Code:
#include <windows.h>

#define WeaponMgr 0xB65E94//
#define nochange 0xBDC//
#define NoReload 0xBD8//
#define damage 0x7C4//
#define NoRecoil1 0x4E8//
#define NoRecoil2 0x36A0//
#define NoRecoil3 0xE98//
#define NoRecoil4 0x1000//
#define NoRecoil5 0x1168//
#define knifeOHK1 0x3B9C//
#define knifeOHK2 0xBA4//

#define wallhack 0x6D0644

void Base(void)
{
    for (;;)
    { 
      DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
      DWORD* knife = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 5*4);
      DWORD* xmasaxe = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 239*4);
      *knife = *xmasaxe;
      memcpy((VOID*)wallhack, "\x00\x00\x00\x00\x00\x00", 6);
   }
}

DWORD WINAPI Attach(LPCVOID)
{
    Base();
    return true;
}

bool WINAPI DllMain(HMODULE hDll, DWORD dwReason, PVOID pvReserved)
{
    if(dwReason == 1)
    {
        DisableThreadLibraryCalls(hDll);
        CreateThread(0,0,(LPTHREAD_START_ROUTINE)Attach, hDll,0,0);
    }
    return true;
}

2Why Should it not Work ? Empty Re: Why Should it not Work ? Sat Aug 18, 2012 7:42 am

woombrah

woombrah
Admininstrator
Admininstrator

Lol why you created another topic fir this? xD

3Why Should it not Work ? Empty Re: Why Should it not Work ? Sat Aug 18, 2012 10:30 am

[CFFG]tomboo30

[CFFG]tomboo30
Global Moderator
Global Moderator

#closed already said on other topic. Dont make 2 topics of the same thing plz.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum