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 


step 5 to step 6 in tutorial visualisation

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

Joined: 05 Jul 2011
Posts: 4

PostPosted: Sat Dec 12, 2020 11:27 am    Post subject: step 5 to step 6 in tutorial visualisation Reply with quote

So, I can understand that you guys have explained this a gazillion times and haven't got any patience left. Still, I just need some insight, I need to understand the PRINCIPLE behind what I'm trying to do. It is possible that I do not understand this step, because I have never done anything with coding or programming. So help me out if you can/will please.

I understand the principle behind finding an exact value. One can change this and it's done. Easy as pie. But then most games nowadays change these values every time.

Here is my issue: I find the value I am looking for. I right click on "what accesses this value", I find that value also. I click on "replace with NOP". That worked as well.

But from here on I do not understand what I am trying to do. Can someone perhaps explain the "philosophy" behind the next step?

Example: I am now in this game Subnautica Below Zero early access. I am just using this as an example, because I have played earlier versions and I will probably replay it when it really comes out. I am trying to freeze the o2 value. I have done everything up to the point of replace this value with NOP and the o2 value doesn't go down anymore. But what do I now do to make cheat engine freeze this value again next time I play? I have found the adress. But I cannot directly add it to the adress list in the lower half of CE like I can with exact values and then simply checking the box.

- am I now done once I save this value and the NOP? I mean for the next time I start the game
- what other process is required and why if there is any required?

I have looked at the next steps, step 6, pointers looks very different from what I have found. In my list there is no value with rdx. Step 7 is probably where I need to go to keep my o2 value for all next play sessions? But it's like gibberish to me. For now.

I really need to understand the PRINCIPLE behind what I'm trying to do in very simple terms, from there I hope I can piece it together myself by experimenting. Thanks all! Smile
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 150

Joined: 06 Jul 2014
Posts: 4657

PostPosted: Sat Dec 12, 2020 1:03 pm    Post subject: Reply with quote

The OS loads the data in the exe stored on disk into memory (RAM) when the program is launched. Any changes CE makes in memory generally won't affect what's stored on disk. The next time the game is launched, you'll need to make those same changes again.

Make an AA script to do this automatically. If the code is stored in static memory (i.e. address is game.exe+1234 or foo.dll+5678), you can use the "full injection" template; otherwise, use the aobscan template.

You generally won't find pointers in the same manner as the tutorial teaches you. Try the pointer scanner. This video by DB shows how to do it correctly.
If the pointer scanner doesn't find any easy path, try code injection instead. Search for "injection copy". You could try manually finding the pointer path(s) the game uses, but doing that could take longer and require more knowledge of assembly.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
S3ZAi
How do I cheat?
Reputation: 0

Joined: 05 Jul 2011
Posts: 4

PostPosted: Sat Dec 12, 2020 2:56 pm    Post subject: Reply with quote

Thanks for your reply ParkourPenguin. Ik have watched that video and the ones that came before that one.

I now understand a bit better what the issue is. I was wondering if I had to write or code something myself, but it is actually still a search for an adress, but an adress that's one (or more) steps removed from what I actually find at a first search.

And I understand that in this "elevated search" it is important not only to find the adress that's accessing the value you see in game, but also something called an offset. I am now stuck at understanding this offset. I thought I was done when I found the value that worked with the NOP, but apparently I wasn't. I think undersanding wat this offset is and what it does will give me a better understanding of the whole process.

Those videos are really helpful and I guess I need to give it some time and just practice and experiment. Very Happy
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 Discussions 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