 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
zero_ How do I cheat?
Reputation: 0
Joined: 06 Jul 2013 Posts: 6
|
Posted: Sat Jul 06, 2013 6:50 am Post subject: Need help with pointer with Peggle. |
|
|
Okay so I just started learning AA. I did most of the tutorials that come with CE.
Let's say the address of 'HP' changes every time you restart the game, if we have a pointer, does it point to the HP address even when the game restarts?
Anyways I'm trying to create a 'life' hack for Peggle. I found the life address which is 1180A03C but every time the game restarts the address that the life's are stored is different so Im assuming we need a pointer? Anyways so I rightclicked it, and clicked what writes to this. I got the following result
| Code: |
0045D886 - 8B 86 28010000 - mov eax,[esi+00000128]
0045D88C - 8B 4D 08 - mov ecx,[ebp+08]
0045D88F - 01 8C 86 7C010000 - add [esi+eax*4+0000017C],ecx <<
0045D896 - 85 C9 - test ecx,ecx
0045D898 - 8D 84 86 7C010000 - lea eax,[esi+eax*4+0000017C]
EAX=00000000
EBX=1180A218
ECX=FFFFFFFF
EDX=0B57C840
ESI=11809EC0
EDI=FFFFFFFF
ESP=0018F280
EBP=0018F284
EIP=0045D896
|
Not sure how to work it out, it seems complex. And whats the whole point in scanning for it, ugh. Could I get some help on this guys, thanks. Also can anyone add me on skype so I can ask some questions it's easier over an instant IM.
Kind Regards,
zero_
|
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sat Jul 06, 2013 9:40 am Post subject: Re: Need help with pointer with Peggle. |
|
|
| zero_ wrote: | | Let's say the address of 'HP' changes every time you restart the game, if we have a pointer, does it point to the HP address even when the game restarts? | If you find a good pointer (aka stable pointer), yes.
| zero_ wrote: | | Anyways I'm trying to create a 'life' hack for Peggle. I found the life address which is 1180A03C but every time the game restarts the address that the life's are stored is different so Im assuming we need a pointer? | At this point there are 2 approaches you could take:
-finding a pointer.
-modifying the game's code so that it doesn't write the player's HP.
A quick google look at the game make me think that the code that writes HP is not shared (the opposite of tutorial step 9), so find your hp, find what writes on it, and for each result click on "replace" (with code that does nothing).
If this works, tell me the name of the game's exe so I can show you how to turn that into an AA script that.
| zero_ wrote: | Anyways so I rightclicked it, and clicked what writes to this. I got the following result | Code: | 0045D88F - 01 8C 86 7C010000 - add [esi+eax*4+0000017C],ecx <<
EAX=00000000
ESI=11809EC0 |
Not sure how to work it out, it seems complex. | Tutorial step 6 explains that, but this is actually the approach NOT to take when you want to find pointers...
When you want to find a pointer:
1-Right-click on your variable->pointerscan for this address.
2-Tick "Stop traversing...", untick "Allow stack addresses...".
Bonus: given the results of "find out what..." you can tick "pointers must end with...", and enter 17C. This should make scanning a bit faster and reduce the number of junk results.
3-Validate, go take a coffee.
4-Restart game, reboot computer, load a save or start a new game.
5-Find the new address of your HP.
6-Pointer scanner->rescan (ctrl+R).
7-Go to step 4, unless step 6 had no effect.
8-When you've reached the point where you can't reduce the number of results, just pick one at random. Anyway it is very rare to end up with only 1 result even after of lot of rescans.
|
|
| Back to top |
|
 |
zero_ How do I cheat?
Reputation: 0
Joined: 06 Jul 2013 Posts: 6
|
Posted: Sun Jul 07, 2013 9:10 am Post subject: |
|
|
I disliked the pointerscan method, I found out how to do it. It ended up being a multi level pointer, ended up being static. Thanks for the help though!
|
|
| Back to top |
|
 |
|
|
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
|
|