CLEO Help 0A8C: write_memory

CLEO related
Status
Not open for further replies.

jojobanks

New member
Joined
Jan 6, 2016
Messages
1
Reaction score
0
WHAT THE FUCK IS THIS SHIT :angry: :angry: :angry: :angry: :angry:

Like I mean for example:
0A8C: write_memory 7600773 size 1 value 144 virtual_protect 1

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0662: printstring "MADE BY FYP"
thread "RAPID_FIRE"

:RAPID_FIRE_29
wait 0
if and
  Player.Defined($PLAYER_CHAR)
0ADC:  test_cheat "RAPID"
jf @RAPID_FIRE_29
00BC: show_text_highpriority GXT 'CHEAT1' time 1000 flag 1  // Cheat activated
goto @RAPID_FIRE_81

:RAPID_FIRE_81
wait 0
0A8C: write_memory 7600773 size 1 value 144 virtual_protect 1
0A8C: write_memory 7600815 size 1 value 144 virtual_protect 1
0A8C: write_memory 7600816 size 2 value 37008 virtual_protect 1
0A8C: write_memory 7612591 size 1 value 144 virtual_protect 1
0A8C: write_memory 7612646 size 1 value 144 virtual_protect 1
0A8C: write_memory 7612647 size 2 value 37008 virtual_protect 1
0A8C: write_memory 13157800 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157804 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157808 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157812 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157816 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157820 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157680 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13157688 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157692 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157696 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157700 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157704 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157708 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158472 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158464 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158476 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158480 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158484 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158488 size 4 value 11 virtual_protect 1
0A8C: write_memory 13158492 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157912 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157912 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157916 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157920 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157924 size 4 value 11 virtual_protect 1
0A8C: write_memory 13157928 size 4 value 11 virtual_protect 1
goto @RAPID_FIRE_524

:RAPID_FIRE_524
wait 0
if
0ADC:  test_cheat "RAPID"
jf @RAPID_FIRE_524
00BC: show_text_highpriority GXT 'CHEAT8' time 1000 flag 1  // Cheat deactivated
goto @RAPID_FIRE_29

This is from the Rapid Fire script, how would I know which memory number to retrieve and how do i define them? I have 0 idea on how to use this code.  :computer_guy: :face_palm:
can you guys explain and link me to something that also teaches it? :sadpepe:
thanks guys
EDIT
Ok I did some google search shit and found a wiki page with a whole gang of them
http://www.gtamodding.com/wiki/Memory_Addresses_(SA)

my question is now though, the page has numbers like these
0x96C2D0
and the rapid fire script has numbers like these
7612646

what the hell is going on someone please evaluate  :sweet_jesus:
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
0x96C2D0 is hexadecimal way (shorter if we ignore 0x) of expressing decimal 9880272
In decimal system each digit of a number can have 10 different characters (from 0 to 9, like: 0 1 2 3 4 5 6 7 8 9)
In hexadecimal system each digit of a number can have 16 different characters (from 0 to F, like: 0 1 2 3 4 5 6 7 8 9 A B C D E F)

It doesn't matter if you use decimal
0A8C: write_memory 7600773 size 1 value 144 virtual_protect 1
or hexadecimal (preceded with 0x)
0A8C: write_memory 0x73FA85 size 1 value 144 virtual_protect 1

http://www.binaryhexconverter.com/decimal-to-hex-converter
http://www.binaryhexconverter.com/hex-to-decimal-converter

By writting/reading game memory you can manipulate what happens in the game, for example if you write some value at address 0xB7CE50 (size 4) then the single player money will be set to that value
 
Status
Not open for further replies.
Top