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 


Not sure if I am doing it right...

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

Joined: 04 Jan 2011
Posts: 7

PostPosted: Tue Jan 04, 2011 11:07 pm    Post subject: Not sure if I am doing it right... Reply with quote

I am following these steps to find the base value (green address) this is what I do.

1. Scan for value
2. Change value and scan for new value
3. Now that I found it I d-click it
4. Right click from the list that it is added to and find what writes to it
5. Change the value in the game to speed this process up
6. In the opcodes window I click the only one I see and click more info...
7. I get the address given there and the offset
8. I search for this address clicking it to hex in the search and typing in address.
9. I choose the first in the list and click "Add address manually" and choose pointer.
10. I type in the address I clicked on where the value is the address I searched for and now I type in the offset I got from opcodes->more info...
11. Now I have a pointer to the initial value and it is showing the same value that the original address shows and if I change it is works.
12. Now I find the base address by right clicking that pointer address in the list and choosing find what accesses it.
13. There are several in the opcodes window so I choose the first one and click more info...
14. I now take the address given in there and hex search again noting the offset as well.
15. I now see a green address which values is that of what I searched

This is where I am lost, I am trying to program my own trainer in C++ but can't seem to get this to work out for me. Anyone know what I am doing wrong, I have a feeling this "base address" isn't actual pointing to it or maybe in my program I am not doing something right. Although if I use the inital address I found first when searching for the changed value it will work, but just for this game session since if I restart game it changes. Any suggestion or tips is much appreciated, btw I have been coding C++ for 3 1/2 years and I am pretty fluent in it considering the time invested. I am fairly confident that my code is fine since it works with the initial address found, but I am not sure what to do with this "base address" since there is an offset and all.

EDIT*****

I noticed that I have this and my base ends up pointing to my original pointer since it accesses it, but the value isn't the same.

original variable, 11FA772C, 4 Bytes, 88041
original pointer , P->11FA772C, 4 Bytes, 88041 //address is 07E28EBC
base pointer, P->07E28EBC, 4 Bytes, 301626216 //not showing the same value

I don't know what is wrong here... The base pointer is pointing to the original pointer, but it isn't showing the same value as I would have expected it to. Please someone point me in the right direction.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Jan 06, 2011 10:37 am    Post subject: Reply with quote

Try to use the pointer scanner to see if it can find some pointers.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
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