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 A.A script

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

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sat Dec 26, 2015 4:55 pm    Post subject: Help with A.A script Reply with quote

Hey Friends I saw some tutorials to make God Mode Hacks and i decided to make a God Mode Hack for a Flash Game But when i enable the script,it Crashes the game

Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(lol)
label(tilesmem)
registersymbol(tilesmem)
aobscan(tiles,89 73 18 8B B0 B0 01 00 00)
tiles:
newmem: //this is allocated memory, you have read,write,execute access
cmp [ebx+3C],#117
je lol
jmp originalcode

lol:
nop
nop
nop
jmp exit

originalcode:
mov [ebx+18],esi
mov esi,[eax+000001B0]
jmp exit

exit:
jmp returnhere


tiles:
tilesmem:
jmp newmem
nop
nop
nop
nop
returnhere:

[DISABLE]
tilesmem:
db 89 73 18 8B B0 B0 01 00 00
unregistersymbol(tilesmem)
dealloc(newmem)


Thanks In Advance Embarassed Confused


Last edited by lolAnonymous on Sat Dec 26, 2015 5:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25829
Location: The netherlands

PostPosted: Sat Dec 26, 2015 4:59 pm    Post subject: Reply with quote

assuming that you mean je lol instead of je brandon, lol doesn't contain the mov esi,[eax+1b0] line which the rest of the code may rely upon
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 26, 2015 5:02 pm    Post subject: Reply with quote

What's Brandon pointing to? And does it ever return to returnhere? Smile
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sat Dec 26, 2015 5:16 pm    Post subject: Reply with quote

Thanks A lot Darkbyte Very Happy Very Happy It Worked But It only works temporarily O.o Laughing

Can someone explain why this is happening so i can fix it


Thanks In Advance Smile


Last edited by lolAnonymous on Sat Dec 26, 2015 5:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 26, 2015 5:39 pm    Post subject: Reply with quote

Read the second half of Dark Byte's answer.
Code:
lol:
mov esi,[eax+000001B0]
jmp returnhere
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sat Dec 26, 2015 5:43 pm    Post subject: Reply with quote

Yeah I Did and it worked Very Happy but temporarily (It only works 1 time)
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 26, 2015 5:45 pm    Post subject: Reply with quote

Above your injection point, is there another CMP statement that future code is relying on?
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sat Dec 26, 2015 5:53 pm    Post subject: Reply with quote

No Bro
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 26, 2015 6:02 pm    Post subject: Reply with quote

Try moving your injection point up 1 instruction. Maybe the game is trying to jump to the middle of your injection instruction.
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sun Dec 27, 2015 5:23 am    Post subject: Reply with quote

Thanks Sir Smile it worked Smile Thanks Zanzer and Dark byte Smile Very Happy[list=][/list]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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