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

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews & Posses

      1. Recruitment
      2. Events
    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV 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 SA Mods
    9. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    11. 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

    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. DYOM
      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. 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
    3. Gangs

    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
MichaelKnight1

Memory Address

Recommended Posts

MichaelKnight1

Hi People smile.gif , Now I Gonna To Make My New Mod For San Andreas To disabled The Old Cheat Code And enabled It With New Keypress .ok.so.

Par Example I Wanna To Changer The Weapon Cheat 1 .

 

0A8C: write_memory ??? size 1 value 1 virtual_protect 0

 

cheats

 

0x969130

 

My Problem is in the Value , What Is The Value to will chosen .

 

Bytes // 2 Bytes // 4 Bytes // 8 Bytes //  Binary // Float // Double // Text // array of Bytes //  All Bytes (To Double )

 

Edited by MichaelKnight1

Share this post


Link to post
Share on other sites
fastman92

If all what you're gonna do is to edit cheat strings (text to enter to enable cheat e.g HESOYAM), use Cheat strings loader

 

 

 

 

There are two types of cheats:

- with state only, no function is used to enable or disable this kind of cheat

- function called. They are enabled and possibly disabled depending on cheat function.

 

To find out how specified cheat works you must look up cheat table here: http://www.gtaforums.com/index.php?showtop...st&p=1060963546

 

It's written:

 

ID Description Hash String VERSION_1_0_US_CRACKED handler Is toggleable?
0 Weapon Set 1 DE4B237D LXGIWYL 0x4385B0 false
VERSION_1_0_US_CRACKED handler is not 0x0 - it exists. Hence this cheat is enabled by calling EXE function.

 

If it's cheat with no function:

Write 1/0 to byte on 0x969130 + Cheat_ID

 

If it's cheat with function i'll show yiu example:

 

 0AA5: call 0x4385B0 num_params 0 pop 0

 

 

Where 0x4385B0 is address of cheat function. Address of Weapon set 1 in example.

 

Hopefully someone will find this post useful, neither author.

 

 

 

 

What language do you speak?

Certainly it's not English expect the case it's spoken by a mentally retarded American.

Edited by fastman92

Share this post


Link to post
Share on other sites
Wesser

What's the difference between your table and this one?

Share this post


Link to post
Share on other sites
fastman92

- Written some ORIGINAL cheat strings, no collisions only.

- Added addresses of VERSION_1_0_US_CRACKED handlers which i exported from EXE and wrote PHP to generate list of

- Added "Is toggleable" property: it may be toggleable if cheat uses function. Cheat with no functions are always toggleable - you can enable and disable them.

Share this post


Link to post
Share on other sites
MichaelKnight1

I Have All Memory Addresses :

 

 

0x969130 - Weapon Set 10x969131 - Weapon Set 20x969132 - Weapon Set 30x969133 - Health+Armor+250K0x969134 - Increase Wanted Level 2 Stars0x969135 - Clear Wanted Level0x969136 - Sunny Weather0x969137 - Very Sunny Weather0x969138 - Overcast Weather0x969139 - Rainy Weather0x96913A - Foggy Weather0x96913B - Faster Clock0x96913C - Faster Gameplay0x96913D - Slower Gameplay0x96913E - Peds Attack Each other with Golfclub0x96913F - Have Bounty on Head0x969140 - Everyone is Armed

 

 

but my question is simple :

 

How To put them !!! For example !!! in order to a player Will Has Weapon Set 1 ..

here :

 

0A8C: write_memory 0x969130 size 1 value 1 virtual_protect 0

 

Edited by MichaelKnight1

Share this post


Link to post
Share on other sites
fastman92

Read the post above: http://www.gtaforums.com/index.php?showtop...st&p=1061187239

To enable this kind of cheat you have to call the cheat handler, it's EXE function.

 

Nonetheless there is much simpler way to enable/disable cheats:

 

0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 0

 

 

You must change the cheat_ID.

Edited by fastman92

Share this post


Link to post
Share on other sites
MichaelKnight1

 

Read the post above: http://www.gtaforums.com/index.php?showtop...st&p=1061187239

To enable this kind of cheat you have to call the cheat handler, it's EXE function.

 

Nonetheless there is much simpler way to enable/disable cheats:

 

0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 0

 

 

You must change the cheat_ID.

so , i create this !! just for example and is not worked ??

 

{$CLEO}03A4: name_thread 'CHEAT':CHEAT_10001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @CHEAT_100D6: if 0AB0:  key_pressed 50:CHEAT_20AA5: call 0x969130 num_params 1 pop 1 cheat_ID 00002: jump @CHEAT_1 

 

Share this post


Link to post
Share on other sites
fastman92

SilentPL gave you a good example, it's all made of searching in cheat table.

 

 

