very simple memory hack

Posts 1–4 of 4 · Page 1 of 1
very simple memory hack
Heres a very simple memory hack that you can change to your liking, i use it for call of duty world at war to mess around with.

Code:
#include <iostream>
#include <windows.h>
#include <conio.h>
#include <string>

using namespace std;

int main()
{
	string response;
	cout << "		     gogogokitty199's   Point   Modifier\n";			//title at the top of program
	cout << " \n";
	cout << " \n";

	LPCWSTR Waw = L"Call of Duty®";				//name of game window, example(The Dead Linger)
	HWND hwnd = FindWindow(0, Waw);

	DWORD process_ID;
	GetWindowThreadProcessId(hwnd, &process_ID);
	HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process_ID);
	
	while (true)			//program will reset here
	{
		cout << "What do you want to set your points as: ";
		int Points;
		cin >> Points;
		DWORD newdatasize = sizeof(Points);
		if (WriteProcessMemory(hProcess, (LPVOID)0x018EF124, &Points, newdatasize, NULL))			//enter the address here
			cout << "point write success\n";
			cout << "  \n";
	}




}
Quote Originally Posted by gogogokitty View Post
Heres a very simple memory hack that you can change to your liking, i use it for call of duty world at war to mess around with.

Code:
#include <iostream>
#include <windows.h>
#include <conio.h>
#include <string>

using namespace std;

int main()
{
    string response;
    cout << "             gogogokitty199's   Point   Modifier\n";            //title at the top of program
    cout << " \n";
    cout << " \n";

    LPCWSTR Waw = L"Call of Duty®";                //name of game window, example(The Dead Linger)
    HWND hwnd = FindWindow(0, Waw);

    DWORD process_ID;
    GetWindowThreadProcessId(hwnd, &process_ID);
    HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process_ID);
    
    while (true)            //program will reset here
    {
        cout << "What do you want to set your points as: ";
        int Points;
        cin >> Points;
        DWORD newdatasize = sizeof(Points);
        if (WriteProcessMemory(hProcess, (LPVOID)0x018EF124, &Points, newdatasize, NULL))            //enter the address here
            cout << "point write success\n";
            cout << "  \n";
    }




}
great code
It needs some fixing
Quote Originally Posted by HeyWASSUP View Post
It needs some fixing
meh it workes for what i was doing. any suggestions? im still new
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?