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]How to intercept code

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

Joined: 14 Aug 2018
Posts: 36

PostPosted: Tue Aug 28, 2018 8:27 pm    Post subject: [HELP]How to intercept code Reply with quote

For example,mov [0004080],6AC

I'm not going to use the db rewriting code.

How to only change the "mov"

How to retain "[0004080],6AC"

How to cobble together into "add [0004080],6AC"
Back to top
View user's profile Send private message Send e-mail
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Tue Aug 28, 2018 9:19 pm    Post subject: Reply with quote

Not sure what you mean by "intercept", but to just change certain bytes use the data byte declaration (i.e.: "db").
Code:
C7 05 80400000 AC060000 - mov [00004080],000006AC
81 05 80400000 AC060000 - add [00004080],000006AC


Code:
db 81

_________________
Back to top
View user's profile Send private message Visit poster's website
acgofficial
Cheater
Reputation: 0

Joined: 14 Aug 2018
Posts: 36

PostPosted: Wed Aug 29, 2018 2:27 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Not sure what you mean by "intercept", but to just change certain bytes use the data byte declaration (i.e.: "db").
Code:
C7 05 80400000 AC060000 - mov [00004080],000006AC
81 05 80400000 AC060000 - add [00004080],000006AC


Code:
db 81

Rolling Eyes Thank you, also can be so.......

Question I always thought the db refers to rewrite the address code instructions......

"intercept" Refers to the, For example


txt = "MOV [00004080],000006AC"
read = ""

for i=0,txt.length then

get=txt[i]..txt[i+1]..txt[i+2]..txt[i+3]..txt[i+4]..txt[i+5]..txt[i+6]..txt[i+7]..txt[i+8]..txt[i+9]

if get == "[00004080]" then
read=get
end

end

txt the value is "[00004080]"

So......CEAA Script, How to write?
Back to top
View user's profile Send private message Send e-mail
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