CFFG - CrossFire Fantasy Games Hacks


You are not connected. Please login or register

[Tutorial]Make a hack

Go to page : 1, 2  Next

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

1 [Tutorial]Make a hack on Fri Jul 20, 2012 5:07 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
I will teach you guys on how to make a hack Cool

first you need C++ (here it is: [You must be registered and logged in to see this link.]

???, dont know hwat it is?

no problem ;) , just read this: [You must be registered and logged in to see this link.]




now, you can just do scripting, no needed any knownlege about codding, you can call yourself leecher for doing this Surprised




here is an example of a code:

Code:
#include <Windows.h>

#define WeaponMgr          0xB65E94//

#define nochange            0xBDC//
#define NoReload            0xBD8//



DWORD WINAPI hacks(LPVOID)
{
   while(1)
{
 DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
 DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 25*4);
 DWORD* m4_rd = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 266*4);

*m16 = *m4_rd;


if (CShell + WeaponMgr)
 

for(int i=0; i<700; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<10 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload +j*4) = 100.0f;

}
}
}

 }


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

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(100);
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, "Message contect","Tittle!", 0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}

it includes weapon hack and no reload.




Weapon Hack:

DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 25*4);
DWORD* m4_rd = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 266*4);

*m16 = *m4_rd;

that is weapon hack, "25*4" - 25 = weapon ID, you can find more here: [You must be registered and logged in to see this link.]

what it does is making the m16 (ID 25) the same as ID 266 (m4a1 red dragon)

..

too add more just doo this:

DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 25*4);
DWORD* m4_rd = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 266*4);
DWORD* other= (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 25*4);
DWORD* other1= (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 266*4);

*other = *ther1;

easy




And no reload code is here:

if (CShell + WeaponMgr)


for(int i=0; i<700; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<10 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload +j*4) = 100.0f;

}
}
}

for no recoil you dont need to change nothing, just add the addy.

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

700 = weapons afected, in crossfire there isnt soo many weapons, but i just put a big value to know i m not missing anyhting :)

...

"NoReload" is define in the code top

#define NoReload 0xBD8//

....

100.0f; or 100; is the same.

it will make the noreload faster as the number is bigger.




all the other things needs requirement of c++ basics, but you dont need to mess up with them




Now post your hacks here and if u need helpjust ask





VIDEO:

[You must be registered and logged in to see this link.]

the sticky thread that i was talking about is this thread :roll:



Last edited by [CFFG]tomboo30 on Thu Aug 16, 2012 12:06 pm; edited 1 time in total (Reason for editing : u had an ) at ur C++ download so they go to the visual studio site not the download site :D)

View user profile http://cffg.umforum.net

2 Re: [Tutorial]Make a hack on Sat Jul 21, 2012 5:35 am

woombrah

avatar
Admininstrator
Admininstrator
Nice Tut :)

View user profile

3 Re: [Tutorial]Make a hack on Sat Jul 21, 2012 2:58 pm

[CFFG]tomboo30

avatar
Global Moderator
Global Moderator
damn nice tut Very Happy

View user profile

4 Re: [Tutorial]Make a hack on Tue Jul 24, 2012 3:40 pm

Anikila


Registered User
Registered User
Wow very nice!!!

View user profile

5 Re: [Tutorial]Make a hack on Tue Jul 24, 2012 3:43 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
gabidantas wrote:Wow very nice!!!

sahre your hacks with us Very Happy Very Happy Very Happy

View user profile http://cffg.umforum.net

6 Re: [Tutorial]Make a hack on Wed Jul 25, 2012 9:22 am

Anikila


Registered User
Registered User
Ok!!

View user profile

7 Re: [Tutorial]Make a hack on Wed Jul 25, 2012 11:11 am

Denoez

avatar
Registered User
Registered User
Awesome tutorial, maybe soon i will try to do this.

View user profile

8 Re: [Tutorial]Make a hack on Fri Jul 27, 2012 7:40 pm

Anikila


Registered User
Registered User
me gusta
*.*

View user profile

9 Re: [Tutorial]Make a hack on Fri Jul 27, 2012 8:01 pm

tecka


Leecher
Leecher
cool Very Happy but i hope CFFG VIP hack will be better Very Happy if it still true that if you get 50 post you will get VIP Very Happy

View user profile

10 Re: [Tutorial]Make a hack on Fri Jul 27, 2012 8:08 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
tecka wrote:cool Very Happy but i hope CFFG VIP hack will be better Very Happy if it still true that if you get 50 post you will get VIP Very Happy

menu is bugged, and i m working in a advanced wep hack system





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

11 Re: [Tutorial]Make a hack on Fri Jul 27, 2012 8:10 pm

tecka


Leecher
Leecher
yeah i am not saying i want it Very Happy take your time ;) cause i like this forum Very Happy it is awesome here :) and maybe if it will work i will have a way how to farm Very Happy but i am still trying

View user profile

12 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 10:54 pm

Dove


Registered User
Registered User
witch program should i get on that website?

View user profile

13 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:01 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
Dove wrote:witch program should i get on that website?

c++ o.0 what you mean





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

14 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:03 pm

Dove


Registered User
Registered User
theres like 8 boxes there that explain def stuff....witch one? thats what i mean

View user profile

15 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:05 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
Dove wrote:theres like 8 boxes there that explain def stuff....witch one? thats what i mean

just doo what i did on video Smile





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

16 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:11 pm

xCo0kie


Member
Member
I used to make hacks but now I srsly want to make it again :) thanks to u <3 I will make it today



[You must be registered and logged in to see this image.]
Proud to be Admin

Buy Donator TODAY!
[You must be registered and logged in to see this link.]
View user profile http://CFFG.tk

17 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:14 pm

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
xCo0kie wrote:I used to make hacks but now I srsly want to make it again :) thanks to u <3 I will make it today

Very Happy i like to help :))





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

18 Re: [Tutorial]Make a hack on Sat Jul 28, 2012 11:22 pm

xCo0kie


Member
Member
:) I added ya on skype.



[You must be registered and logged in to see this image.]
Proud to be Admin

Buy Donator TODAY!
[You must be registered and logged in to see this link.]
View user profile http://CFFG.tk

19 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:04 am

Dove


Registered User
Registered User
okay i did it but nothing is in the release folder :/

View user profile

20 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:12 am

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
Dove wrote:okay i did it but nothing is in the release folder :/

check the "start" button if there is somthing called debug around there, click it and change to releasr





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

21 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:17 am

Dove


Registered User
Registered User
i did

View user profile

22 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:17 am

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
Dove wrote:i did

maybe you got errors, do it shows a message saying sucefully debuged or somthing?





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

23 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:18 am

Dove


Registered User
Registered User
this system can not find the file specified

View user profile

24 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:18 am

Dove


Registered User
Registered User
nope

View user profile

25 Re: [Tutorial]Make a hack on Sun Jul 29, 2012 1:29 am

Dove


Registered User
Registered User
okay so its messed up beause i added gun changes.all i did was copy,go to the end of the m4 drag lst and press enter to go to the next line.what button should i press to do what you did?

View user profile

Sponsored content


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

Go to page : 1, 2  Next

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