Post by £åߥ®Ñth on Apr 13, 2007 11:02:11 GMT -5
When you find the address for health in step 7:
Right click it and "Find what writes to it"
Go back to the tut and click the button.
You will now see this in the debugger window. This instruction is decreasing the health by 1 every time you push the button.
The tut wants you to make it increase by 2 every button press.
It can be done several ways depending how fancy you want to get.
Click the add to codelist button and click ok:
Now click the show disassembler button and we land here:
Now we make sure to Highlight the instruction, and click tools > Auto Assemble:
Then we will get the assembler box, and click Template>Code Injection
You should get this: It is the original code. We will alter it.
Now for the injection: Im going to do the most simple one so not to lose anyone who may be gaining something from this:
We already know that dec [ebx+0000030c] is a decrease of one each press. So what we want is it to add 2 not take away, lets do this injection.
add [ebx+ooooo30c],3 Now we had put this instruction in so the code will now add 3 to the instruction then dec it by 1. So when the button is pressed now you will see it increase by 2.
Another simple way would be to do it would be to change the original instruction to this: add [ebx+0000030c],2 But we will stick with the tutorial for now. Ok after you got the script written, click ok to inject it. If everything goes well you can go to the tut and click the button and watch it increase by 2.
No go to the codelist:
You will see this box: Select the code you see and click the Disk button:
Next you will get this box: Click the bullets that you see:
Now you will see the trainer template:
Click this button:
You will see this box, click the code tab and highlight the code and add the hotkey.
You will see it add to the template:
Now finish out the trainer and click generate and your done.
Right click it and "Find what writes to it"
Go back to the tut and click the button.
You will now see this in the debugger window. This instruction is decreasing the health by 1 every time you push the button.
The tut wants you to make it increase by 2 every button press.
It can be done several ways depending how fancy you want to get.
Click the add to codelist button and click ok:
Now click the show disassembler button and we land here:
Now we make sure to Highlight the instruction, and click tools > Auto Assemble:
Then we will get the assembler box, and click Template>Code Injection
You should get this: It is the original code. We will alter it.
Now for the injection: Im going to do the most simple one so not to lose anyone who may be gaining something from this:
We already know that dec [ebx+0000030c] is a decrease of one each press. So what we want is it to add 2 not take away, lets do this injection.
add [ebx+ooooo30c],3 Now we had put this instruction in so the code will now add 3 to the instruction then dec it by 1. So when the button is pressed now you will see it increase by 2.
Another simple way would be to do it would be to change the original instruction to this: add [ebx+0000030c],2 But we will stick with the tutorial for now. Ok after you got the script written, click ok to inject it. If everything goes well you can go to the tut and click the button and watch it increase by 2.
No go to the codelist:
You will see this box: Select the code you see and click the Disk button:
Next you will get this box: Click the bullets that you see:
Now you will see the trainer template:
Click this button:
You will see this box, click the code tab and highlight the code and add the hotkey.
You will see it add to the template:
Now finish out the trainer and click generate and your done.