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

    2. News

    1. Red Dead Redemption 2

    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

JernejL

Documenting GTA-SA memory addresses

Recommended Posts

DK22Pac
Posted (edited)

You got it right, I hate CLEO and CLEO 'scripters'.

But you can write an extension for CLEO (CLEO plugin) where you will manage extra data for vehicles.

 

 

Am I correct if I assume there are many more RxD3D9InstanceData next each other, one for each material used by the Geometry ?

In most cases, yes. Edited by DK22Pac

Share this post


Link to post
Share on other sites
MadanIND

what can i get about how to find the offset memory like below?

 

CEntity + 0x36 - [byte] Entity type
0x02 = Player as driver
0x12 = Quiet driver
0x1A = Suspicious driver (when slightly or heavily collided, unlike cops who are never quiet)
0x22 = No driver
0x2A = Destroyed
0x4A = Player as driver is exiting or being wasted, busted or hijacked

Share this post


Link to post
Share on other sites
Sanmodder

Here is the list of all cheat enablers that I have been able to locate. The ones with 'Not Tested' remark are also listed with the closest possibility to what they should activate according to the cheat listings. I have tested all others, and they worked:

 

0x969130 [byte] Not Tested, should be the: Weapon Set 1

0x969131 [byte] Not Tested, should be the: Weapon Set 2

0x969132 [byte] Not Tested, should be the: Weapon Set 3

0x969133 [byte] Not Tested, should be the: Health+Armor+250K

0x969134 [byte] Not Tested, should be the: Increase Wanted Level 2 Stars

0x969135 [byte] Not Tested, should be the: Clear Wanted Level

0x969136 [byte] Not Tested, should be the: Sunny Weather

0x969137 [byte] Not Tested, should be the: Very Sunny Weather

0x969138 [byte] Not Tested, should be the: Overcast Weather

0x969139 [byte] Not Tested, should be the: Rainy Weather

0x96913A [byte] Not Tested, should be the: Foggy Weather

0x96913B [byte] Faster Clock

0x96913C [byte] Not Tested, should be the: Faster Gameplay

0x96913D [byte] Not Tested, should be the: Slower Gameplay

0x96913E [byte] Peds Attack Eachother with Golfclub

0x96913F [byte] Not Tested, should be the: Have Bounty on Head

0x969140 [byte] Everyone is Armed

0x969141 [byte] Not Tested, should be the: Spawn Rhino

0x969142 [byte] Not Tested, should be the: Spawn Bloodring Banger

0x969143 [byte] Not Tested, should be the: Spawn Rancher

0x969144 [byte] Not Tested, should be the: Spawn Racecar A

0x969145 [byte] Not Tested, should be the: Spawn Racecar B

0x969146 [byte] Not Tested, should be the: Spawn Romero

0x969147 [byte] Not Tested, should be the: Spawn Stretch

0x969148 [byte] Not Tested, should be the: Spawn Trachmaster

0x969149 [byte] Not Tested, should be the: Spawn Golf Caddy

0x96914A [byte] Not Tested, should be the: Blow up All Cars

0x96914B [byte] Wheels Only (Invisible Cars)

0x96914C [byte] Perfect Handling

0x96914D [byte] Not Tested, should be the: Suicide

0x96914E [byte] Not Tested, should be the: All Green Lights

0x96914F [byte] Not Tested, should be the: Aggressive Drivers

0x969150 [byte] Pink Traffic

0x969151 [byte] Not Tested, should be the: Black Traffic

0x969153 [byte] Boats Can Fly

0x969154 [byte] Not Tested, should be the: Fat

0x969155 [byte] Not Tested, should be the: Max Muscle

0x969156 [byte] Not Tested, should be the: Skinny

0x969157 [byte] Elvis Everywhere

0x969158 [byte] Not Tested, should be the: Peds attack with rockets

0x969159 [byte] Beach Theme

0x96915A [byte] Gang Members everywhere

0x96915B [byte] Gangs control the streets

0x96915C [byte] Not Tested, should be the: Ninja Theme

0x96915D [byte] Slut Magnet

0x96915E [byte] Traffic is Cheap Cars

0x96915F [byte] Traffic is Fast Cars

0x969160 [byte] Cars can Fly

0x969161 [byte] Huge Bunny Hop

0x969162 [byte] Not Tested, should be the: Spawn Hydra

0x969163 [byte] Not Tested, should be the: Spawn Vortex Hovercraft

