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 


Mem Viewer Stick to Register

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
broly7
Advanced Cheater
Reputation: 0

Joined: 13 Aug 2015
Posts: 60

PostPosted: Mon Feb 05, 2018 7:48 pm    Post subject: Mem Viewer Stick to Register Reply with quote

Hi there,
Is it possible that in the event i have a breakpoint process stopped, and i press F9, so it cycles and stop again, the memory viewer sticks or auto go to the register i want?
Let's say everytime it breaks, RAX changes, so Mem viewer goes to [RAX+38] every break.
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Mon Feb 05, 2018 8:30 pm    Post subject: Reply with quote

some simple lua code
Code:
debugger_onBreakpoint = function()
  getMemoryViewForm().HexadecimalView.Address = RAX+0x38
end


to disable set debugger_onBreakpoint to nil
Back to top
View user's profile Send private message
broly7
Advanced Cheater
Reputation: 0

Joined: 13 Aug 2015
Posts: 60

PostPosted: Tue Feb 06, 2018 8:20 am    Post subject: Reply with quote

FreeER wrote:
some simple lua code
Code:
debugger_onBreakpoint = function()
  getMemoryViewForm().HexadecimalView.Address = RAX+0x38
end


to disable set debugger_onBreakpoint to nil

it is something so useful to be better added in the GUI. Just like an EditBox where you put which address u wanna go after each bp
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Tue Feb 06, 2018 8:27 am    Post subject: Reply with quote

Could easily create an autorun extension that provides a menu option that pops up an InputQuery asking for the address, but to be fair I've never seen anyone else actually ask for this (and haven't thought of it myself either)...

edit: something like https://github.com/FreeER/CE-Extensions/blob/master/gotoOnBreak.lua (to be fair I did forget about the paste thing which adds ~20 lines of code)
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 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