Shard
30th July 2004, 14:52
This is a very simple Pinball trainer, it only has one option which adds 1,000,000 points to your score instead of the real amount. Also, I have not added a dialog, it just runs in the background and works on key presses.
The source code is very easy to understand and I have commented it.
I will try and explain how I did it:
I found the memory address(es) for the score in pinball and autohacked them. Once I got some more points this appeared in the Autohack window:
1015ED1: add [eax],esi
That line of code adds whatever is in esi to eax (my score), so to do what I wanted I had to change whatever was in esi. I went backward from that line of code and found this:
mov esi,[eax*4+0x1022738]
imul esi,edi
add esi,[ecx+0x12A]
That is where the amount of points to be added is worked out, it is exactly 16 bytes so that is the amount I had to overwrite, I changed it to this:
mov esi, 1000000
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
That just moves 1000000 points into esi and gets rid of the rest of it with NOPs (no operation) so now, everytime I got hit a bumper or w/e I got 1,000,000 points instead of the usual amount :D
The source code is very easy to understand and I have commented it.
I will try and explain how I did it:
I found the memory address(es) for the score in pinball and autohacked them. Once I got some more points this appeared in the Autohack window:
1015ED1: add [eax],esi
That line of code adds whatever is in esi to eax (my score), so to do what I wanted I had to change whatever was in esi. I went backward from that line of code and found this:
mov esi,[eax*4+0x1022738]
imul esi,edi
add esi,[ecx+0x12A]
That is where the amount of points to be added is worked out, it is exactly 16 bytes so that is the amount I had to overwrite, I changed it to this:
mov esi, 1000000
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
That just moves 1000000 points into esi and gets rid of the rest of it with NOPs (no operation) so now, everytime I got hit a bumper or w/e I got 1,000,000 points instead of the usual amount :D