[TUT]How to make memory hack
Hello 
Title says it all
Let's get started .
###
First open up Visual Studio 2010 / 2008 ( Any version you have there )
Then create a new project name it to any name u want . ( Should be Win32 Project )
Then a new window will come out
Click "Next" then pick DLL and click "Finish"
Now for the coding ..
###
( If you C+P this just give credits okay ? ^^ )
Just edit ..
This base has No Change and No Recoil just edit the addies
dllmain.cpp
###
Now your done ^^
Just compile and see ..
I did not created this tut just for you to C+P it's for you to learn .
If you want some source codes .. just use @DaRk 's Stickied thread.
You can add more features like See Ghost
but first you need to go back to the bools part
you have this right ?
Now below bool change add this :
Source Code of see ghost is :
That's all for today //
Good Luck guys !

Title says it all

Let's get started .
###
First open up Visual Studio 2010 / 2008 ( Any version you have there )
Then create a new project name it to any name u want . ( Should be Win32 Project )
Then a new window will come out
Click "Next" then pick DLL and click "Finish"
Now for the coding ..
###
( If you C+P this just give credits okay ? ^^ )
Just edit ..
This base has No Change and No Recoil just edit the addies

dllmain.cpp
Code:
#include<windows.h>
#include <iostream>
#define WeaponMgr 0x??????
using namespace std;
void Hacks()
{
for(;;) {
__asm pushad;
//Memory
bool change = true;
bool norecoil = true;
while(true)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
PDWORD Weapon = (PDWORD)(CShell + 0x?????? );
}
}
//Memory Functions
if (change)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x0000) = 100.0f;
}
}
}
if(norecoil)
{
if (pWeaponMgr)
for(int i=0 ; i<577 ; i++)
{
DWORD Wep = *(DWORD*)(*Weapon + 4*i);
if(Wep)
{
for(int y = 0; y<9; y++)
{
*(float*)( Wep + (0x0000 + (4*y))) = (float)0;
*(float*)( Wep + (0x0000 + (4*y))) = (float)0;
*(float*)( Wep + (0x0000 + (4*y))) = (float)0;
*(float*)( Wep + (0x2000 + (4*y))) = (float)0;
*(float*)( Wep + (0x0000 + (4*y))) = (float)0;
*(float*)( Wep + (0x2000 + (4*y))) = (float)0;
}
}
}
}
Sleep(100);
}
__asm popad;
}
}
//Put your DLLMain below
Now your done ^^
Just compile and see ..
I did not created this tut just for you to C+P it's for you to learn .
If you want some source codes .. just use @DaRk 's Stickied thread.

You can add more features like See Ghost
but first you need to go back to the bools part
you have this right ?
Code:
bool norecoil = true; bool change = true;
Code:
bool SeeGhost = true;
Code:
if(Playerbasic) {
*(float*)(Playerbasic + 0x??) = (float)1.0;
*(float*)(Playerbasic + 0x??) = (float)1.0;
*(float*)(Playerbasic + 0x??) = (float)1.0;
}
Good Luck guys !

)