Hello guys....I was wondering about a Multi Hack....
So the max things that i can do are:
Code:
#include <MW2_HACK.h> //<-This is my own Hearder File :D Wich Includes the Write Memory Function ;)
#ifndef MEM_HACK_H
#define MEM_HACK_H
BYTE Nop1[1] = {0x90};
BYTE GESP[5] = {0xE9, 0xE5, 0xD8, 0x06, 0x00};
BYTE sGH1[6] = {0x81, 0xF9, 0x55, 0x02, 0x00, 0x00};
BYTE sGH3[3] = {0x83, 0xE0, 0x66};
DWORD Nametag = 0x77EF7EC3;
DWORD ESP1 = 0x69F58A;
DWORD ESP2 = 0x69F58F;
DWORD Ghost1 = 0x647923;
DWORD Ghost2 = 0x647929;
DWORD Ghost3 = 0x647934;
#endif /*MEM_HACK_H*/
and....
Code:
// CF Nametag.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "mem_hack.h"
DWORD enableHack() {
if(GetAsyncKeyState(VK_F12) & 1){
WriteMemory(Nametag, Nop2, 2);
WriteMemory(ESP1, GESP, 5);
WriteMemory(ESP2, Nop1, 1);
WriteMemory(Ghost1, sGH1, 6);
WriteMemory(Ghost2, Nop1, 1);
WriteMemory(Ghost3, sGH3, 3);
}
return 0;
}
MW2_HACK.h(into the "includes" folder )
Code:
//Declarations
#ifndef MW2HACK_H
#define MW2HACK_H
#include <windows.h>
BYTE JMP[1] = {0xEB};
BYTE Nop2[2] = {0x90, 0x90};
BYTE Nop6[6] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90};
//Main Functions....
void WriteMemory(DWORD Address, void* bytes, DWORD Size) {
DWORD flOldProtect = 0;
VirtualProtect((void*)Address, Size, PAGE_EXECUTE_READWRITE, &flOldProtect);
memcpy((void*) Address, bytes, Size);
VirtualProtect((void*)Address, Size, flOldProtect, &flOldProtect);
}
#endif /*MW2HACK_H*/
Injected the *.dll and press F12.....Nothing Was Shows Up =/
Please Help Me Out......
Cheers, GoldenEagle92
PS:
Also i want to give some credits to some guys from the Net, i founded the offsets from their website