Lua Question

Mar 5, 2017
29
1
1
#1
Hi.
I want to remove a decimal values from values founds list(no address list) for when i searching between two numbers.
How do with lua?
 

FreeER

RCE Fanatics
Talents
Mar 10, 2017
92
4
8
#2
You can use some custom types like these to only show floating point values that do not have a fractional value
https://github.com/FreeER/Cheat-Engine-Custom-Types/blob/master/integer%20floats.reg
https://github.com/FreeER/Cheat-Engine-Custom-Types/blob/master/integer%20doubles.reg

Thanks to mgr.inz.Player and ParkourPenguin on the CE forums.

I suppose you could implement those in lua rather than asm as well but lua is far far slower at scanning than assembly, so... don't :D

AFAIK there's no provided way to change the actual found list of addresses in a scan from lua... you could do a memscan and copy addresses from the found list to your own table if they are whole numbers but that's about the best you have. To rescan you'd have to continue using the original found list or implement scanning yourself by looping over your table and doing the scans. Much simpler and quicker to use a custom type in asm.
 
Top Bottom