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 


Open the memory browser to a certain address

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

Joined: 27 Nov 2012
Posts: 73

PostPosted: Tue Dec 11, 2012 3:42 am    Post subject: Open the memory browser to a certain address Reply with quote

I have a Lua script that, among other things, displays addresses where certain structures are stored in memory. It would be nice to be able to automatically open this in the memory browser rather than force the user to do it manually. Do you know of any Lua functions to do this? If not, would it be possible using writeBytesLocal?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Dec 11, 2012 5:16 am    Post subject: Reply with quote

Yes, get the memviewform, get the hexview of it, and set the address there.
Code:

mv=getMemoryViewForm()
hv=memoryview_getHexadecimalView(mv)
hexadecimalview_setTopAddress(hv, addresstoshow)
form_show(mv)


Also, what was your idea with writeBytesLocal ?

_________________
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
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Thu Dec 13, 2012 6:49 am    Post subject: Reply with quote

Okay, thanks.
writeBytesLocal sets the memory of CE, right? So I was wondering if maybe there was some hack I could use involving it to accomplish it.
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