Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,243 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

Springfield

Anti-Cheat (No More Cheats)

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

Share this post


Link to post
Share on other sites
Springfield

Waiting for your feedbacks. :D

Share this post


Link to post
Share on other sites
-Anti-

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

Share this post


Link to post
Share on other sites
Springfield

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

See the tag -_-

Share this post


Link to post
Share on other sites
LaDiDa

I don't see any tag :p

So it's universal then?

Share this post


Link to post
Share on other sites
Light Syde Riandy

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

Share this post


Link to post
Share on other sites
Junior_Djjr

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

Share this post


Link to post
Share on other sites
Springfield

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.

Share this post


Link to post
Share on other sites
Junior_Djjr

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

Share this post


Link to post
Share on other sites
madleg

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

Share this post


Link to post
Share on other sites
Junior_Djjr

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

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

Share this post


Link to post
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

×

Important Information

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