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 


How to use go to address with code, in memory viewer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Razi
Expert Cheater
Reputation: 1

Joined: 17 Jan 2018
Posts: 205

PostPosted: Tue Feb 16, 2021 1:33 pm    Post subject: How to use go to address with code, in memory viewer? Reply with quote

How to use "go to address" with code, in memory viewer? For example: if value in the process equal 0x1000, then go to address 0x1000 in hexview and go to address 0x1000 in disassembler, in memory viewer. I want to add a timer to this function so that the memory viewer will automatically jump to the desired address.

Last edited by Razi on Tue Feb 16, 2021 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Feb 16, 2021 1:37 pm    Post subject: Reply with quote

Code:

local mv=getMemoryViewForm()
if readInteger(0xsomewhere)==0x1000 then
  mv.HexadecimalView.Address=0x1000
  mv.DisassemblerView.SelectedAddress=0x1000
end

_________________
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
Razi
Expert Cheater
Reputation: 1

Joined: 17 Jan 2018
Posts: 205

PostPosted: Tue Feb 16, 2021 1:50 pm    Post subject: Reply with quote

Thanks a lot.
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