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 


Write on a Read Only Address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DevilMan001
How do I cheat?
Reputation: 0

Joined: 17 Jun 2018
Posts: 6

PostPosted: Tue Aug 28, 2018 4:58 am    Post subject: Write on a Read Only Address Reply with quote

I found my target address on Cheat Engine. But it's read only, changes only if the game unlock it. It's the multiplier for the weapon damage. If i try to change it's value, the number doesn't change. But, if i swap weapon in the game, the game updates the value.

How can i unlock it? I write my trainer in C++. Otherwise, how can i found a method to write on it ?

Thanks
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Tue Aug 28, 2018 6:01 am    Post subject: Reply with quote

You can create a thread and execute the function. Alternatively, you can also use another function that is executing real time and use that spot to call your target function (weapon damage).

It will require finding the weapon function arguments though and balancing the stack etc. is your responsibility as well.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
DevilMan001
How do I cheat?
Reputation: 0

Joined: 17 Jun 2018
Posts: 6

PostPosted: Tue Aug 28, 2018 6:37 am    Post subject: Reply with quote

Thanks. I will try your method. I like it and it should work.
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: Tue Aug 28, 2018 3:35 pm    Post subject: Reply with quote

Alter the protection of the memory to make it writeable. (VirtualProtectEx)
Keep in mind this is commonly detected by anti-cheats.

_________________
- 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 -> General programming 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