Posted: Mon Feb 22, 2016 3:56 am Post subject: is "readInteger" the button reading the 4 bytes
so I am making a set custom respawn time for a trainer and I made this script which is simple but I get something weird
Code:
function CEButtonReadClick(sender)
setProperty(Asphalt8Time.CEEditRT,"Text", readInteger("Asphalt8_w8.exe+______"))
end
function CEButtonWriteClick(sender)
writeInteger("Asphalt8_w8.exe+______", getProperty(Asphalt8Time.CEEditRT,"Text"))
end
when I press read I get a value of 9738379 but I know that the 4 bytes value is actually 1500. how do I make it so it reads 1500 and not 9738379 and also is "readInteger" the button reading the 4 byte value because if it is then... I don't know what to do.
readInteger(address) reads 4 bytes starting at the specified address and translates that into a little-endian 4 byte integer. I've had no problems with it in the past, so I don't think it's a problem on CE's side.
Are you absolutely certain that address ("Asphalt8_w8.exe+______") is 1500? Add an address manually to your cheat table and copy/paste that address into it. Make sure the type is 4-bytes. _________________
I don't know where I'm going, but I'll figure it out when I get there.
readInteger(address) reads 4 bytes starting at the specified address and translates that into a little-endian 4 byte integer. I've had no problems with it in the past, so I don't think it's a problem on CE's side.
Are you absolutely certain that address ("Asphalt8_w8.exe+______") is 1500? Add an address manually to your cheat table and copy/paste that address into it. Make sure the type is 4-bytes.
I actually have a new question. Is there a way to make that script read a pointer and then write to the pointer or is that not possible?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum