CookiePLMonster / SilentPatch

SilentPatch for GTA III, Vice City, and San Andreas
MIT License
388 stars 15 forks source link

(SA) Accidental Activation of Cheats #90

Open CommandGenius opened 2 weeks ago

CommandGenius commented 2 weeks ago

Sometimes, while playing San Andreas, you can accidentally activate cheats using the WASD keys, this is caused by the faulty cheat mechanism. This is allows some cheats like "INEEDSOMEHELP" to be rendered as "HESOYAM".

CookiePLMonster commented 2 weeks ago

It's unintuitive, but not faulty, it was designed specifically to allow for collisions. While I agree cheats using just 3-4 distinct characters should not be allowed, any entropy threshold could potentially cut off "legitimate" collisions.

TheComputerGuy96 commented 2 weeks ago

Unfortunately people have become so used to the hash-based cheat system that changing it might break some common cheats (like the AEZAKMIs or the HESOYAMs)

Maybe an option for a pre-SA word-based cheat system using the (semi-)official Android cheat codes (with common hash-based replacements) could work here?

CookiePLMonster commented 2 weeks ago

Maybe an option for a pre-SA word-based cheat system using the (semi-)official Android cheat codes (with common hash-based replacements) could work here?

Potentially, but this carries the same problem - where do you draw the line on what's a common collision? for example I always use YECGAA instead of ROCKETMAN, but other people may be using different collisions.

CommandGenius commented 2 weeks ago

It should probably be an option in the INI to enable or disable the "fake" cheats like "HESOYAM" and "YECGAA." Here's a list of the proper cheat names and the most popular collisions. https://www.mixmods.com.br/gta-sa/cheats-atualizados/