Posted: Fri Mar 28, 2014 11:33 am Post subject: Scanning pointer values by Byte
I have a large list of pointers for a memory address that is a single byte Boolean value. Is there a way to scan the pointers down by a SINGLE byte value? it seems severely limiting that "byte" isn't offered as a choice in the dropdown list.
It's difficult to get an actual address that the value is currently in-game since the most I can get it narrowed down by is 30 possible values which all mirror each other. running down through each of the 30 possibilities for each of the 30 pointer scans that I did is... alot of trial and error.
If it's only for rescans, try the lua filter option.
I've never tried it but something like this (warning: I didn't check this code, you might have to fix it):
Code:
LOOKUP_BYTE_VALUE = 01 --enter here the value the correct matches should have.
function ByteFilter(base,offsets,target)
if (target ~= nil) then
if (readBytes(target,1,false) == LOOKUP_BYTE_VALUE) then
return true --this pointer is valid
end
end
return false --trash this pointer
end
paste that in the table 's lua script or lua engine's window (ctrl+alt+shift+L) and press execute after setting LOOKUP_BYTE_VALUE.
If it works correctly, just pasting "ByteFilter" in the lua filter box from the rescan menu should cause the rescan to only leave results that point to a single byte that is equal to LOOKUP_BYTE_VALUE.
BTW: does it cause the rescan to be noticeably slower? _________________
DO NOT PM me if you want help on making/fixing/using a hack.
VERY helpful! Thanks so much for passing along that little gem. I feel much more able to tackle a few other pointers I was trying to find now that I've seen the language in use for a simple purpose.
it didn't make the scans any slower, but I was only scanning 16k or so possibilities, so it's really hard to say either way.
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