fastman92 Posted September 11, 2011 Share Posted September 11, 2011 (edited) ***** Cheat Strings loader by Fastman92 Ever wanted to modify cheat strings you enter in GTA SA? Or wanted to disable at least one cheat? If yes, then this mod is for you. As the name implies, a long CLEO script with function written in Assembly will load cheat strings from .dat file. So that you can invent your own cheat strings and share the .dat file along with .cs base. Fully compatible with GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE - - - - - - - - - - - - - - - - - ***** Installation - Copy CLEO and data directory from an archive to your GTA San Andreas root dir. ***** Configuration of your own cheat strings - Open data\CheatStrings.dat - Edit cheat strings only. - Don`t modify IDs ***** Changes: - NULL or UNDEFINED cheat strings are reserved; They disable cheat. - completely rewritten from zero and now ASM code is much better ***** License - You are allowed to share your own .dat file with new cheats, but link to base of my mod (.cs loader) instead of merging it together. - You shouldn`t share .cs file, because there might be a new version of the mod in the future. ***** Thanks to: ***** seggaeman - for attribution of original strings to cheats in cheatStrings.dat file. Rockstar Games team who created such a good game ***** Informations: Author: fastman92 Version: 2.0 For: GTA San Andreas Email: [email protected] Visit fastman92.tk Edited October 25, 2011 by fastman92 Link to comment Share on other sites More sharing options...
Revolution-Designes Posted September 11, 2011 Share Posted September 11, 2011 That's some neat stuff man. Gonna try this out soon, keep it up! Link to comment Share on other sites More sharing options...
GamerShotgun Posted September 12, 2011 Share Posted September 12, 2011 Would you be able to do such thing for Vice City and GTA III? It would help out lots of modders here. Link to comment Share on other sites More sharing options...
fastman92 Posted September 12, 2011 Author Share Posted September 12, 2011 I`m currently decoding _testCheat function in GTA Vice City. In contrast to GTA SA where cheat strings are hashed and we don`t have original strings in memory anymore, there are cheat strings, not hashes in GTA Vice City. Though they are encrypted and i need to know an algorithm how it works. Link to comment Share on other sites More sharing options...
BLlTZ Posted September 12, 2011 Share Posted September 12, 2011 I would wish to you inform of erasing the e-mail for not getting spam, junk and scam e-mails or hacking into your own account. You still can keep it in the readme for authentication of the original author of this mod as you. Link to comment Share on other sites More sharing options...
fastman92 Posted September 12, 2011 Author Share Posted September 12, 2011 I understood algorithm used to encrypt cheat strings in GTA Vice City and have written a class with function to encrypt decrypt strings. Currently for PHP only. <?phpclass GTAVC_cheat_encryption{// function GTAVC_encrypt_cheat_string ($string)private $movement_table = Array( 0 => 3, 1 => 5, 2 => 7, 3 => 1, 4 => 13, 5 => 27, 6 => 3, 7 => 7, 8 => 1, 9 => 11,10 => 13,11 => 8,12 => 7,13 => 32,14 => 13,15 => 6,16 => 28,17 => 19,18 => 10,19 => 3,20 => 3,21 => 5,22 => 7,23 => 1,24 => 13,25 => 27,26 => 3,27 => 7 );function encrypt_string($string){$string = strrev($string);$string_length = strlen($string); for($i = 0; $i < $string_length; $i++) { $string{$i} = chr(ord($string{$i}) + $this -> movement_table[$i]); }return $string;}function decrypt_string($string){$string_length = strlen($string); for($i = 0; $i < $string_length; $i++) { $string{$i} = chr(ord($string{$i}) - $this -> movement_table[$i]); }return strrev($string);} }?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /><title>GTA SA handling line into GTA SA line converter</title><meta name="keywords" content="" /><meta name="description" content="" /><style type="text/css">body {background-image:url('http://aaphpg.bay.livefilestore.com/y1pki_UNrdVvlr9EgLrTN18PYfK3NFnNFhLs83dbWhteP4X62C9lplnt0PLwL2M0bv0lcLYLmZx7TA7eCoTbQ-gkyGpZhP0td6U/40.jpg');}</style></head><body><form method="post" action=""><div><input type="text" <?php if(isset($_POST['unecrypted'])) echo 'value="'.htmlspecialchars($_POST['unecrypted']).'"' ?> name="unecrypted" /><input type="submit" /></div></form><div><?php$encryption = new GTAVC_cheat_encryption(); if(isset($_POST['unecrypted'])) { echo htmlspecialchars($encryption -> encrypt_string($_POST['unecrypted'])); }?></div></body></html> Link to comment Share on other sites More sharing options...
Spider-Vice Posted September 12, 2011 Share Posted September 12, 2011 I would wish to you inform of erasing the e-mail for not getting spam, junk and scam e-mails or hacking into your own account. You still can keep it in the readme for authentication of the original author of this mod as you. Actually, putting it in [ CODE] tags is enough as search engine bots don't decode them, and the email is safe inside. fastman, nice job as always, very good mod, I'll sure try it! And posting that on GTAG, no? xD let your hopes and dreams turn into burning fire! GTANet | Red Dead Network | kifflom black lives matter | stop Asian hate | trans lives = human lives Link to comment Share on other sites More sharing options...
fastman92 Posted September 12, 2011 Author Share Posted September 12, 2011 Actually, putting it in [ CODE] tags is enough as search engine bots don't decode them Don`t regard a page as it is displayed. You gotta check what is HTML and how the pages work. Open source of page, bots which collect e-mail addresses scan pages and search for strings by e-mail pattern. They search for links too. Link to comment Share on other sites More sharing options...
GamerShotgun Posted September 13, 2011 Share Posted September 13, 2011 What should I do with that PHP code? Link to comment Share on other sites More sharing options...
fastman92 Posted September 13, 2011 Author Share Posted September 13, 2011 (edited) Download XAMPP, install, run xamp-control.exe, start Apache. Open htdocs folder, remove index.php, index.html because they are default pages, what makes a trouble. Create new file e.g gtavc_encryption.php and save in htdocs\ Go to http://localhost on your internet browser and choose previously created PHP file. You`ll see working encrypter, form text field to enter a text and "Submit" button. Cheat disabler http://www.mediafire.com/?wxqd81bkoa59jjc Edited January 15, 2012 by fastman92 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now