Springfield Posted June 9, 2017 Share Posted June 9, 2017 (edited) 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 September 5, 2017 by Springfield Link to comment Share on other sites More sharing options...
Springfield Posted July 28, 2017 Author Share Posted July 28, 2017 Waiting for your feedbacks. Link to comment Share on other sites More sharing options...
-Anti- Posted July 28, 2017 Share Posted July 28, 2017 Well first of all some more information would be nice. E.g.: What game? Link to comment Share on other sites More sharing options...
Springfield Posted July 28, 2017 Author Share Posted July 28, 2017 Well first of all some more information would be nice. E.g.: What game? See the tag -_- Link to comment Share on other sites More sharing options...
LaDiDa Posted July 28, 2017 Share Posted July 28, 2017 I don't see any tag So it's universal then? Link to comment Share on other sites More sharing options...
Super Shizuku Posted July 28, 2017 Share Posted July 28, 2017 He meant a tag below "Started by Springfield, Jun 09 2017 06:39 PM". Link to comment Share on other sites More sharing options...
Junior_Djjr Posted September 5, 2017 Share Posted September 5, 2017 (edited) 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... 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 September 5, 2017 by Junior_Djjr Link to comment Share on other sites More sharing options...
Springfield Posted September 5, 2017 Author Share Posted September 5, 2017 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... 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. Flame 1 Link to comment Share on other sites More sharing options...
Junior_Djjr Posted September 5, 2017 Share Posted September 5, 2017 (edited) 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 1This 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_2Why 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 September 5, 2017 by Junior_Djjr Silent, Springfield and Wesser 3 Link to comment Share on other sites More sharing options...
madleg Posted September 5, 2017 Share Posted September 5, 2017 (edited) 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... Edited September 5, 2017 by madleg Link to comment Share on other sites More sharing options...
Junior_Djjr Posted September 6, 2017 Share Posted September 6, 2017 fatality... Today you learned one good reason to not show your source. In another view, good reason to show your source. Link to comment Share on other sites More sharing options...