Page 1 of 1

Multiple aobscan results

Posted: Thu Sep 28, 2017 5:51 pm
by linkff
I know this topic is old even in original cheatengine site but i know there is a way for cheatengine to pick second or third aob result with Lua... I want to get second result from an aobscan (i know it's the correct one) (aob has wildcards ?? too ) and register the adress (offset) of that aob into a symbol eg. Item1...
Thanks for help :) (can't get more bytes for original aob in this case)

Re: Multiple aobscan results

Posted: Fri Sep 29, 2017 1:47 am
by FreeER

Code: Select all

local results = aobscan(...)
registerSymbol("item1", results[1])
results.destroy()