if somebody is concerned of getting banned, but still wants to use hacks, there is a way.
i asked Luigi to write a small tool, to write in process's memory. it has to be compiled first ofcourse.
you can find breakpoints on singleplayer, then use pidwrite.
once compiled, it is a simple cmd based tool, which only accesses game's memory to write and then quits, which makes it undetectable.
here's the source code for it. it can be compiled using mingw, with this command:
gcc -o pidwrite.exe pidwrite.c
Code: Select all
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
void std_err(char *err) {
printf("\nError: %s\n", err);
exit(1);
}
int main(int argc, char *argv[]) {
HANDLE hp;
int pid,
err;
if(argc < 2) {
printf("\nUsage: %s <PID>\n\n", argv[0]);
exit(1);
}
pid = atoi(argv[1]);
hp = OpenProcess(PROCESS_ALL_ACCESS /*PROCESS_VM_WRITE*/, FALSE, pid);
if(!hp) std_err("OpenProcess");
err = WriteProcessMemory(hp,
(LPVOID)0x474003, // memory address
"\x90\x90\x90\x90", // data
4, // data size
NULL);
CloseHandle(hp);
if(!err) std_err("WriteProcessMemory");
return(0);
}
memory address, isnt this obvious ?
data, you need \x before every hex value. example should be clear enought
data size, set manually. should be clear also, how to set it.
and YES, you must run this thru cmd, not click on it. it wont work by clicking on it.
after that, you can make a batch file (.bat) and make it execute it for you. for example one will enable the hack, other will disable. good as hotkeys, exept that you have to minimize, but there is a workaround, just cant bother to think of one. you can use some launcher programs, im sure theres something out there, where you can make a hotkey to launch a specific .exe when hotkey is clicked. so there's your undetectable trainer/hack for ya guys !
if you dont understand, feel free to ask.