CoolUseful Hack Information + Details to become a hack coder - [MUST READ]

Posts 1–15 of 75 · Page 1 of 5
Useful Hack Information + Details to become a hack coder - [MUST READ]
This is in fact very useful for beginners learning... I'm gonna to try to make it as short as possible, but I think it will be fairly long...


This thread will contain...

FAQ (Frequently Asked Questions)
  1. C++ (DETAILED)
  2. ASM (You need to know it's knowledge to know how to utilize Olly)
  3. Memory Hacks
  4. D3D(Direct 3D)


Questions that will be answered
  1. How can I make a hack?
  2. What is C++?
  3. How do I make a memory hack?
  4. How do I make a D3D wallhack?
  5. How can I hook D3D?
  6. How can I hook?!?


First, we will go over C++.

If you want to create a hack the first step you should make is learning the programming language, C++...You can read tutorials off Youtube. But books are the most effective way. You can buy books in computer-related stores or anywhere else you think you may be able to buy them. We also have some books, tutorials and resources here. Check out the tutorials and such in Crossfire's Hack Source Code Section or the C++/Programming Section.

Here are some books and resources and tutorials that can help you get started with C++:


ASM

You will need to know the ASM(Assembly) programming language... It's very useful and not very difficult to learn... It will help you in finding addresses(addies), offsets and everything related to Olly... The following links should help you understand better.



After you know what ASM is... You will get to unpack CShell.dll(Client Shell). With this .dll, you can find addresses, offsets, etc. The following tutorial will help you unpack CShell.


Memory Hacks

To create a memory hack, you will need to know a couple of things:
  1. Includes and Defines (Defines: You will need the addys or offsets to work it out)
  2. Loading CShell (You use them to find Offsets or Addys)
  3. Base - Contains Loops and values(Will be mentioned, but not explained.)
  4. Hook

This link will help you get started...


Lets take every step one by one...

1. Includes and Defines


At the top of your hack you need to #include "stdafx.h" or #include <windows.h> (You will understand why when you Learn C++)

Then you need To #define a Mgr (Pointer)
Like Weapon Mgr-Wall Mgr-<<Ghost Mgr< (BasicPlayerInfo).
Then #define 0xaddy - You will understand how to get it through @moathebest's tutorial. Some of the addys and text strings that can help you.

PS:Some features may need more than 2-3 addys and some need only one. You will know according to the following:

Code:
WeaponMgr
WeaponMgr: 10a68f80                                = You need it most for the following.
ZoomInMoveSpeedPenalty: 2458            = DONT KNOW
MovePenaltyForDelayFire: 245c                = DONT KNOW
WallShotDamageRatio: 2668                   = SHOOT THROUGH WALLS
BulletPosOffset: 1930                              = LESS RECOIL
ReloadAnimRatio: 269c                            = NORELOAD
ChangeWeaponAnimRatio: 26a0               =NOCHANGE
CrossHairRatioPerRealSize: 26a4              = NOSPREAD
ContinuousShotInterval: 26b8                = DON'T KNOW
ContinuousShotKeyInterval: 26bc                = DON'T KNOW
ZoomMode: aa8                                        = DON'T KNOW
NoZoom: aac                                         = DON'T KNOW
FullZoom: aac                                         = DON'T KNOW
HalfZoom: aac
GunKnifeRange: 2784                            = DON'T KNOW
StunTime: ac4                           = No Knock Back
ShotsPerAmmo: 828                             = No Shotgun Spread
Range: 7ec
UnlimitedAmmo: 7fc                              = Must be put with NoReload
AmmoDamage: 7f8                     = One Hit
LowerAnimRate: 2520                        = More Less Recoil 1
LowerAnimRate: 258c                         =// 2
LowerAnimRate: 2590                             = // 3
LowerAnimRate: 2594                             = //4
WallMgr - use WallMgr with Shoot Through walls. Shoot Through Walls needs four addies.

Code:
WallMgr: 10a68f6c                          = Shoot Through Walls (1) 
EdgeShotEnabled: 4e8                    = //2
WallShotEnabled?: 4ec                      = //3
PerfectWallShotEnabled: 4f0                        =//4
GhostMgr - You use GhostMgr with See Ghosts, Fast Defuse, Fast Plant, and with Distance Defuse.

Code:
GhstMgr: 10a021f8
CharacterHiddenAlpha: 88                   = See Ghost (1)
CharacterHiddenWalkAlpha: 8c                = See Ghost (2)
CharacterHiddenRunAlpha: 90                  = //3
CharacterHiddenAlpha: 88                     = //4
MovementHiddenRate: 9C                = Speed Hack
C4PlantTime: 7C                    = Fast Plant
C4DefuseTime: 80                        = Fast Defuse (1)
MaxCanDefuseDistance: 84                  = Fast defuse (2)
DamagePenaltyTime: 74                     = Not entirely sure.
DamagePenaltyMoveRate: 78                     = Not entirely sure.
------------------------------------------------

2. Loading CShell

After the includes and defines you have to load CShell. There are 2 ways. (Under it you must put Weaponmgr, WallMgr or GhostMgr).

First:
Code:
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);
Second:
Code:
DWORD CShell = (DWORD)LoadLibraryA("CShell.dll");
DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);

