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 


Searching for a Memory Region of a specific size

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
M1CR0H4CK3R
Newbie cheater
Reputation: 0

Joined: 20 Jun 2014
Posts: 10
Location: Indianapolis, Indiana, USA

PostPosted: Sat Jun 10, 2017 4:59 pm    Post subject: Searching for a Memory Region of a specific size Reply with quote

I want a script to have CE search for a Memory Region of size 0x54720000, and when found, I want to set its start address as the Search start address, and its start address + it's size - 1 as the Search stop address. Can that be done? If so, can someone provide a script to do it for me? Thanks.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sat Jun 10, 2017 7:36 pm    Post subject: Reply with quote

Based on CE's Lua info file for 6.7, I don't see a way to enumerate the current memory information of a target from Lua. You could write out a auto-assembler script to do it but it would be fairly in depth to handle calling VirtualQuery/VirtualQueryEx etc. as needed. Best bet would probably be to request memory information querying be added to the Lua features.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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