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. Support

    3. Suggestions

Happy Holidays from the GTANet team!

i need a help (memory)


mourad
 Share

Recommended Posts

hi everyone in this forum , i want ask you how to create a cheath code with the memory like writing the code (hesoyam) for the health .pleaz can someone tell me how to get the memory and put it in the cleo like the code (hesoyam) and thank you for reading my topic.

Link to comment
Share on other sites

Make a look at the following "simple" cleo script.

 

{$CLEO .cs}:SPAWNCH03A4: name_thread 'SPAWNCH' :SPAWNCH_5wait 0 if 0AA9:  is_game_version_original then   0006: [email protected] = 0x969110 // local of virtualkeycodes v1.0else   0006: [email protected] = 0x96B790 // local of virtualkeycodes v1.1end:SPAWNCH_110A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 0085: [email protected] = [email protected] // (int) 000A: [email protected] += 0x4 0A8D: [email protected] = read_memory [email protected] size 3 virtual_protect 0 if  and   [email protected] == 0x45544148 // ETAH   [email protected] == 0x434845 // CHEthen   03E5: text_box 'CHEAT1'  // Cheat activated   0A8C: write_memory [email protected] size 4 value 0 virtual_protect 0    0A8C: write_memory [email protected] size 3 value 0 virtual_protect 0    #CHEETAH.Load()   repeat       wait 0    until #CHEETAH.Available()   04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0    00A5: [email protected] = create_car #CHEETAH at [email protected] [email protected] [email protected]    0172: [email protected] = actor $PLAYER_ACTOR Z_angle    000B: [email protected] += 90.0    0175: set_car [email protected] Z_angle_to [email protected]    01C3: remove_references_to_car [email protected] endjump @SPAWNCH_5 

 

012          345
678   9A   BCD
EFG HIJK LMN
OPQR  STUV
WX    YZ

Link to comment
Share on other sites

but how to get the adress like (0x45544148 = ETAH) that what i want khnow plz.is there any tool to khnow it.

 

Link to comment
Share on other sites

That's not an address, that is an ascii representation of the cheatcode text that must be typed to trigger the "cheat".

bS8xA.png
Link to comment
Share on other sites

The virtual keycodes buffer is located at 0x969110 (0x96B790 in v1.1) so you have to read its value with the opcode 0A8D, of course. If your typed chars are more than 4 (which means 4 bytes like 00 00 00 00), you should add 4 bytes to read the other value\s. Note, bytes are read like this.

 

48 41 54 45 45 48 43 // HATEEHC

 

This will explain why the buffer reads first the last typed words and then the first ones. You can find all ascii values here.

 

If you don't know the cheat activation word, it's CHEETAH. tounge2.gif

012          345
678   9A   BCD
EFG HIJK LMN
OPQR  STUV
WX    YZ

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.