3. Base


Never use someone else's base. It's no good. If you are a new C++ you would for 1-2 TIMES ONLY to help you a little bit.
The base of a hack is the most important part in a hack. The hack doesn't work without it.
To make your own base, follow this link:


4. Hook

You have to hook your Memory Hacks. Some people say memory hacks can be done without a hook and some people say it can't. Anyways, here is a tutorial on how to hook It was found in Brimir's signature. You will find it useful.


Values and Loops

NoRecoil: (Special feature - It needs two loops unlike others.)

Value:
Code:
0.0f                  FLOAT
Loop>
First Loop:
Code:
for(int i=0; i<560; i++)
Second Loop: (The variables doesnt matter - Y or J)

Code:
for(int j=0; j<10; j++)
NoSpread

Loop:
Code:
for(int i=0; i<560; i++)
Value:
Code:
0.0f                   FLOAT
NoWepWeight

Loop:
Code:
for(int i=0; i<560; i++)
Value:
Code:
0.0f                     FLOAT
NoChangeDelay

Loop:
Code:
for(int i=0; i<560; i++)
Value:
Code:
100.0f                     FLOAT
Unlimited Ammo
Loop:
Code:
for(int i=0; i<560; i++)
Value:
Code:
90             FLOAT
SpeedHack (Two values... One if you put no weapon weight with it, and one if you put it alone.)

No Weapon Weight:

First Value With No Weapon Weight:
Code:
-0.18f  (float)
Second Value:
Code:
6000.0f

D3D

I dont know much about D3D, so it may be a little complex.

A D3D hack contains:
  1. 1. Direct X.
  2. 2. Special #includes - it doesn't have defines.
  3. 3. Special Hooks.

The following links will help you a lot. But remember, The Detours.H Method is patched. Also, it's not for crossfire. Just read...

About DirectX...

You must get some includes from Direct X. To do that you must download Direct X SDK Summer update. The link for the download is below.

After that...

Go to C++, Tools, Options, Projects and Solutions. VC++ Directories, include directories, Edit - And you will see an icon like a folder... Press it - Go to Browse
C:/Direct X/include

AND

Go to C++, Tools, Options, Projects and Solutions, VC++ Directories, Library Directories, Edit - And then you will see an icon like a folder, press it and go to Browse
C:/Direct X/lib.

Or if you have an error and you can open tools>options, you would simply do the same but,
you would go to: {Name Here}


Right click on it. Then go to properties, VC++ Directories.


Second Part...

There are 5 different methods to hook D3D. However I only know 2 ways so I'm not going to show how to do it. However, this is used so you guys know what kinds of methods to D3D hooking are - so you can work your way from here and then move onto other tutorials on how to hook with that specific method.
  • Vtable Hooking
  • Midfunction hooking
  • SSDM Hooking
_________

And now this tutorial has ended. Hope you liked it. Sorry if it's a little bit complex to you.

Credits all go to:

@Assassin's Creed[/URL]
@Brimir
@Hassan
@moathebest
@Ryuesi
@Skrillexed


Code:
Shoot through walls:
Loop:
64

Value:
true;

IMUL:
4F4

Seeghost:
loop:
doesnt have

value:
300.0f

Fast Plant:
Loop:
dont know

Value:
1
Fast defuse:
Loop:
dont know

Value:
1
Want to make a Weapon Hack? - You have to make:

bool hak = true;
Under the normal bools...

Then...

You have to delete (sleep) because it will crash your game. Also, you have to do a base like this:

Put it under the first CSHell Loading:

Code:
DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr))+25*4);
DWORD* krisssuper = (DWORD*)((*(DWORD*)(CShell + WeaponMgr))+529*4);
Then
If (hak)

*m16 = *krisssuper;
And now you're done. If you want to change the weapon instead of making it M16 -> Kriss Super V, just change the index. Instead of 25*4 or 529*4, change it to any number from those:

Check out the Gun Index. This is updated since four weeks ago:

I will discuss with other minions for a sticky.
Also dont flame
/deleted your post
Quote Originally Posted by A$IAN View Post
I will discuss with other minions for a sticky.
Also dont flame
/deleted your posts (Both)
Thx for deleting Those Posts .... but why did u delete the one that contained things about weapon hack..??u could have just edited it
Wrong Low the loop
for (int j=0; j<9; j++)

Now is correct
haha, You added my tuts. Thanks for credits
Quote Originally Posted by Brimir View Post
haha, You added my tuts. Thanks for credits
No Prob...Love ur tuts 2 Keep it Up


---------- Post added at 04:29 PM ---------- Previous post was at 04:28 PM ----------

Quote Originally Posted by LoveyMush View Post
Wrong Low the loop
for (int j=0; j<9; j++)

Now is correct
I dont think it rly matter from 9 to 10 i made perfect NoRecoil with that loop
Hmm , i make with that loop , its correct too !

Sorry ^^
Quote Originally Posted by LoveyMush View Post
Hmm , i make with that loop , its correct too !

Sorry ^^
I rly hope this gets stickied
Yeeah , i love your tuts
Really great job
Posts 1–15 of 75 · Page 1 of 5
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?