View previous topic :: View next topic |
Author |
Message |
DevilMan001 How do I cheat? Reputation: 0
Joined: 17 Jun 2018 Posts: 6
|
Posted: Tue Aug 28, 2018 4:58 am Post subject: Write on a Read Only Address |
|
|
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 |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Tue Aug 28, 2018 6:01 am Post subject: |
|
|
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.
_________________
|
|
Back to top |
|
|
DevilMan001 How do I cheat? Reputation: 0
Joined: 17 Jun 2018 Posts: 6
|
Posted: Tue Aug 28, 2018 6:37 am Post subject: |
|
|
Thanks. I will try your method. I like it and it should work.
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Tue Aug 28, 2018 3:35 pm Post subject: |
|
|
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 |
|
|
|