 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
kkid28 Expert Cheater
Reputation: 0
Joined: 30 Sep 2006 Posts: 110 Location: The only flat part of the planet.
|
Posted: Fri Nov 24, 2006 4:38 pm Post subject: What's wrong with my script? [NOOB WARNING] |
|
|
Here... What's wrong with it?
Add 10,000 points
| Code: | [ENABLE]
push 00AA4E4C
mov [eax], 00AA4E4C
add eax, [10000]
pop eax
[DISABLE] |
Add balls [basically infinite.
| Code: | [ENABLE]
push 00AA0D56
mov [ebx], 00AA0D56
mov ebx, [99999]
pop ebx
[DISABLE] |
_________________
|
|
| Back to top |
|
 |
Grytolle How do I cheat?
Reputation: 0
Joined: 27 Nov 2006 Posts: 6
|
Posted: Mon Nov 27, 2006 5:24 pm Post subject: |
|
|
| Shouldnt the script say where to inject those lines?
|
|
| Back to top |
|
 |
dezuzi Expert Cheater
Reputation: 0
Joined: 09 Aug 2006 Posts: 146 Location: In your washing machine
|
Posted: Thu Nov 30, 2006 2:26 am Post subject: |
|
|
could you post all of the code
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground.. |
|
| Back to top |
|
 |
U Cheater
Reputation: 0
Joined: 04 Jul 2005 Posts: 48 Location: Comet Temple 1
|
Posted: Thu Nov 30, 2006 5:42 am Post subject: Re: What's wrong with my script? [NOOB WARNING] |
|
|
| kkid28 wrote: | Here... What's wrong with it?
Add 10,000 points
| Code: | [ENABLE]
push 00AA4E4C
mov [eax], 00AA4E4C
add eax, [10000]
pop eax
[DISABLE] |
Add balls [basically infinite.
| Code: | [ENABLE]
push 00AA0D56
mov [ebx], 00AA0D56
mov ebx, [99999]
pop ebx
[DISABLE] |
|
yes where you have put push 00AA4E4C ??
well I take it that 00AA4E4C is actually the address of your points,
also you push 00AA4E4C onto the stack then load it into the contents of EAX, then you ADD EAX with [10000]
then you POP EAX
2 things wrong there
1st your using brackets around 10000 so your loading EAX with the contents of 10000.. in other words the contents of address 10000,
2nd your POP ing the old value off the stack back into EAX and overwriting the old value back over EAX anyway
Add 10,000 points
| Code: | [ENABLE]
code cave address here:
push EAX
mov EAX, 00AA4E4C
add [EAX], 10000
pop EAX
|
something along those lines,
you can use the auto assemble template to allocate memory for the code cave or right click the games code at the place that changes the score and choose "create jump and initialize code cave"[/code]
[edit]***** this is with the auto assemble template but using my but all your addresses will be different..
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
00400007:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
push EAX
mov EAX, 00AA4E4C
add [EAX], 10000
pop EAX
originalcode:
add [eax+eax],al <<< this is just crap from where I jumped from
add [eax],al
exit:
jmp returnhere
|
the original code: part of that will be your score code from your game
also if you add your script to the address list this will allow you to add your cheat to a trainer with enable disable hotkeys
.
_________________
hey ho a mincing we will go
 |
|
| 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
|
|