Lua Question

Post your topics and discussions here that you can't find a good section for.
Post Reply
Posts: 29
Joined: Sun Mar 05, 2017 11:04 am
Reputation: 0

Lua Question

Post by MangaDrawing » Sat Feb 03, 2018 5:40 pm

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?

RCE Fanatics
RCE Fanatics
Posts: 142
Joined: Fri Mar 10, 2017 7:11 pm
Reputation: 14

Re: Lua Question

Post by FreeER » Sun Feb 04, 2018 4:20 pm

You can use some custom types like these to only show floating point values that do not have a fractional value ... floats.reg ... oubles.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.

Post Reply

Who is online

Users browsing this forum: No registered users