Solved❓ Hello I need help for an simple BO2 hack[C++ only please:D]

Posts 1–5 of 5 · Page 1 of 1
❓ 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.

 
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
Hello, I'll tell you now what everyone else in the Programming forum is going to tell you, learn the (C++) language first.

Read this post

Also, even though you have some code, it's just some copy pasta from someone else. No one here will actually tell you what to do with it/explain it unless you pay them.

When what I've said has sunk in and you realize that everyone in this forum is right (because this is what everyone will say, multiple times, even after someone else has already said it) check out this link for a good book to read from.
Ok thanks for this reply ,
But i just wanted to someone explain it for me....
ok but i won't even pay someone to tell me a F**** code
Thx
Quote Originally Posted by I*Flux View Post
Ok thanks for this reply ,
But i just wanted to someone explain it for me....
ok but i won't even pay someone to tell me a F**** code
Thx
You don't need anyone to explain it.
For God's sake I read a book when I was 11 and understood it. You could too.
Pick a book and read it. Do all the exercises at the end of each chapter and practice.
ok Thanks, i will
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags

None

Talk with us