Originally Posted by
Beast
Yeah But im not a very good coder + Near reality made that it froze their client instead of fixin it
Code:
public class CheatEngine {
/**
* @param args
*/
public static void main(String[] args) {
try {
String line;
Process p = Runtime.getRuntime().exec(System.getenv("windir") +"\\system32\\"+"tasklist.exe");
BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = input.readLine()) != null) {
if(line.startsWith("cheat")) {
System.exit(0);
}
}
input.close();
} catch (Exception err) {
err.printStackTrace();
}
}
}
For other operating systems you will need to use ps -e, this is a cheap fix and you should fix the issues server side, as I don't have to use cheatengine, I can just use reflection. There is no cheap hax fix for that.
PS: This does not stop the user from simply renaming the cheat engine executable.