someone cheating or bug

I am trying to work out whether it is possible for someone to cheat in a game that I've made using MV, or something I've overlooked.
From a player's save file, when I looked at the MC's base attack, it is 3x what it should be at that point in the game. Even with all gear unequiped.
Is it possible for someone to use cheat engine or similar hacking software to alter stat values, then save to make them permanent?
Basically yes, that can never be prevented in any game (no matter if RM or not).
For an anti-cheat to work you'll basically have to force saving to an Internet Server controlled by the game developer. Anything else can be circumvented by cheat programs.
Basically yes, that can never be prevented in any game (no matter if RM or not).
For an anti-cheat to work you'll basically have to force saving to an Internet Server controlled by the game developer. Anything else can be circumvented by cheat programs.
Thanks for the quick reply. Also, I've found this player has completely unlocked the gallery when it is technically impossible since they're only halfway through the game. I can't figure out whether it's their doing or a mistake I've made.
I've used moghunter picture gallery.
It looks like it's somebody who knows RPG maker games. So I'd say it is their doing. But it is a hard guess.
I know some people open RPG Maker games they've downloaded in the editor when they're curious about how stuff works, or if they're having trouble beating something and don't want to grind to get past it.
Just ask them. If someone wants to use a cheat to beat a game, that's up to them. But if they're stuck and asking for your help, tell them you can't help because you don't know if their problem is caused by the program or by them breaking it. And if you're trying to collate stats, leave that one out.
@Milennin I don't even need to do that, I just hack scripts to gain access to dev console, since it's easy. Then I can cheat to my heart's content. It is not even necessary to hack scripts, editing the index.html is completely sufficient.
I was one of the people who literally hacked the entire mv engine from the demo game that was released before mv was. (i had already pre-ordered it tho, so...)

Anyway... It is EXTREMELY easy to cheat in game.... For example, open your game in a web browser, press F12 to open the console view, and type $gameActors. You literally have FULL access to ALL classes that mv creates.

There are ways to prevent this type of thing, but its not easy to setup and would be very exclusive to each game.

For example, an easy fix over the issue i raise above, is to have ALL mv classes loaded within a wrapper function:...
Code:
(function mainWrapperFunction(){
    // Entire Mv codebase goes here - including plugins:..
    // this would be thousands upon thousands of lines long...
})();

And this wouldnt even properly protect you, because the hacker would still be able to use a program like 'tamper monkey' or 'greasemonkey' to basically load a script over your script when your page loads - they then copy your script and have that load over your code, and they can then alter the entire codebase to their liking.

As has already been stated, the only way to protect against 'cheating' is to have your client side game process as little as possible. This means getting regular information updates from a server - ideally multiple times per minute.

Anyway, im ranting... hope i helped 🙂
thank the genius who implemented the engine in javascript, which is saved as plain text.
@gstv87 There is no other way than this if you want to keep MV for mobiles, but accessible to wide public.
Compiled languages are out of the question, because they don't have open source graphics rendering engines. They only have libraries from which you need to first build an engine.
Not to mention, compiled languages have three main faults:
1. The data could be compiled in binary, but compilation takes some time. In fact compilation of a stupid 30 MB application takes me about 3-4 minutes. So you'd need the engine to handle two sorts of data, first is uncompiled, the other is compiled. Because I definitely would not want to wait 4 minutes between playtests until my plugins finish compiling.
2. Compiled binaries can't be edited, since they are essentially machine code. So it's impossible to spread around compiled plugins, because you can't make any changes to them. Also, object oriented languages don't have prototype system like JS does, so it's hardly possible to add additional functions to the same class. You'd have to make a child class.
3. Compiled languages do not allow for dynamically generated code and essentially almost every powerful plugin counts on dynamically generated code. And dynamically generated code is the magic of all major interpreted languages. But python, Ruby and Javascript, all are deployed as plain text, otherwise the interpreter won't be able to read them.
Possible to cheat - sure. But I think that very few people actually do this when they're playing other peoples' RPG Maker games. I'd be more inclined to assume it's a bug, especially if you have scripts that deal with stats (for example, something that increases stats and can be removed without a corresponding decrease to those stats in certain circumstances).
@Wavelength you would be surprised dude. I had a simple online highscores demo that people hacked within like 10 minutes of it going active - Just to see how easy it was I guess.
Personally, if someone wants to cheat to play my game...let them. I feel they can play it however they wish, as long as they don't interfere with how others play it in the process.

Original thread: https://forums.rpgmakerweb.com/threads/someone-cheating-or-bug.94645/