CFFG - CrossFire Fantasy Games Hacks


You are not connected. Please login or register

Why Should it not Work ?

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Why Should it not Work ? on 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;
}

View user profile

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

woombrah

avatar
Admininstrator
Admininstrator
Lol why you created another topic fir this? xD



[You must be registered and logged in to see this image.]
Trusted list : -[CFFG]tomboo30
-tomboo50 xD
-Admin
Scammers : none yet
[You must be registered and logged in to see this image.]

[You must be registered and logged in to see this image.]
View user profile

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

[CFFG]tomboo30

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



[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.] [You must be registered and logged in to see this image.]
[code:1]Trusted list :
- Woombrah [You must be registered and logged in to see this image.]
- Admin [You must be registered and logged in to see this image.] [/code:1]
View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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