1 08 Codetype Tutorial 22/4/2012, 11:47 am
Cracker007
For example the code method posted writes 0x40500000 to four different places in memory. The important thing to note is that the four different memory locations are all spaced by 0x1C88 bytes.
So instead of using 04 code type to say write this here, write this here, write this here, write this here
we can use the 08 codetype to say write this here, then write it again four times starting here and then every 0x1C88 bytes later.
08______ XXXXXXXX : 32bits serial code (ba)
2NNNZZZZ VVVVVVVV Writes NNN+1 words (XXXXXXXX) at ba+address, then makes XXXX+=VVVVVVVV, address+=ZZZZ
- Code:
Speed Hack (All Players) [777eThOd*]:
04A1C754 40500000
04A1E3DC 40500000
04A20064 40500000
04A21CEC 40500000
Speed Hack (All Players) [777eThOd*]:
08A1C754 40500000
20031C88 00000000
Another way to say this:
you could make it a little shorter by using a 32 bit serial code, since all the values of off by 1C88 bytes.
08______ XXXXXXXX : 32bits serial code (ba)
2NNNZZZZ VVVVVVVV Writes NNN+1 words (XXXXXXXX) at ba+address, then makes XXXX+=VVVVVVVV, address+=ZZZZ
button activator
08A1C80C 0001046A
20031C88 00000000
full terminator
This is the first address and starting point for your writes
This is the value you want to write
This value should be one less than how many writes you want to do
This is the value that each address changes by
This is the amount that each value will change by, since you want everyone to have same amount of money this should be zero [no change]
I know it only reduces the code by 2 lines but if it were 10 players instead of 4 it would reduce the code by 8 lines.