Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

Anti-Cheat (No More Cheats)


Springfield
 Share

Recommended Posts

Springfield

For: San Andreas

 

Hi,


So, this modification will allow you to play the game without cheat codes. Cheats codes is actually a bad habit but many peoples requested this from me and now i'm proudly presenting you guys my first modification.

Usage: It enable automatically. Just type the cheat and a message will appear down below.

 

DOWNLOAD
Guys its my first modification so, please give some good feedbacks.

 

src:

 

Scroll Down. You'll find it after the Junior_Djjr reply

 

Edited by Springfield
Link to comment
Share on other sites

  • 1 month later...
Springfield

Well first of all some more information would be nice. E.g.: What game?

See the tag -_-

Link to comment
Share on other sites

Super Shizuku

He meant a tag below "Started by Springfield, Jun 09 2017 06:39 PM".

Link to comment
Share on other sites

  • 1 month later...

Mix Sets (DisaCheats) already does this in the correct way — and I don't know if your mod does in the correct way too, after all, you blocked the script...

 

0.png

 

This is your first mod and you've started wrong. We're a mature community, release your source code, let everyone see your script. People can learn from you, or your work can be improved.

 

If you don't want to, well, anyway, how did you make this mod work? Explain in technical terms.

Edited by Junior_Djjr
Link to comment
Share on other sites

Mix Sets (DisaCheats) already does this in the correct way — and I don't know if your mod does in the correct way too, after all, you blocked the script...

 

0.png

 

This is your first mod and you've started wrong. We're a mature community, release your source code, let everyone see your script. People can learn from you, or your work can be improved.

 

If you don't want to, well, anyway, how did you make this mod work? Explain in technical terms.

Lol xD. I did not remember.. if i've written that.

 

Well, i lost the source code but i can give you a piece of code.

{$CLEO .cs}0000::CHEATWAIT 0IF AND  PLAYER.DEFINED($PLAYER_CHAR)  0ADC: TEST_CHEAT "LXGIWY"ELSE_JUMP @CHEAT_2WAIT 00ACC: SHOW_TEXT_LOWPRIORITY_"Anti Cheat is Enabled. You can't cheat" TIME 3000JUMP @CHEAT:CHEAT_2WAIT 0IF   0ADC: TEST_CHEAT "UZUMYM"ELSE_JUMP @CHEAT_3WAIT 00ACC: SHOW_TEXT_LOWPRIORITY_"Anti Cheat is Enabled. You can't Cheat" TIME 3000JUMP @CHEAT_2ETC...

This is actually a simple trick. When you try to enter the cheat.. then a message before the cheat activation will appear which will block the incoming text and other stuff. Do not ever type the complete cheat in opcode '0ADC' because the cheat will be activated. Try to leave the last alphabet of cheat so, the CLEO will detect it easily that if the player is typing this then block it!

 

Simple trick stuff and useful for most users. Anyway, Thanks for visiting. Hope, you'll like this trick.

Link to comment
Share on other sites

Well, isn't a cool way...

It's an ugly hack, poor performance and you used just 1 variation of the cheat.

 

Each cheat have billions variations because of hash collision. For example HESOYAM and DISCOVERPARTSRICH is a hash collision of INEEDSOMEHELP (it's all the same cheat)(among a lot, lot, lot others), what about if the player prefer the use of real cheat (INEEDSOMEHELP) instead of HESOYAM? As so YECCGAA and ROCKETMAN; WANRLTW and FULLCLIP; LJSPQK and BRINGITON; JHDDT5 and JUMPJET etc. People can use other variations of cheats and you would have to add them too, which would at least double the size of your script.

http://www.mixmods.com.br/2015/02/cheats-gta-sa-lista-atualizada.html

 

All this can be done in the right way by really deactivating game cheats (code from Mix Sets):

 

0A8C: write_memory 0x4384D0 size 2 value 0x9090 vp 10A8C: write_memory 0x4384D2 size 1 value 0x90 vp 10A8C: write_memory 0x4384D3 size 1 value 0xE9 vp 1   0A8C: write_memory 0x4384D4 size 4 value 0x000000CD vp 1
This code patches in game to disable all cheats.

 

Among other things that I don't see sense, as so...

 

IF AND  PLAYER.DEFINED($PLAYER_CHAR)  0ADC: TEST_CHEAT "LXGIWY"ELSE_JUMP @CHEAT_2
Why this cheat need the player defined? And just this not others? If you didn't used $PLAYER_ACTOR variable to make the player actor do something, you don't need this.

And you don't need to use WAIT 0 before message. Why wait? Just show.

 

You could also have used GOSUB with a label with the message, so you would not need to have multiplied the amount of texts (0ACC:) which increases in memory usage, not much for a PC, but for the programming view.

 

And why did you program in low level? Did you learn by doing decompiling other people's code? Learn cleo scripting with my tutorial, is already very complete and very good translated into english. Is the most current, modern and complete tutorial available (there are still more parts coming in). Take it easy that you will learn a lot there.

Edited by Junior_Djjr
  • Like 3
Link to comment
Share on other sites

fatality... Today you learned one good reason to not show your source.

Not sure what is more senseless though idea itself, realisation, blaming "it is my first time" guy for not being advanced or leaving this comment...

 

 

Erase-Memory-Men-In-Black.gif

 

Edited by madleg
Link to comment
Share on other sites

fatality... Today you learned one good reason to not show your source.

In another view, good reason to show your source. :lol:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.