Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      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. Red Dead Redemption 2

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

    1. Grand Theft Auto Series

      1. 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. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. 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. 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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[GTASA] Cheat Strings Loader


fastman92
 Share

Recommended Posts

***** 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 by fastman92
Link to post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites

 

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! smile.gif

 

 

And posting that on GTAG, no? xD

Link to post
Share on other sites

 

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 post
Share on other sites

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 by fastman92
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
 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.