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 


Are all addresses in Cheat Engine written in Hexadecimal?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 173

PostPosted: Fri Apr 17, 2020 2:40 pm    Post subject: Are all addresses in Cheat Engine written in Hexadecimal? Reply with quote

Sorry for the noob question.
But im facing some bugs here, and im confused.

For example is the number 1590188 and hexadecimal number?
So. Can it be represented as 0x1590188?
Why the 0x ?
Im using another program that needs the 0x of the address.
And its not working. So i dont know if the problem is in the program.
Or im not writting it well.



2 (2).png
 Description:
 Filesize:  89.01 KB
 Viewed:  1662 Time(s)

2 (2).png


Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 204

Joined: 25 Jan 2006
Posts: 8579
Location: 127.0.0.1

PostPosted: Fri Apr 17, 2020 2:46 pm    Post subject: Reply with quote

Yes, addresses are all in hex format. They do not include any prefix/suffix because it is more or less a waste of space. CE will interpret multiple formats of address strings though including ones with the 0x prefix.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 173

PostPosted: Fri Apr 17, 2020 3:18 pm    Post subject: Reply with quote

Thanks.

So how do i convert this 1590188 into an address with prefix?

Is it the same but just adding the prefix?

Because i have another program that needs the prefix.

So, 1590188 would just be 0x1590188 ?

or 0x01590188 ?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 204

Joined: 25 Jan 2006
Posts: 8579
Location: 127.0.0.1

PostPosted: Fri Apr 17, 2020 5:24 pm    Post subject: Reply with quote

The prefix is dependent on the code/language you are using. In your case, yes, just adding the 0x to the front is fine. Extra 0's at the start of the address don't mean anything and are ignored.

So for your example:
0x1590188
0x01590188

Are the same thing.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 173

PostPosted: Sat Apr 18, 2020 6:09 am    Post subject: Reply with quote

Thanks Atomos.

Are you familiarized with AutoHotKey?

Can you help me understand why my value is not recognized in AHK memoryread?
Back to top
View user's profile Send private message
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