Lua Question

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

Lua Question

Post by MangaDrawing »

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?

User avatar
FreeER
Expert Cheater
Expert Cheater
Posts: 116
Joined: Fri Mar 10, 2017 7:11 pm
Reputation: 28

Re: Lua Question

Post by FreeER »

You can use some custom types like these to only show floating point values that do not have a fractional value
[Link]
[Link]

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