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 


Find what addresses this instruction accesses

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

Joined: 08 Sep 2012
Posts: 1

PostPosted: Sun Sep 16, 2012 10:04 pm    Post subject: Find what addresses this instruction accesses Reply with quote

Hello, I m just beginning to learn Lua script and I wonder if there is such a function to find out what addresses a given instruction accesses. Something like getAddressOfWhatTheInstructionAccesses(0x12345678). I don't think this exists so how can I do this in Lua?

Thanks for your time, I will appreciate your help.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Sep 17, 2012 2:10 am    Post subject: Reply with quote

debug_setBreakpoint(0x123456, 4, bptAccess)

That will set a breakpoint that triggers when the specified address is accessed

Then in the onBreakpoint function get the EIP

_________________
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
killer64
How do I cheat?
Reputation: 0

Joined: 22 Sep 2012
Posts: 1

PostPosted: Sun Feb 23, 2014 2:37 pm    Post subject: Reply with quote

sorry for bump but that doesnt seem like what the topic says
"find out what addresses a given instruction accesses"
is different from finding out what instruction accesses a value
i already figured out how to set a breakpoint on an instruction but there doesnt seem to be a way to find out what it modifies without dissasembly and advanced lua
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