The world's smallest script - but important to prevent ez cheaters.
Insert a new script at the very, very top of the list (before original scripts!)
Name it Disable Debug.
Here's the code.
How it works:
When Game.exe runs, it checks a commandline parameter, specifically "-debug". If this is present, it enables F9, and "hold CTRL to walk through walls and ignore encounters". The editor typically provides this parameter automatically. But assuming that your consumers don't know how to use command line parameters is a bit naive. This simple edit disables the features added by debug, problem solved.
If you're worried about more advanced cheaters, use a replacement Game.exe as that eliminates the "generic RPG Maker Game trainer"s (because known RAM addresses are suddenly very wrong). I won't provide a tutorial here as its kind of unclear how that falls on the rulebook, but there are plenty of tutorials out there, and I've done it myself a number of different ways.
Cheaters will still cheat. So these are more like a padlock - they won't stop a career criminal, but they'll keep the honest people honest.
(Did you know you can open a padlock with a soda can? You're welcome, YouTube, for the extra traffic :wink: )
(Edit: Did you know you can open canned goods with nothing but a cement floor? (cleanly!))
Insert a new script at the very, very top of the list (before original scripts!)
Name it Disable Debug.
Here's the code.
Code:
$DEBUG = false
$BTEST = false
How it works:
When Game.exe runs, it checks a commandline parameter, specifically "-debug". If this is present, it enables F9, and "hold CTRL to walk through walls and ignore encounters". The editor typically provides this parameter automatically. But assuming that your consumers don't know how to use command line parameters is a bit naive. This simple edit disables the features added by debug, problem solved.
If you're worried about more advanced cheaters, use a replacement Game.exe as that eliminates the "generic RPG Maker Game trainer"s (because known RAM addresses are suddenly very wrong). I won't provide a tutorial here as its kind of unclear how that falls on the rulebook, but there are plenty of tutorials out there, and I've done it myself a number of different ways.
Cheaters will still cheat. So these are more like a padlock - they won't stop a career criminal, but they'll keep the honest people honest.
(Did you know you can open a padlock with a soda can? You're welcome, YouTube, for the extra traffic :wink: )
(Edit: Did you know you can open canned goods with nothing but a cement floor? (cleanly!))