Search found 2 matches

by DaSpamer
Sat Mar 04, 2017 3:24 am
Forum: Cheat Engine Lua Scripting
Topic: Beginner Help Needed
Replies: 20
Views: 48313

Re: Beginner Help Needed

A little bit offtopic The table.search function provided here is updated and much more optimized, (based on my test in that post, using very same laptop model, or desktop using i7-4790k @4GHz). It seems that table.search is 2-3 times much faster, thus this function could be handy almost in any situ...
by DaSpamer
Sat Mar 04, 2017 2:34 am
Forum: Cheat Engine Lua Scripting
Topic: Beginner Help Needed
Replies: 20
Views: 48313

Re: Beginner Help Needed

Some small table search script that I wrote several month ago, Based on my answer on stackoverflow function inArray(array,input,index) if (type(array) ~= 'table') then return false; end for key,value in pairs(array) do if (type(value)=='table') then local status = inArray(value,input,index); if (sta...