| View previous topic :: View next topic |
| Author |
Message |
16-Bit Newbie cheater
Reputation: 0
Joined: 17 Jan 2012 Posts: 21
|
Posted: Sun Dec 08, 2013 12:12 pm Post subject: Probably a stupid question |
|
|
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 |
|
 |
omoe Grandmaster Cheater
Reputation: 8
Joined: 11 Jun 2013 Posts: 547
|
Posted: Sun Dec 08, 2013 12:51 pm Post subject: |
|
|
Double click on Address and you can change the offset from there .
| Description: |
|
| Filesize: |
33.49 KB |
| Viewed: |
3606 Time(s) |

|
|
|
| Back to top |
|
 |
16-Bit Newbie cheater
Reputation: 0
Joined: 17 Jan 2012 Posts: 21
|
Posted: Sun Dec 08, 2013 1:16 pm Post subject: |
|
|
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 |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Sun Dec 08, 2013 3:08 pm Post subject: |
|
|
| 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 |
|
 |
16-Bit Newbie cheater
Reputation: 0
Joined: 17 Jan 2012 Posts: 21
|
Posted: Mon Dec 09, 2013 12:59 am Post subject: |
|
|
| 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 |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Mon Dec 09, 2013 1:06 am Post subject: |
|
|
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"
|
|
| Back to top |
|
 |
|