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 for AA scripts

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Fri Jul 11, 2014 7:55 pm    Post subject: Help for AA scripts Reply with quote

Hey guys its been a pretty long time since i last had done hacking and recently started to get into it, and i don't remember how to do things. My question is how do i address two separate addresses in only one AA script?

I want to combine
Code:

[enable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
//jg "Plant Tycoon.exe"+3A9F2

exit:
jmp returnhere

"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:
[disable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
jg "Plant Tycoon.exe"+3A9F2

exit:
jmp returnhere

"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:


and


Code:

[enable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
cmp eax,#10000000000//[ecx+0000217C]

exit:
jmp returnhere

"Plant Tycoon.exe"+388B0:
jmp newmem
nop
returnhere:
[disable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
cmp eax,[ecx+0000217C]

exit:
jmp returnhere

"Plant Tycoon.exe"+388B0:
jmp newmem
nop
returnhere:
[/code]
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 11, 2014 8:55 pm    Post subject: This post has 1 review(s) Reply with quote

One way:
Code:
[enable]
alloc(newmem,2048)
alloc(newmem2,2048)

label(returnhere)
label(returnhere2)

newmem:
jmp returnhere

"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:

newmem2:
cmp eax,#10000000000//[ecx+0000217C]
jmp returnhere2

"Plant Tycoon.exe"+388B0:
jmp newmem2
nop
returnhere2:

[disable]
//code below
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Fri Jul 11, 2014 9:36 pm    Post subject: Reply with quote

Thanks man that seems to work Very Happy
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
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