How do I cheat?
Joined: 18 Dec 2013
|Posted: Sat Apr 13, 2019 9:36 pm Post subject: I want a lua script that adds new addresses for me. Found it
|I want a script that will take and add addresses based off a address I already know.
I want to add a address offset for each address it adds
like if the address was 00000000 and I wanted to add the offset of 8 to make the address 00000008 and then again and again based off the number of times I want a offset added.
for instance if I wanted 853 offsets added then I would put that many and it would put 853 offsets each being 8 from the last address it added each offset being a address that gets written.
so that I keep the original address yet it wrights 853 new addresses for me so that I don't have to wright 853 new ones my self.
function addMoreAddresses(baseAddress, num, step)
local al = getAddressList()
local base = al.createMemoryRecord()
base.Type = vt2Byte
base.String.Size = 0
for i=0, num-1 do
local rec = al.createMemoryRecord()
local str = string.format("+%X", i * step)
addMoreAddresses("Base Address", Amount Of Addresses you want, Offset)