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 


AOB Scan, Button or CheckBox.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Char03
Newbie cheater
Reputation: 0

Joined: 12 Nov 2015
Posts: 23

PostPosted: Fri Nov 13, 2015 7:45 pm    Post subject: AOB Scan, Button or CheckBox. Reply with quote

I have a question as can do to scan a AOB and replace it from a button or a checkbox?

I use this code:

Code:
[ENABLE]
Aobscan(_fpx,67 ?? ?? 02 ?? FA ?? 89 58 ?? ?? 02)

_fpx:
db 67
_fpx+3:
db 02
_fpx+5:
db FA
_fpx+7:
db 89 59
_fpx+B:
db 02

[DISABLE]


Thanks
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4293

PostPosted: Fri Nov 13, 2015 8:20 pm    Post subject: Reply with quote

You'll need to store the old bytes in memory somewhere so you can restore them later. Zanzer made a script a while ago that does this: http://forum.cheatengine.org/viewtopic.php?p=5620925#5620925
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 Lua Scripting 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