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 


Array of Byte - Pointer | Camera

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

Joined: 25 Jan 2015
Posts: 3

PostPosted: Sun Jan 25, 2015 4:49 pm    Post subject: Array of Byte - Pointer | Camera Reply with quote

I'm losing my mind into trying to read these pointers (Very new still to them and took me while to even get these pointers).

imgur / Td0x3OD.png

Camera is set to default 00 00 00 00 00 00 00

The pointers don't add up.. Adding 4 wouldn't be 0c51ba78. How is it pointing to that with the offsets?

I'm trying to get AHK to read that value and change it on 7 other windows to that value. Thing is, the offsets are screwing it up and don't know how to point it in the right direction.

Hoping someone can shed some light on this problem.

Regards,
HaHaItsJake
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sun Jan 25, 2015 9:46 pm    Post subject: Reply with quote

The value you see on the right side of each box is the value at the given address.

So for example, 0C5C5D00+4, the value at that address is 0C51BA78. It is not adding to show the result address, it is reading from the address you give it. Also, keep in mind that numbers in Cheat Engine are hex numbers.

So that 4 and 10 are interpreted as hex. Not decimal. So 10 is really 16.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
HaHaItsJake
How do I cheat?
Reputation: 0

Joined: 25 Jan 2015
Posts: 3

PostPosted: Sun Jan 25, 2015 10:43 pm    Post subject: Reply with quote

atom0s wrote:

So for example, 0C5C5D00+4, the value at that address is 0C51BA78.


How? I thought 4 is 4, so it would be c5c5d04 how is it going to 0C51BA78? I can't get anything I'm programming to point to the pointer hex number.
All the calculators, and data from AHK, AutoIt and C# say it should be c5c5d04 o.O

Regards,
HaHaItsJake
Back to top
View user's profile Send private message
KryziK
Expert Cheater
Reputation: 3

Joined: 16 Aug 2009
Posts: 199

PostPosted: Tue Jan 27, 2015 2:27 pm    Post subject: Reply with quote

HaHaItsJake wrote:
atom0s wrote:

So for example, 0C5C5D00+4, the value at that address is 0C51BA78.


How? I thought 4 is 4, so it would be c5c5d04 how is it going to 0C51BA78? I can't get anything I'm programming to point to the pointer hex number.
All the calculators, and data from AHK, AutoIt and C# say it should be c5c5d04 o.O

Regards,
HaHaItsJake


The value at the address C5C5D04 is 0C51BA78.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Tue Jan 27, 2015 3:38 pm    Post subject: Reply with quote

HaHaItsJake wrote:
atom0s wrote:

So for example, 0C5C5D00+4, the value at that address is 0C51BA78.


How? I thought 4 is 4, so it would be c5c5d04 how is it going to 0C51BA78? I can't get anything I'm programming to point to the pointer hex number.
All the calculators, and data from AHK, AutoIt and C# say it should be c5c5d04 o.O

Regards,
HaHaItsJake


Here is a bit more indepth explanation using your image as an example.


1. This is the base address of your pointer, this is simply used as a base line to start reading into.

2. Takes your base address and adds the given offset you gave. In this case its 4.
Internally Cheat Engine does this:
- 0x0C5C5D00 + 4 = 0x0C5C5D04
- Obtain the value of 0x0C5C5D04
- Display the resulting value: 0x0C51BA78

3. Takes your previous pointers value and adds the given offset you gave. In this case 10. (Remember the 10 here is hex!)
Internally Cheat Engine does this:
- 0x0C51BA78 + 0x10 = 0x0C51BA88
- Because there is not another pointer following this one in your offset list, Cheat Engine treats this as the end of the pointer and is where the value you want is held.
- So Cheat Engine uses this address to read your value from.
- Obtain the value of 0x0C51BA88 and display it in the manner you asked. In this case Array of Bytes (8 length).

So when you take the area you are confused about, with the 4, what you see is:

4 = the offset you want to add to the previous pointer address.
[0C5C5D00+4] is what CE is doing internally. The braces [ ] mean to obtain the value at that address.
-> 0C51BA78 is the resulting value read from the address. (The address read from was 0C5C5D00+4 in this case.)

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

Joined: 16 Aug 2009
Posts: 199

PostPosted: Tue Jan 27, 2015 5:48 pm    Post subject: Reply with quote

atom0s wrote:

2. Takes your base address and adds the given offset you gave. In this case its 4.
Internally Cheat Engine does this:
- 0x0C5C5D00 + 4 = 0x0C5C5D04
- Obtain the value of 0x0C5C5D04
- Display the resulting value: 0x0C51BA78


Just to avoid confusion, 0xC51BA78 is the value AT the address 0xC5C5D04, not the value OF 0xC5C5D04 (because those are obviously not the same values).

*Just in case of language barrier or anything.
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Tue Jan 27, 2015 6:27 pm    Post subject: Reply with quote

KryziK wrote:
atom0s wrote:

2. Takes your base address and adds the given offset you gave. In this case its 4.
Internally Cheat Engine does this:
- 0x0C5C5D00 + 4 = 0x0C5C5D04
- Obtain the value of 0x0C5C5D04
- Display the resulting value: 0x0C51BA78


Just to avoid confusion, 0xC51BA78 is the value AT the address 0xC5C5D04, not the value OF 0xC5C5D04 (because those are obviously not the same values).

*Just in case of language barrier or anything.


Correct, 0xC51BA78 is the value of 0xC5C5D04.

_________________
Back to top
View user's profile Send private message
HaHaItsJake
How do I cheat?
Reputation: 0

Joined: 25 Jan 2015
Posts: 3

PostPosted: Wed Jan 28, 2015 4:08 pm    Post subject: Reply with quote

Okay, I didn't know the [] mean to obtain the value at that address. I was doing pointers for other games to see if I was getting that problem, now that I know that I'm pretty sure I can get it to work. Sorry for the confusion and stuff, great explanation atom0s.

Regards,
HaHaItsJake
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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