0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 0

 

 

CHANGE ONLY THIS: 0 to e.g 55,

0 to 2

0 to 3

 

Cheat "Weapon set 1" has ID 0

 

 

Lack of understanding the English is prejudice.

Do you think you're a wise or intelligent enough man to mod GTA SA?

Edited by fastman92

Share this post


Link to post
Share on other sites
MichaelKnight1
SilentPL gave you a good example, it's all made of searching in cheat table.

 

 

0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 0

 

 

CHANGE ONLY THIS: 0 to e.g 55,

0 to 2

0 to 3

 

Cheat "Weapon set 1" has ID 0

 

 

Lack of understanding the English is prejudice.

Do you think you're a wise or intelligent enough man to mod GTA SA?

 

SilentPL gave you a good example

Did not open with SB

 

 

Share this post


Link to post
Share on other sites
Silent

Because it's locked. Test it, if it'll be alright I can give you the source. cba recompiling it without locks.

Share this post


Link to post
Share on other sites
MichaelKnight1
Because it's locked. Test it, if it'll be alright I can give you the source. cba recompiling it without locks.

ok

Share this post


Link to post
Share on other sites
Wesser

 

- Written some ORIGINAL cheat strings, no collisions only.

- Added addresses of VERSION_1_0_US_CRACKED handlers which i exported from EXE and wrote PHP to generate list of

- Added "Is toggleable" property: it may be toggleable if cheat uses function. Cheat with no functions are always toggleable - you can enable and disable them.

  • Yeah, original cheat strings can be easily memorized, but some are too long to be preferred instead.
  • Addresses are common for all 1.0 versions and can be obtained by reading 4 bytes at 0x8A5B58 plus the desired offset.
  • It's the opposite property of Call.

Share this post


Link to post
Share on other sites
MichaelKnight1

thanks to all biggrin.gif but i Found it in this tutorial by zaz lol.gif

Is that I may search for it and now I've found wink.gif

Memory Address

so par example :

 

{$CLEO}0662: NOP "TEST" 0A8C: write_memory 0x969151 size 1 value 1 virtual_protect 10A93: end_custom_thread

 

this is Black Traffic car .

i will start my mod

Edited by MichaelKnight1

Share this post


Link to post
Share on other sites
Juarez
<DELETED> Edited by juarez

Share this post


Link to post
Share on other sites
fastman92

 

Try this. Untested.

 

 

{$CLEO}0000: nop0AA5: call 0x438370 num_params 1 pop 1 33    //black traffic0AD1: show_formatted_text_highpriority "Done. Learn coding and English." time 50000A93: end_custom_thread

 

Remember it SWITCHES cheat, if it's toggleable - disabled becomes enabled, enabled becomes enabled. Depending on current state.

 

Plain ACTIVATION is little for complicated, you need to check current state, if it's 0 (disabled) then call cheat handler or write new cheat state if cheat has no function handler.

Described here: http://www.gtaforums.com/index.php?showtop...st&p=1061187239

Edited by fastman92

Share this post


Link to post
Share on other sites
MichaelKnight1

@fastman92 When the player load a weapons Then after three seconds Leave them ! Why ??

 

{$CLEO}03A9: NOP 0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 00A93: end_custom_thread

 

aslo i want to use this memory but not work

 

0x969130 - Weapon Set 10x969131 - Weapon Set 20x969132 - Weapon Set 3

 

 

 

@juarez ptoz spam or i report to moderating .

Edited by MichaelKnight1

Share this post


Link to post
Share on other sites
Ashwin.Star

@MK1

you have 3 other Mods which are Pending...

How can you Think about submit a new one ???

 

Michael.Knight1 Bikes Spawner & Vehicles Spawner

None of them is soo big which make you busy for more than 2 min

Share this post


Link to post
Share on other sites
MichaelKnight1

 

@MK1

you have 3 other Mods which are Pending...

How can you Think about submit a new one ???

 

Michael.Knight1 Bikes Spawner & Vehicles Spawner

None of them is soo big which make you busy for more than 2 min

I submit it befor I start in the manufacture because i don't want to wait 30 day wink.gif

Here, I want you to know the base for me : I am not members of the 3 lines in the CLEO I do not want to make trivial cleo .

I did not have a lot of time , But I will start working from now , befor I Make Mods Knight Rider and now also . . .

Not only remains for me just :

Knight Rider New Technology

Knight Rider Back To School

Do you understand now, my intention Poor

Share this post


Link to post
Share on other sites
Ashwin.Star

 

I submit it befor I start in the manufacture because i don't want to wait 30 day

you mean you Submit Mods before you starting Work on them,

well,

This is the main reason for "Awesome" ratings of your Mods,

Anyway, Good Luck for you Mod, i hope you will upload them soon,

