❓ Hello I need help for an simple BO2 hack[C++ only please:D]
Hello i need Help for my BO2 hack.
It should be very simple but i dont know how to write it butttt...
i don't want this to be a program like you (pro) hackers write something..
i just want an small programm that holds my Address(and the "offset") to hack this game!
Like if i open this hack then it searches for the game.If the hack does found the game.. the hack then should use my Address to overwrite the
current Address for Ammo
As you know already and i don't know how to write it.
So i will post a Code that i found in YouTube and changed it a little bit.
Here is the Code:
I have sawed this code in YouTube.
#include <iostream>
#include <windows.h>
//FindWindow();
//GetWindowThreadProcessId();
//OpenProcess();
//WriteProcessMemory();
//CloseHandle();
using namespace std;
int main
{
int newValue = 50;
HWND hWnd = (0, "t6mp.exe")
if(hWnd == 0)
{
cerr << "Couldn't finde BO2" << endl;
}else[
DWORD pId;
GetWindowThreadProcessId(hWnd, &pId);
HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
if(!hProc)
{
cerr << "Couldn't open BO2" << endl;
}else
{
WriteProcessMemory(hProc, (LPVOID)0x1F00ED4, (DWORD)sizeof(newValue), NULL);
if(isSuccessful > 0)
{
clog << "Memory is overwritten" << endl;
}else
{
cerr << "can not overwrite Memory" << endl;
}
}
]
}
Please can you say me if that is right if not pls can you tell me
Cuze i had some trouble with DevC++ Compiler and it sayed that it ,The programm(DevC++), couldn't be compiled cuze some errors and i didn't see
Errors!.
So please Can you help me and say me how to write an simple hack like this please.
I have already the Address for unlim. Ammo and yeah i know that there a many BO2 hacks out but i want to write it private or public it doesn't
matter, but i just need help first of all i have a little bit knowledge
(but not so many as you have
)
But i don't know so much that i could write a hack that could hack (ANY GAME!! Like[MW3,MW2, BF3,BFH ect.]
)
so please if you can teach me that step-by-step Please so i can Understand what you mean...
SRY FOR MY BAD ENGLISH
And sry for that Please every time
If i posted this Thread in a wrong Section then Please move it
But please do not insult me or anything.
Only cuz im a NOOBIE ;D ;D ;D ;D
It should be very simple but i dont know how to write it butttt...
i don't want this to be a program like you (pro) hackers write something..
i just want an small programm that holds my Address(and the "offset") to hack this game!
Like if i open this hack then it searches for the game.If the hack does found the game.. the hack then should use my Address to overwrite the
current Address for Ammo
As you know already and i don't know how to write it.So i will post a Code that i found in YouTube and changed it a little bit.
Klick me for the Code
Here is the Code:
I have sawed this code in YouTube.
#include <iostream>
#include <windows.h>
//FindWindow();
//GetWindowThreadProcessId();
//OpenProcess();
//WriteProcessMemory();
//CloseHandle();
using namespace std;
int main
{
int newValue = 50;
HWND hWnd = (0, "t6mp.exe")
if(hWnd == 0)
{
cerr << "Couldn't finde BO2" << endl;
}else[
DWORD pId;
GetWindowThreadProcessId(hWnd, &pId);
HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
if(!hProc)
{
cerr << "Couldn't open BO2" << endl;
}else
{
WriteProcessMemory(hProc, (LPVOID)0x1F00ED4, (DWORD)sizeof(newValue), NULL);
if(isSuccessful > 0)
{
clog << "Memory is overwritten" << endl;
}else
{
cerr << "can not overwrite Memory" << endl;
}
}
]
}
Please can you say me if that is right if not pls can you tell me

Cuze i had some trouble with DevC++ Compiler and it sayed that it ,The programm(DevC++), couldn't be compiled cuze some errors and i didn't see
Errors!.
So please Can you help me and say me how to write an simple hack like this please.
I have already the Address for unlim. Ammo and yeah i know that there a many BO2 hacks out but i want to write it private or public it doesn't
matter, but i just need help first of all i have a little bit knowledge
(but not so many as you have
)But i don't know so much that i could write a hack that could hack (ANY GAME!! Like[MW3,MW2, BF3,BFH ect.]
) so please if you can teach me that step-by-step Please so i can Understand what you mean...
SRY FOR MY BAD ENGLISH
And sry for that Please every time

If i posted this Thread in a wrong Section then Please move it
But please do not insult me or anything.
Only cuz im a NOOBIE ;D ;D ;D ;D

