View previous topic :: View next topic |
Author |
Message |
Triclone How do I cheat?
Reputation: 0
Joined: 29 Aug 2015 Posts: 4
|
Posted: Sat Aug 29, 2015 9:46 am Post subject: "app.dll"+offset pointing to a weird location? (Me |
|
|
Hello everybody!
I am new to all of this and been lurking around for the past days to gather as much information as possible. Because of that I must say I am a bit uneasy asking this probably absolutely noobish question.
I found the address of a value I want to change, I found the Base Address using pointer scans which is "app.dll" + myOffset.
I managed to get the base address of the module in c++ and double checked with the Memory Viewer in Cheat Engine, the address seems to be correct. However, when I simply add the Offset to the base of my module I get access violations.
I checked the memory (ctrl+g and put in "app.dll" + myOffset) and indeed the only thing there is an add operation. While this explains why I cannot read from this memory region I fail to see where I can get the actual address from that I am searching for.
Best Regards,
Tri
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Sat Aug 29, 2015 10:40 am Post subject: |
|
|
read the 4 byte value at "app.dll" + myOffset
http://forum.cheatengine.org/viewtopic.php?t=422516
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Triclone How do I cheat?
Reputation: 0
Joined: 29 Aug 2015 Posts: 4
|
Posted: Sat Aug 29, 2015 11:31 am Post subject: |
|
|
Sadly it appears that I am doing something wrong, perhaps casting it to LPCVOID changes the actual address im trying to access and thus I get the following results? Also, on the right side is what I was expecting to get.
puu. sh/jSRse/8a661c375e.png
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Aug 29, 2015 11:35 am Post subject: |
|
|
Check the return of ReadProcessMemory, perhaps you do not have permission to read the value or the handle is invalid.
_________________
- Retired. |
|
Back to top |
|
 |
Triclone How do I cheat?
Reputation: 0
Joined: 29 Aug 2015 Posts: 4
|
Posted: Sat Aug 29, 2015 11:42 am Post subject: |
|
|
Oh thank you atoms... Should have been the first thing I did. Tried to feed the function the window handle of the application, not the process handle.
Thanks! I think this can be closed now. :facepalm:
|
|
Back to top |
|
 |
|