我承认这玩意没法联机用,因为联机时会有数据比对,很麻烦,再加上不想写那么多,所以暂时没有秒升三级,单位无限血,我就现在的源码和程序都发上来
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <conio.h>
int main()
{
printf("Mental Omega cheat!\n");
system("pause");
HWND hwnd;
DWORD pid;
HANDLE hprocess;
char bc;
hwnd = FindWindow(NULL,"Mental Omega");
if (!hwnd)
{
printf("please open your game\n");
system("pause");
return 10086;
}
GetWindowThreadProcessId(hwnd,&pid);
hprocess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,pid);
if (!hprocess)
{
printf("sorry,i can't help you\n");
return 1;
}
printf("---------------------mo作弊器------------------------\n");
printf("-------- M = money -----\n");
printf("----T = power B = back -----\n");
printf("---------------------mo作弊器------------------------\n");
while (1)
{
bc = getchar();
if (bc=='M'||bc=='m')
{
const DWORD rdde=0x00884D08;
const DWORD rddea=0x00884D04;
const DWORD rddeaa=0x15884244;
DWORD money;
printf("how many money do you want\n");
scanf("%ld",&money);
WriteProcessMemory(hprocess,(LPVOID)rdde,&money,4,0);
WriteProcessMemory(hprocess,(LPVOID)rddea,&money,4,0);
WriteProcessMemory(hprocess,(LPVOID)rddeaa,&money,4,0);
}
else
{
if (bc=='T'||bc=='t')
{
const DWORD rbba=0x00880D24;
const DWORD rbbat=0x158892E0;
DWORD moneye = 0;
WriteProcessMemory(hprocess,(LPVOID)rbba,&moneye,4,0);
WriteProcessMemory(hprocess,(LPVOID)rbbat,&moneye,4,0);
}
else
{
break;
}
}
}
return 0;
}
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <conio.h>
int main()
{
printf("Mental Omega cheat!\n");
system("pause");
HWND hwnd;
DWORD pid;
HANDLE hprocess;
char bc;
hwnd = FindWindow(NULL,"Mental Omega");
if (!hwnd)
{
printf("please open your game\n");
system("pause");
return 10086;
}
GetWindowThreadProcessId(hwnd,&pid);
hprocess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,pid);
if (!hprocess)
{
printf("sorry,i can't help you\n");
return 1;
}
printf("---------------------mo作弊器------------------------\n");
printf("-------- M = money -----\n");
printf("----T = power B = back -----\n");
printf("---------------------mo作弊器------------------------\n");
while (1)
{
bc = getchar();
if (bc=='M'||bc=='m')
{
const DWORD rdde=0x00884D08;
const DWORD rddea=0x00884D04;
const DWORD rddeaa=0x15884244;
DWORD money;
printf("how many money do you want\n");
scanf("%ld",&money);
WriteProcessMemory(hprocess,(LPVOID)rdde,&money,4,0);
WriteProcessMemory(hprocess,(LPVOID)rddea,&money,4,0);
WriteProcessMemory(hprocess,(LPVOID)rddeaa,&money,4,0);
}
else
{
if (bc=='T'||bc=='t')
{
const DWORD rbba=0x00880D24;
const DWORD rbbat=0x158892E0;
DWORD moneye = 0;
WriteProcessMemory(hprocess,(LPVOID)rbba,&moneye,4,0);
WriteProcessMemory(hprocess,(LPVOID)rbbat,&moneye,4,0);
}
else
{
break;
}
}
}
return 0;
}