 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Rissorr Master Cheater
Reputation: 3
Joined: 17 Sep 2013 Posts: 273 Location: Israel!
|
Posted: Fri May 23, 2014 4:09 pm Post subject: help with simple 'mov' problem in AA |
|
|
So im was tring to make a simple but a little bit more advanced code for CE Tutorial: Step 7 , i got a problem when tried to do Well...now i know that its imposible, but maybe there is a way to do it...? maybe with the stack?
the whole script:
| Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
aobscan(Address,FF 8B 7C 04 00 00)
registersymbol(aob)
label(aob)
registersymbol(ammout)
label(ammout)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
ammout:
dd 0
label(code)
code:
mov [ebx+0000047C],[ammout] //<<<HERE
originalcode:
//dec [ebx+0000047C]
exit:
jmp returnhere
Address:
aob:
jmp code
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
unregistersymbol(aob)
aob:
dec [ebx+0000047C]
//Alt: db FF 8B 7C 04 00 00
|
And sorry if that question is a noobquestion, but im actually a noob in all the AA stuff.
and thanks for those who will help  |
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Fri May 23, 2014 4:18 pm Post subject: |
|
|
if u want do a
mov [value1],[value2]
you can do it like this
push eax //whatever is available / one that isent in use by the mov
mov eax,[value2] //store value into eax
mov [value1],eax
pop eax //giv its originalvalue back to it - avoid weird stuff and error
also if u just want to give it a value u can do it like this
mov [whatever],#999999 //decimal
mov [whatever],(float),100,00 //float |
|
| Back to top |
|
 |
Rissorr Master Cheater
Reputation: 3
Joined: 17 Sep 2013 Posts: 273 Location: Israel!
|
Posted: Fri May 23, 2014 4:32 pm Post subject: |
|
|
Thanks for the response! you realy helped  |
|
| 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
|
|