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 


How do I turn off a script with an aobscan?

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

Joined: 28 Aug 2010
Posts: 31

PostPosted: Fri Jul 15, 2011 12:49 pm    Post subject: How do I turn off a script with an aobscan? Reply with quote

Title pretty much says it all, here is the script.. How do I disable it properly?

Code:
 

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
label(rkey)
registersymbol(rkey)
aobscan(raob,C7 43 48 01 00 00 00 8B 56 68 8B 46 64 85 D2 0F)

rkey:
raob:
jmp newmem
nop
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
nop

originalcode:
//mov [ebx+48],00000000

exit:
jmp returnhere
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
What Do I need To Write here?!
mov [ebx+48],00000000
//Alt: db C7 43 48 00 00 00 00 8B 56 68 8B 46 64 85 D2 0F



Thanks in advance Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Fri Jul 15, 2011 12:54 pm    Post subject: Reply with quote

the injection template should have filled that in. Anyhow, just remove that mov instruction and uncomment that alt line so it starts with db c7....
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri Jul 15, 2011 9:58 pm    Post subject: Reply with quote

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
label(rkey)
registersymbol(rkey)
aobscan(raob,C7 43 48 01 00 00 00 8B 56 68 8B 46 64 85 D2 0F)

raob:             //First the aob name,
rkey:            //then the label. Means put aob result to label.
jmp newmem
nop
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
nop

originalcode:
//mov [ebx+48],00000000

exit:
jmp returnhere
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
rkey:             //What Do I need To Write here?! -> the label's name
db C7 43 48 00 00 00 00 8B 56 68 8B 46 64 85 D2 0F
unregistersymbol(rkey)     //don't forget to unregister

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
xcynic
Cheater
Reputation: 0

Joined: 28 Aug 2010
Posts: 31

PostPosted: Sat Jul 16, 2011 10:04 am    Post subject: Reply with quote

Thanks to both of you! Smile
I'll most likely be back later with more questions :p
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