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 me with my first AOB script :/

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Fri Jul 26, 2013 11:37 am    Post subject: Help me with my first AOB script :/ Reply with quote

I'm trying to set Karma points in showdown game to 200 .

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(sps)
registersymbol(aob)
aobscan(aob,8B 86 E0 00 00 00)

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

originalcode:
mov eax,[esi+000000E0]

exit:
jmp returnhere
aob:
sps:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
aob:
mov eax,[esi+000000E0]
db 8B 86 E0 00 00 00
unregistersymbol(aob)


[/quote]
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Fri Jul 26, 2013 3:08 pm    Post subject: Reply with quote

I think you should use this:
mov [esi+000000E0],C8
instead of mov esi,C8

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
aobscan(aob,8B 86 E0 00 00 00)
registersymbol(aob)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [esi+000000E0],C8

originalcode:
mov eax,[esi+000000E0]

exit:
jmp returnhere


aob:
jmp newmem
nop
returnhere:
 
 
[DISABLE]
aob:
mov eax,[esi+000000E0]
db 8B 86 E0 00 00 00

unregistersymbol(aob)
dealloc(newmem)



And, are you sure "8B 86 E0 00 00 00" for aobscan is enough? You can try CE6.3+ feature, it's not fully tested. To get C6.3+, you can download this: link (Install Cheat Engine 6.3 and then overwrite files)


_________________
Back to top
View user's profile Send private message MSN Messenger
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Fri Jul 26, 2013 5:09 pm    Post subject: Reply with quote

I didn't even know about this feature ,I will try it later tonight , Thanks .
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