![]() |
| |
Thread Tools Display Modes |
|
C++ game hacking
On this forum you guys are more interested in C++ So here is a source for a basic Hack I put together
Code:
#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
LONG address = 0x400589C0;//rhog ammo for haloce in bloodgulch
int newvalue = 999; //value to send to game
HWND hwnd;
HANDLE phandle;
DWORD pid;
hwnd = FindWindow(NULL, "Halo"); //what window to find
if (hwnd != 0) {
cout << "HaloCE is running. Press enter to hack it.";//just a option
SetWindowText(NULL,"HaloCE Hack"); //name of program window
GetWindowThreadProcessId(hwnd, &pid);
phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
cin.get();
} else {
cout << "Open HaloCE"; //shows if game is not running
cin.get();
return 0;
}
if (phandle != 0) {
WriteProcessMemory(phandle, (LPVOID)address, (LPVOID) &newvalue, 4, 0);
cout << "Done";//says done if it worked
cin.get();
} else {
cout << "Failed"; //if it didn't work it says failed
cin.get();
}
}
Last edited by S4LBULLET; 02-28-2008 at 11:04 PM.. |
|||||||
|
would you care to explain what this is going to do ?
__________________
Domain Names For Sale !!!
Code Exploit.com Free Mix.info BBWT.org If you are interested click the link to make an offer. |
|||||||
|
Im on my fone so I can't see it completly but wat exactly does this do?
Im on my fone so I can't see it completly but wat exactly does this do? Please explain
__________________
DONT CLICK HERE
![]() Quote:
Quote:
Quote:
Last edited by mameman2; 02-28-2008 at 11:27 PM.. Reason: Automerged Doublepost |
||||||||||
|
This just gives you 999 rocket ammo for the rocket hog this can be used in other games just change the address and the number I have comments on where the stuff goes
__________________
![]() |
|||||||
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|






















Linear Mode
