Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help with simple 'mov' problem in AA

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Fri May 23, 2014 4:09 pm    Post subject: help with simple 'mov' problem in AA Reply with quote

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
Code:
 mov [...],[...]
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 Very Happy
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Fri May 23, 2014 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Fri May 23, 2014 4:32 pm    Post subject: Reply with quote

Thanks for the response! you realy helped Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites