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 


Read/Write

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

Joined: 09 Apr 2022
Posts: 27

PostPosted: Thu May 05, 2022 6:35 am    Post subject: Read/Write Reply with quote

Is it possible to make a lua script that change a memory area from ready only to read/write without changing it every time for every address?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Thu May 05, 2022 2:14 pm    Post subject: Reply with quote

Lua has the function 'fullAccess' for changing a pages protection:

Code:

fullAccess(address,size): Changes the protection of a block of memory to writable and executable


You can also manually make calls to an API such as VirtualProtect within an injected code cave to adjust region protections.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Lorizzuoso
Cheater
Reputation: 0

Joined: 09 Apr 2022
Posts: 27

PostPosted: Thu May 05, 2022 4:49 pm    Post subject: Read/Write Reply with quote

Ok it works thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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