Anytime you are writing the same value many times to different places in memory that are equally spaced apart you can use the 08 codetype to do a serial write.
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
EXAMPLE 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.
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
EXAMPLE 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.
Wed Aug 21, 2019 9:51 pm by [WAR]Nick Crepeau
» application from jordan aka.slap a ho
Fri Sep 14, 2012 4:44 pm by [WAR]JORDAN
» appilaction from J0K3R
Sat Sep 08, 2012 11:23 pm by [WAR]joker
» inf.ammo codes
Tue Sep 04, 2012 10:51 am by [WAR]joker
» GUN equipment
Tue Sep 04, 2012 12:52 am by [WAR]joker
» !!!!!!!!!!!!READ!!!!!!! RAM DUMP INFO FOR CODING !!!!!!!!
Tue Sep 04, 2012 12:43 am by [WAR]joker
» ram dump coding
Tue Sep 04, 2012 12:13 am by [WAR]joker
» ZOMBIES codes
Wed Aug 08, 2012 1:17 pm by [WAR]joker
» Good Codes
Wed Aug 08, 2012 1:09 pm by [WAR]joker