Difference between revisions of "Tutorials:Create cheat table full:health"
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>') |
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13) |
||
Line 1: | Line 1: | ||
− | < | + | [[Category:Tutorial]] |
+ | <!-- Tutorials:Create_cheat_table_full:health --> | ||
+ | {{DISPLAYTITLE:Creating a cheat table - Health}} | ||
+ | This page is a sub page of: [[Tutorials:Create_cheat_table_full|Creating a cheat table - Full guide]] | ||
+ | |||
+ | Now after a restart (and game reinstall, it's been a while) This is what my table looks like. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.01.png|border]] | ||
+ | |||
+ | |||
+ | |||
+ | === Step 1 === | ||
+ | |||
+ | When looking for health I prefer to decrease it with falls so I don't get killed unexpectedly, but mostly we will need to decrease and increase the player health to find the value so make sure to have some ''Elixirs (first aid kits)'' to replenish your health. Now let's find a good place to start. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.02.png|border]] | ||
+ | |||
+ | |||
+ | This looks good to me. | ||
+ | |||
+ | So lets start with planing, now some games use integers for health but most, newer, games use floating points. So we don't miss any thing let's use the ''All'' scan option, but I tend to change to settings as needed for any scan with type ''All''. | ||
+ | |||
+ | To check the settings, on the Cheat Engine main form '''click ''Edit'' then select ''settings''.''' | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.03.png|border]] | ||
+ | |||
+ | |||
+ | This will open the Cheat Engine settings form. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.04.png|border]] | ||
+ | |||
+ | |||
+ | Now '''select ''Scan Options''.''' And '''check to see that ''4 Bytes'', ''Float'', and ''Double'' are checked'''. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.05.png|border]] | ||
+ | |||
+ | |||
+ | Then let's start with an ''unknown initial value'' scan. Then decrease our health, by jumping off the ledge, and scan for a ''decreasing value''. | ||
+ | |||
+ | Note: Some steps are glossed over, if more details for scaning are need please see: | ||
+ | * [[Tutorials:Create_cheat_table_full:coordinates|Finding the player coordinates]] | ||
+ | |||
+ | |||
+ | Now I needed to refill my health after the first jump, so then I scanned for an ''increasing value'', then just keep repeating, with some ''unchanged value'' scans to weed done the addresses. | ||
+ | |||
+ | |||
+ | |||
+ | === Step 2 === | ||
+ | |||
+ | Now with my found addresses down to 66, I fill my health, and start looking for nice round numbers that look good. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.06.png|border]] | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.07.png|border]] | ||
+ | |||
+ | So here I have some 4 byte values at 70, floats at 1, and some doubles at 100. Now I am guessing that the floats with values of 1 are just for the displayed health meter, and there really is no good reason to use doubles for player health. So lets freeze the 4 byte values, and test. | ||
+ | |||
+ | Now when I tested my meter decreased, but I was unable to fill it so I am thinking that the health address is one of these. We could even hack the display value just for appearances, but an injection script can set the at just the right time to fix the display issue so let's just keep going for now (but you may want to test or hold on the the rest of the address for later). | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.08.png|border]] | ||
+ | |||
+ | |||
+ | So now just like with the player coordinates freeze one at a time tell you find the player health address. Or just set the value below the filled value and see if you can fill your health. And if the values is overwritten then it's not the right one. | ||
+ | |||
+ | |||
+ | |||
+ | === Step 3 === | ||
+ | |||
+ | Now that we have the player health address, lets see what accesses this address. | ||
+ | |||
+ | Now let's look at some numbers. Here we can see that the player health has an offset of ''+344'' and uses the base address stored in the player coordinates hook. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.09.png|border]] | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.10.png|border]] | ||
+ | |||
+ | |||
+ | So just add a new pointer, using the ''ptrCoordBase'' from the player coordinates, with an offset of ''+344''. | ||
+ | |||
+ | [[File:Tutorials.Dishonored.PlayerHealth.11.png|border]] | ||
+ | |||
+ | |||
+ | So now we have the player health, and from here using dissect data structure may help find more values. | ||
+ | |||
+ | |||
+ | Now that we seem to have a good base address and some values, try to find the ''Mana'' address your self. | ||
+ | |||
+ | Hint: It is in the same structure as health, oxygen, and coordinates. | ||
+ | |||
+ | <pre>[ptrCoordBase]+???</pre> | ||
+ | |||
+ | |||
+ | So time for some real fun, on to the hooks and hacks. | ||
+ | * [[Tutorials:Create_cheat_table_full:movement_speed|Write a Super Speed hack]] | ||
+ | |||
+ | |||
+ | |||
+ | {{Tutorials:Create_cheat_table_full:links}} |
Latest revision as of 19:08, 18 March 2019
This page is a sub page of: Creating a cheat table - Full guide
Now after a restart (and game reinstall, it's been a while) This is what my table looks like.
Step 1[edit]
When looking for health I prefer to decrease it with falls so I don't get killed unexpectedly, but mostly we will need to decrease and increase the player health to find the value so make sure to have some Elixirs (first aid kits) to replenish your health. Now let's find a good place to start.
This looks good to me.
So lets start with planing, now some games use integers for health but most, newer, games use floating points. So we don't miss any thing let's use the All scan option, but I tend to change to settings as needed for any scan with type All.
To check the settings, on the Cheat Engine main form click Edit then select settings.
This will open the Cheat Engine settings form.
Now select Scan Options. And check to see that 4 Bytes, Float, and Double are checked.
Then let's start with an unknown initial value scan. Then decrease our health, by jumping off the ledge, and scan for a decreasing value.
Note: Some steps are glossed over, if more details for scaning are need please see:
Now I needed to refill my health after the first jump, so then I scanned for an increasing value, then just keep repeating, with some unchanged value scans to weed done the addresses.
Step 2[edit]
Now with my found addresses down to 66, I fill my health, and start looking for nice round numbers that look good.
So here I have some 4 byte values at 70, floats at 1, and some doubles at 100. Now I am guessing that the floats with values of 1 are just for the displayed health meter, and there really is no good reason to use doubles for player health. So lets freeze the 4 byte values, and test.
Now when I tested my meter decreased, but I was unable to fill it so I am thinking that the health address is one of these. We could even hack the display value just for appearances, but an injection script can set the at just the right time to fix the display issue so let's just keep going for now (but you may want to test or hold on the the rest of the address for later).
So now just like with the player coordinates freeze one at a time tell you find the player health address. Or just set the value below the filled value and see if you can fill your health. And if the values is overwritten then it's not the right one.
Step 3[edit]
Now that we have the player health address, lets see what accesses this address.
Now let's look at some numbers. Here we can see that the player health has an offset of +344 and uses the base address stored in the player coordinates hook.
So just add a new pointer, using the ptrCoordBase from the player coordinates, with an offset of +344.
So now we have the player health, and from here using dissect data structure may help find more values.
Now that we seem to have a good base address and some values, try to find the Mana address your self.
Hint: It is in the same structure as health, oxygen, and coordinates.
[ptrCoordBase]+???
So time for some real fun, on to the hooks and hacks.