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

[DLL]Change the value from a memory address


Rider_77
 Share

Recommended Posts

Hi,

I'd like to change some values from GTA San Andreas.

Example, i'd like to change the amount of money of my character (just to start and learn).

 

I'm learning some DLL's functions, but I have some difficulties using them.

I like to learn with source codes beside(read and understand it), but I didn't find any interestings (Always too hard tounge.gif )

 

So, please someone, can you just show me a example of DLL that set the amount of cash to 1000 biggrin.gif

 

Thanks for help!

Edited by Rider_77
Link to post
Share on other sites

Are you sure you mean .DLL? As in Microsoft's Dynaminc Link Library? Click?

 

Do you not mean .Dat? Or even .B?

 

Those would be closer to what you are talking about. You basically need notepad to open and read what the files say. Though I assume that the .B files are not fully readable in notepad. Check the modding section for more info, Click Me, use the cheat codes for more money, or if you know how to get a trainer, get one of those. Word to the wise, be careful to scan a trainer before you use one, as they are usually packed with malicous code, such as Trojans, rootkits or viruses.

Link to post
Share on other sites

First, I don't wanna user a trainer such as Crazy Trainer or Car Spawner...

I wanna make a small DLL. It will give me for example 200K $ when I press F10.

 

I've found adresses and documentation on gtamodding.com

I think Cleo 3 could help me, I'll go learn more about it.

Link to post
Share on other sites

Writing a DLL that does this isn't hard. The part that is a bit difficult is hooking it into the game once it is running. Do you have the address? I have the template DLL for hooking into executables here, I can put together what you are asking for and post the sources.

Link to post
Share on other sites

Yes, I've found everything on gtamodding.com.

But as you mention, because I've never done it before, I have a lot difficulties for hooking into the executable.

I'd appreciate a lot if you could post the sources.

 

Here is the address of the Money : 0xB7CE50 .

 

Thank's a lot man biggrin.gif

Link to post
Share on other sites

Ok. Might take me a couple of days to get back to you, because I don't have the game installed right now, and I don't think I can get it right without testing it, but I'll post the sources as soon as I can.

Link to post
Share on other sites

Ok thank's biggrin.gif

My friend helped me yestearday. I should be okay, but you if you can post your sources too biggrin.gif

Link to post
Share on other sites

Making a DLL for it is impractical as all that is needed is a simple cleo script

Link to post
Share on other sites

What about if I prefer doing it by my own wink.gif

No need of Cleo Script, even if I would save time ang get better results.

Link to post
Share on other sites

Ok. Might take me a couple of days to get back to you, because I don't have the game installed right now, and I don't think I can get it right without testing it, but I'll post the sources as soon as I can.

Have you installed the game now ?

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.