0x969164 [byte] Tank Mode (Smash'n Boom)

0x969165 [byte] All cars have nitro

0x969166 [byte] Cars Float Away when hit

0x969167 [byte] Not Tested, should be the: Always Midnight

0x969168 [byte] Stop Game Clock - Orange Sky

0x969169 [byte] Not Tested, should be the: Thunderstorm

0x96916A [byte] Not Tested, should be the: Sandstorm

0x96916C [byte] Mega Jump

0x96916D [byte] Infinite Health

0x96916E [byte] Infinite Oxygen

0x96916F [byte] Not Tested, should be the: Have Parachute

0x969170 [byte] Not Tested, should be the: Have Jetpack

0x969171 [byte] Never Wanted

0x969172 [byte] Not Tested, should be the: Six Star Wanted Level

0x969173 [byte] Mega Punch

0x969174 [byte] Never get Hungry

0x969175 [byte] Peds Riot (Chaos Mode)

0x969176 [byte] Funhouse Theme

0x969177 [byte] Slower Gameplay

0x969178 [byte] Infinite Ammo, No Reload

0x969179 [byte] Full Weapon Aiming while driving

0x96917A [byte] Decreased Traffic

0x96917B [byte] Traffic is Country vehicles

0x96917C [byte] Recruit Anyone (9mm)

0x96917D [byte] Country Theme

0x96917E [byte] Recruit Anyone (Rockets)

0x96917F [byte] Max Respect

0x969180 [byte] Max Sex Appeal

0x969181 [byte] Not Tested, should be the: Max Stamina

0x969183 [byte] Not Tested, should be the: Hitman in All Weapons

0x969184 [byte] Not Tested, should be the: Spawn Hunter

0x969185 [byte] Not Tested, should be the: Spawn Quad

0x969186 [byte] Not Tested, should be the: Spawn Tanker Truck

0x969187 [byte] Not Tested, should be the: Spawn Dozer

0x969188 [byte] Not Tested, should be the: Spawn Stunt Plane

0x969189 [byte] Not Tested, should be the: Spawn Monster

 

0x96918C [DWord] Has ever Cheated or not

0xB79044 [DWord] Cheated Count

0xBAA472 [DWord] Has Now Cheated or not

 

 

happy coding,

 

Alper

all the cheats work you can confidently use

0A8C: write_memory 9867628 size 4 value 0 virtual_protect 0 // off heats

0A8C: write_memory 9867628 size 4 value 1 virtual_protect 0 // on heats

Share this post


Link to post
Share on other sites
TheSangheili
Posted (edited)

 

0A8C: write_memory 9867628 size 4 value 0 virtual_protect 0 // off heats

0A8C: write_memory 9867628 size 4 value 1 virtual_protect 0 // on heats

 

Size 4 means 4 bytes.

Write size 4 value 0 means write this 0x00 0x00 0x00 0x00 starting from address 9867628

Write size 4 value 1 means write this 0x01 0x00 0x00 0x00 starting from address 9867628

The cheats are bytes, That means size is 1. or you will disable the 3 following cheats.

Edited by TheSangheili

Share this post


Link to post
Share on other sites
Sanmodder

what can i get about how to find the offset memory like below?

 

CEntity + 0x36 - [byte] Entity type

0x02 = Player as driver

0x12 = Quiet driver

0x1A = Suspicious driver (when slightly or heavily collided, unlike cops who are never quiet)

0x22 = No driver

0x2A = Destroyed

0x4A = Player as driver is exiting or being wasted, busted or hijacked

look here

https://www.gtamodding.com/wiki/Memory_Addresses_(SA)

Share this post


Link to post
Share on other sites
TheSangheili

 

what can i get about how to find the offset memory like below?

 

CEntity + 0x36 - [byte] Entity type

0x02 = Player as driver

0x12 = Quiet driver

0x1A = Suspicious driver (when slightly or heavily collided, unlike cops who are never quiet)

0x22 = No driver

0x2A = Destroyed

0x4A = Player as driver is exiting or being wasted, busted or hijacked

look here

https://www.gtamodding.com/wiki/Memory_Addresses_(SA)

 

 

Uh... this wiki page is old, outdated, not organized, incomplete, ugly and contains errors.

 

You can find the source code for entities and other things here: https://github.com/DK22Pac/plugin-sdk (By: DK22Pac)

Share this post


Link to post
Share on other sites
Sanmodder

@

TheSangheili

thanks
you helped me a lot

Share this post


Link to post
Share on other sites
TheStansGTA

Бут и дон'т кноњ хоњ то маке цодинг.

Share this post


Link to post
Share on other sites
Adnel
Posted (edited)

Hi, i want to make a c++ car color changer for GTA:SA, i need a memory address for car color, it's possible to get? Please help me, i'm new on this forum and sorry for my bad english..

Edited by Adnel

Share this post


Link to post
Share on other sites
Sanmodder
Posted (edited)
On 6/26/2018 at 10:30 PM, Adnel said:

Hi, i want to make a c++ car color changer for GTA:SA, i need a memory address for car color, it's possible to get? Please help me, i'm new on this forum and sorry for my bad english..

it's you
should help

https://github.com/DK22Pac/plugin-sdk

why do you want to do this in c ++?
how are the easier ways

 

cleo //03F3: get_car $1867 primary_color_to [email protected] secondary_color_to [email protected]
cleo //0229: set_car $IMPORT_CAR primary_color_to 11 secondary_color_to 0
lua // int primaryColor, int secondaryColor = getCarColours(Vehicle car)
lua // bool result = changeCarColour(Vehicle car, int primaryColor, int secondaryColor)


asi files are also open source, you know, you can not hide anything in them

Edited by Sanmodder

Share this post


Link to post
Share on other sites
Adnel

I want to make in c++ because i already maked a radardisc color and money etc

On 7/6/2018 at 6:21 AM, Sanmodder said:

it's you
should help

https://github.com/DK22Pac/plugin-sdk

why do you want to do this in c ++?
how are the easier ways

 

cleo //03F3: get_car $1867 primary_color_to [email protected] secondary_color_to [email protected]
cleo //0229: set_car $IMPORT_CAR primary_color_to 11 secondary_color_to 0
lua // int primaryColor, int secondaryColor = getCarColours(Vehicle car)
lua // bool result = changeCarColour(Vehicle car, int primaryColor, int secondaryColor)


asi files are also open source, you know, you can not hide anything in them

I want to make in c++ because i already maked a radardisc color and money etc

 

Share this post


Link to post
Share on other sites
ahmeid

I'm Search about Spawn Vehicles Pointer of GTA:SA but can't found the pointer 
So please if you have this pointer give me it

Share this post


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

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.