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 


Register Log Hook ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
maskelihileci
Newbie cheater
Reputation: 0

Joined: 08 Oct 2016
Posts: 21

PostPosted: Fri Feb 14, 2020 3:42 pm    Post subject: Register Log Hook ? Reply with quote

With auto assembly use and hook, I want to list values and pointers in listbox and log them and save them which [rcx] register access. I tried to find plugin or any feature for that but I couldnt find it. Can you help me about that ? Notice: There is a lot of access which our register access, and find out is not usefull
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 73

Joined: 06 Jul 2014
Posts: 2414

PostPosted: Sat Feb 15, 2020 5:20 pm    Post subject: Reply with quote

The easiest thing you can do is use Lua to set a breakpoint there to log the values and addresses.
Code:
local log = {}

debug_removeBreakpoint(address)
debug_setBreakpoint(address, 1, bptExecute, function()
  log[#log+1] = { RCX, readInteger(RCX) }
  debug_continueFromBreakpoint(co_run)
  return 1
end )

Design the UI for viewing the results in whatever way you want. Documentation is in main.lua, and examples are on these forums.

_________________
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
maskelihileci
Newbie cheater
Reputation: 0

Joined: 08 Oct 2016
Posts: 21

PostPosted: Sun Feb 16, 2020 5:16 am    Post subject: Reply with quote

Thanks for your help but breakpoint is not useful

Notice: There is a lot of access which our register access, and find out is not usefull
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