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 


Probably a stupid question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
16-Bit
Newbie cheater
Reputation: 0

Joined: 17 Jan 2012
Posts: 21

PostPosted: Sun Dec 08, 2013 12:12 pm    Post subject: Probably a stupid question Reply with quote

But how can I add a flat offset to a pointer?

In other words, I have a Pointer address in my cheat list and I want to add an offset to the address.

I'm not wording this great I think so I'll give you an example of what i mean.

I have a pointer that points to the number of carrots I have. +04 from that address is the number of peas I have. Does cheat engine have a way for me to change the original pointer and just add 04 to that resulting address without me having to find another pointer or manually adjusting it every time?

Thanks
Back to top
View user's profile Send private message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Sun Dec 08, 2013 12:51 pm    Post subject: Reply with quote

Double click on Address and you can change the offset from there .


ad.png
 Description:
 Filesize:  33.49 KB
 Viewed:  3606 Time(s)

ad.png


Back to top
View user's profile Send private message
16-Bit
Newbie cheater
Reputation: 0

Joined: 17 Jan 2012
Posts: 21

PostPosted: Sun Dec 08, 2013 1:16 pm    Post subject: Reply with quote

That won't work.

Because it's a pointer it calculates the VALUE of the last calculated address and then uses that as the address.

In other words, what you're suggesting would take the number of carrots I have, add the offset +04 and the address becomes that. So if I have 12 carrots, the new address this gives me is C + 4 = 10. This is not what I want at all.

What I am looking for is just taking the CALCULATED address and then adding the offset directly to that.
Back to top
View user's profile Send private message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Sun Dec 08, 2013 3:08 pm    Post subject: Reply with quote

The method posted above is correct. I had a pointer adredd for cash in a game just like the poibter f carrots in ur game. 5 addresd add to address of cash was tokens. I simply made a copy of first one. Changed the offset by +5 and pointer for token was created. U must be doing something wrong.
Back to top
View user's profile Send private message
16-Bit
Newbie cheater
Reputation: 0

Joined: 17 Jan 2012
Posts: 21

PostPosted: Mon Dec 09, 2013 12:59 am    Post subject: Reply with quote

faizangmc wrote:
The method posted above is correct. I had a pointer adredd for cash in a game just like the poibter f carrots in ur game. 5 addresd add to address of cash was tokens. I simply made a copy of first one. Changed the offset by +5 and pointer for token was created. U must be doing something wrong.


Yeah, I was being stupid and I was adding another offset, which does exactly what i said in that earlier post. However what I should have been doing was modifying the last pointer offset by the amount I needed to adjust and it all worked.

I've got to really start paying attention to those square brackets. They are quite important.
Back to top
View user's profile Send private message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Mon Dec 09, 2013 1:06 am    Post subject: Reply with quote

Cool. I hav learnt a lot from this forum. Just to make it easy I recommend u post screenshots. It becomes hell a lot easy for pros like dark byte and mr. Mkz to solve it. Most of the times we are not able to convey our problem properly in words. So post screenshots. Like they say "a picture tells it all" Wink
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