Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need a little help with Lua formula for filtering

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
hieiiganashi
How do I cheat?
Reputation: 0

Joined: 21 May 2020
Posts: 2

PostPosted: Wed Jul 15, 2020 11:20 am    Post subject: Need a little help with Lua formula for filtering Reply with quote

I'm trying to apply filter to this feature "Accessed address by" but I'm having problems with it. Basically trying to filter everything that has value = 8.

But everytime I press "OK" it results in 0 found.



luafilter.PNG
 Description:
 Filesize:  27.6 KB
 Viewed:  2380 Time(s)

luafilter.PNG


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Wed Jul 15, 2020 12:02 pm    Post subject: Reply with quote

"value" isn't defined.

Read the value the instruction is accessing e.g. "readInteger(RCX+0x14) == 8".

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
hieiiganashi
How do I cheat?
Reputation: 0

Joined: 21 May 2020
Posts: 2

PostPosted: Thu Jul 16, 2020 3:51 pm    Post subject: Reply with quote

ParkourPenguin wrote:
"value" isn't defined.

Read the value the instruction is accessing e.g. "readInteger(RCX+0x14) == 8".


Thx for the reply, but I still couldn't do it... my instruction mov [r10],r11 access like 10000+ addresses. I've tried to filter like the example you gave but still zero results. Sad



form2.PNG
 Description:
 Filesize:  20.94 KB
 Viewed:  2306 Time(s)

form2.PNG


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Thu Jul 16, 2020 11:54 pm    Post subject: Reply with quote

capital R so R11 not r11
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Fri Jul 17, 2020 10:37 am    Post subject: Reply with quote

Also, it's R10 that's being accessed.
If you want the value before the instruction executes, use readInteger(R10); for after it executes, just use R11.

To interpret it as a double, use readDouble(R10) or byteTableToDouble(qwordToByteTable(R11)).

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites