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 


Find Memory Region Address depends on its size

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

Joined: 27 May 2007
Posts: 61

PostPosted: Mon Feb 22, 2016 7:23 pm    Post subject: Find Memory Region Address depends on its size Reply with quote

Hello,

Can it possible to make a LUA script to find Memory Region Address depends on its size.
Memory Region have dynamic address but the size is unique.



Screenshot_40.png
 Description:
 Filesize:  55.46 KB
 Viewed:  3944 Time(s)

Screenshot_40.png


Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Feb 22, 2016 8:04 pm    Post subject: Reply with quote

I'm assuming it's not a named module? Not sure how to query memory regions.
Code:
local t = enumModules()
for i=1,#t do
  local n = t[i].Name
  local a = getAddress(n)
  local s = getModuleSize(n)
  print(string.format("%08X - %X - %s\n",a,s,n))
end
Back to top
View user's profile Send private message
n1vX
Advanced Cheater
Reputation: 0

Joined: 27 May 2007
Posts: 61

PostPosted: Tue Feb 23, 2016 11:18 pm    Post subject: Reply with quote

Zanzer wrote:
I'm assuming it's not a named module? Not sure how to query memory regions.
Code:
local t = enumModules()
for i=1,#t do
  local n = t[i].Name
  local a = getAddress(n)
  local s = getModuleSize(n)
  print(string.format("%08X - %X - %s\n",a,s,n))
end


It will only show module with its memory region size.
I want read a specific address of one module which contain memory region size (80A000).
Can someone help me ?
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