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 


What is colon in hex adress

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

Joined: 16 Nov 2022
Posts: 2

PostPosted: Wed Nov 16, 2022 6:59 pm    Post subject: What is colon in hex adress Reply with quote

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? Confused
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: Wed Nov 16, 2022 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Szooxy
How do I cheat?
Reputation: 0

Joined: 16 Nov 2022
Posts: 2

PostPosted: Thu Nov 17, 2022 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Thu Nov 17, 2022 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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