View previous topic :: View next topic |
Author |
Message |
Szooxy How do I cheat? Reputation: 0
Joined: 16 Nov 2022 Posts: 2
|
Posted: Wed Nov 16, 2022 6:59 pm Post subject: What is colon in hex adress |
|
|
imgur .co m/a/zfg nL vi - had to separate link to screenshot with example with spaces because i can't post urls
So i searched for a while, and i can't find any examples of how to deal with addresses like 02A6B424:4. What is that colon? Why does cheat engine skip it when i add the address to cheat table? I noticed when address like that appearss it broke my c++ code becuase when i trying to use ReadProcessMemory on 02A6B424, i got weird huge values instead of value that cheat engine gives me. How to deal with that kind of stuff? Is there any good tutorial explaining that?
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8516 Location: 127.0.0.1
|
Posted: Wed Nov 16, 2022 7:52 pm Post subject: |
|
|
If you searched for all data types, the colon-number is used to show what size that value is that CE is assuming it to be. So :4 would mean 4 byte value, or an integer.
As for your C++ code not working, you'd need to share an example of what your code looks like for help with that.
_________________
- Retired. |
|
Back to top |
|
|
Szooxy How do I cheat? Reputation: 0
Joined: 16 Nov 2022 Posts: 2
|
Posted: Thu Nov 17, 2022 3:24 am Post subject: |
|
|
ReadProcessMemory(hProc, (BYTE*)0x2A2B424, &t, sizeof(uintptr_t), nullptr); I'm just reading value from given adress, and getting diffrent value than CE gives me
more in screenshot : imgu r.co m/ a/ 0560dSq
EDIT: I have solved it. But i don't understand why now. Before i was giving the sizeof uintptr_t as in the tutorials etc. But when i switched it and simply pass 4 to size parameter now it work. Why?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Nov 17, 2022 5:20 am Post subject: |
|
|
uintptr_t is 8 bytes in 64 bit
_________________
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 |
|
|
|