Share this post


Link to post
Share on other sites
fastman92
@fastman92 When the player load a weapons Then after three seconds Leave them ! Why ??

 

{$CLEO}03A9: NOP 0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 00A93: end_custom_thread

 

aslo i want to use this memory but not work

 

0x969130 - Weapon Set 10x969131 - Weapon Set 20x969132 - Weapon Set 3

 

 

 

@juarez ptoz spam or i report to moderating .

Noob, you can't write to state, because this cheat uses function.

 

Maybe run

0AA5: call 0x438370 _cheatEnableLegimate num_params 1 pop 1 cheat_ID 0

 

when you press a key. DOn't forget to add "wait 500" when this event is raised.

Share this post


Link to post
Share on other sites
MichaelKnight1
I submit it befor I start in the manufacture because i don't want to wait 30 day

you mean you Submit Mods before you starting Work on them,

well,

This is the main reason for "Awesome" ratings of your Mods,

Anyway, Good Luck for you Mod, i hope you will upload them soon,

@fastman92 thanks you

 

@Ashwin I'm not interested for ratings

Share this post


Link to post
Share on other sites
MichaelKnight1

fastman how i can use ini files with cleo script .

Such as you in your mod ' Car Spawner ' When I Press

'2' key

 

Share this post


Link to post
Share on other sites
fastman92

Forget about it.

You can't search opcodes, think logically, analyze something which is why you can't be a programmer.

I'd rather advise to try something else, perhaps modeling. Exceptionally you can smash the computer and throw it out the window.

It might solve all your problems.

Share this post


Link to post
Share on other sites
MichaelKnight1
Forget about it.

You can't search opcodes, think logically, analyze something which is why you can't be a programmer.

I'd rather advise to try something else, perhaps modeling. Exceptionally you can smash the computer and throw it out the window.

It might solve all your problems.

I Find 6 opcode !!What is that use

 

0AF0: [email protected] = get_int_from_ini_file "cleo\config.ini" section "SectionName" key "intKey"0AF1: write_int 16 to_ini_file "cleo\config.ini" section "SectionName" key "intKey"0AF2: [email protected] = get_float_from_ini_file "cleo\config.ini" section "SectionName" key "floatKey"0AF3: write_float 0.0 to_ini_file "cleo\config.ini" section "SectionName" key "floatKey"0AF4: [email protected] = read_string_from_ini_file "cleo\config.ini" section "SectionName" key "stringKey"0AF5: write_string "new string value" to_ini_file "cleo\config.ini" section "SectionName" key "stringKey"

 

 

Share this post


Link to post
Share on other sites
fastman92

Like any other opcodes, but with different parameters. Read descriptions of parameters and you are obligated to know.

Share this post


Link to post
Share on other sites
MichaelKnight1
Like any other opcodes, but with different parameters. Read descriptions of parameters and you are obligated to know.

yeah thanks wink.gif

Share this post


Link to post
Share on other sites
Ashwin.Star

 

I'm not interested for ratings

It means you are just increasing the Number of mods that Garage have,

Rating is a important Part of a Mod which represent What the Downloader think about your Mod,

if you will ignore the Ratings then there will be no reason for making the Mod better,

Some people don't even try to open such Mods having Low Ratings,

 

Opcodes

Whenever You want any opcode for something,

then search it on SB using related Words,

because

 

0AF0: [email protected] = get_int_from_ini_file "cleo\config.ini" section "SectionName" key "intKey"

 

is same as writing

 

0AF0: [email protected] "cleo\config.ini" "SectionName" "intKey"

 

 

this is the reason that Some People try to Make .ini which Gives Better details so that opcodes can be easily found,

Anyway you question is already Solved. so, Leave it,

Share this post


Link to post
Share on other sites
MichaelKnight1
I'm not interested for ratings

It means you are just increasing the Number of mods that Garage have,

Rating is a important Part of a Mod which represent What the Downloader think about your Mod,

if you will ignore the Ratings then there will be no reason for making the Mod better,

Some people don't even try to open such Mods having Low Ratings,

 

Opcodes

Whenever You want any opcode for something,

then search it on SB using related Words,

because

 

0AF0: [email protected] = get_int_from_ini_file "cleo\config.ini" section "SectionName" key "intKey"

 

is same as writing

 

0AF0: [email protected] "cleo\config.ini" "SectionName" "intKey"

 

 

this is the reason that Some People try to Make .ini which Gives Better details so that opcodes can be easily found,

Anyway you question is already Solved. so, Leave it,

Do not tire yourself, my friend, I understand

 

Share this post


Link to post
Share on other sites
Silent
I do not want to make trivial cleo .

But you can't even make some trivial mods, so how come you want to go into something complex? lol.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

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