Difference between revisions of "Tutorials:Finding values:Integers"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'The most basic thing to do with Cheat Engine is to find Values to change or freeze. So let's go over how to find some integer values. Any game will work but I will be using '''…')
 
Line 24: Line 24:
 
So '''make some moves to increase the score''', I got 5 points (watch the score so you are scanning for the correct value).
 
So '''make some moves to increase the score''', I got 5 points (watch the score so you are scanning for the correct value).
  
On the Cheat Engine form in the value text box '''enter the current score''' and '''click first scan'''.
+
On the Cheat Engine form in the value text box '''enter the current score''' and '''click ''first scan'''''.
  
 
[[File:CEForm.FindValue.score.1.png]]
 
[[File:CEForm.FindValue.score.1.png]]
Line 35: Line 35:
 
Again '''make some moves to increase the score''', I got 13 points.
 
Again '''make some moves to increase the score''', I got 13 points.
  
'''Reenter the current score''' and '''click next scan'''.
+
'''Reenter the current score''' and '''click ''next scan'''''.
  
 
[[File:CEForm.FindValue.score.03.png]]
 
[[File:CEForm.FindValue.score.03.png]]
Line 58: Line 58:
  
 
==== Step 1 ====
 
==== Step 1 ====
So '''click new scan''', then '''enter the current timers value''' and '''click first scan'''.
+
So '''click ''new scan''''', then '''enter the current timers value''' and '''click ''first scan'''''.
  
 
Tip: Enter a value just above the timers value and wait for it to hit that value to scan.
 
Tip: Enter a value just above the timers value and wait for it to hit that value to scan.
  
 
==== Step 2 ====
 
==== Step 2 ====
Then '''reenter the current timers value''' and '''click next scan'''.
+
Then '''reenter the current timers value''' and '''click ''next scan'''''.
  
 
Keep doing this like with the score until a value is found.
 
Keep doing this like with the score until a value is found.
Line 79: Line 79:
 
== See also ==
 
== See also ==
 
* [[Tutorials]]
 
* [[Tutorials]]
 +
* [[Tutorials:AttachToProcess|Attach to a process]]
 
* [[Tutorials:Finding values:Floats|Finding values - Floats]]
 
* [[Tutorials:Finding values:Floats|Finding values - Floats]]
 
* [[Tutorials:Auto_Assembler:Injection|Code Injection]]
 
* [[Tutorials:Auto_Assembler:Injection|Code Injection]]

Revision as of 06:59, 12 March 2017

The most basic thing to do with Cheat Engine is to find Values to change or freeze.

So let's go over how to find some integer values.

Any game will work but I will be using Windows Solitaire. And Windows Solitaire is a good game for integers

If unsure how to attach to the process see: How to attach to a process


Integers

Integer
Integers are whole numbers, or numbers that are not fractions.


Score

Lets start with the score. If you play or have played a round then you know that the visible score is an integer, that it's increased by moves and decreased with time, and starts at zero.

Now in this small game scanning for zero should be fine but it's best not to scan for zeros.

Step 1

So make some moves to increase the score, I got 5 points (watch the score so you are scanning for the correct value).

On the Cheat Engine form in the value text box enter the current score and click first scan.

CEForm.FindValue.score.1.png

You should see a list of values.

File:CEForm.FindValue.score.02.png

Step 3

Again make some moves to increase the score, I got 13 points.

Reenter the current score and click next scan.

CEForm.FindValue.score.03.png

Step 4

And you would do this, scanning for increased values and letting it decrease to scan for that value, until a value or list of values that looks right is captured.

Step 5

So now that you have an address double click it in the found list, and it should create a memory record in the address list of the cheat table.

Double click the value to change it and enter 5000. You should now have 5000 as a score.

CEForm.FindValue.score.04.png


Basic Timer

We know that the visible timer is an integer, which isn't common but it's a good timer to start with, and it increases by one about every second.

Step 1

So click new scan, then enter the current timers value and click first scan.

Tip: Enter a value just above the timers value and wait for it to hit that value to scan.

Step 2

Then reenter the current timers value and click next scan.

Keep doing this like with the score until a value is found.

Freezing Values

When you have the address in the address list you can click the box to freeze the address.

CEForm.FindValue.basicTimer.01.png

Note that the timer still shows '1' as a value, to change that we would need to use code injection.

See: Code Injection


See also