View previous topic :: View next topic |
Author |
Message |
flarn2006 Advanced Cheater Reputation: 1
Joined: 27 Nov 2012 Posts: 73
|
Posted: Tue Dec 11, 2012 3:42 am Post subject: Open the memory browser to a certain address |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Tue Dec 11, 2012 5:16 am Post subject: |
|
|
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 |
|
|
flarn2006 Advanced Cheater Reputation: 1
Joined: 27 Nov 2012 Posts: 73
|
Posted: Thu Dec 13, 2012 6:49 am Post subject: |
|
|
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 |
|
|
|