How to add cvar version project hack

Posts 1–2 of 2 · Page 1 of 1
How to add cvar version project hack
How i can to add new cvar in the console game "hack_version 1.0.0"
Like this code:

//code
#include <iostream>
#include <windows.h>

using namespace std;

int main()
{
cout << "Test Hack" << endl;
HWND fenster = NULL;
while(fenster == NULL)
{
fenster = FindWindow (NULL, TEXT ("Counter-Strike"));
Sleep(100);
}
cout << "CS 1.6 has been found!" << endl;

DWORD prozessid;
GetWindowThreadProcessId(fenster, &prozessid);

HANDLE handleprozess;
handleprozess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, prozessid);

DWORD puffer = NULL;
int can = 250;
int cy=250,para=30000,mermi=900;

WriteProcessMemory(handleprozess, (LPVOID)0x01A17C78, &can, (DWORD)sizeof(can),NULL);
WriteProcessMemory(handleprozess, (LPVOID)0x01A19544, &cy, (DWORD)sizeof(cy),NULL);
WriteProcessMemory(handleprozess, (LPVOID)0x01A1B9FC, &para, (DWORD)sizeof(para),NULL);
WriteProcessMemory(handleprozess, (LPVOID)0x01A16368, &mermi, (DWORD)sizeof(mermi),NULL);

CloseHandle(handleprozess); return 0;
}
//end.


Thanks for who will help me!
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us