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 write script with this one?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
omega007
How do I cheat?
Reputation: 0

Joined: 04 Oct 2013
Posts: 5

PostPosted: Thu Nov 14, 2013 10:59 pm    Post subject: How do I write script with this one? Reply with quote

pic 1 original
mov esi,ebp

pic 2 use "replace with code that does nothing"
work perfectly without error

pic 3
I type
nop
nop
nop
in code injection it crash,
so I just use code injection without typing anything. it also crash.
It will not let you move it to other address
What should I do?



thanks in advance


Last edited by omega007 on Sat Dec 14, 2013 6:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Thu Nov 14, 2013 11:25 pm    Post subject: Re: How do I write script with this one? Reply with quote

omega007 wrote:

pic 2 use "replace with code that does nothing"
work perfectly without error

pic 3
I type
nop
nop
nop



Well you should move the 'Bytes' column away from the 'Address' column, as you have them bunched up and it could be confusing you!

See you said you type: nop nop nop...

But the instruction 'mov esi,ebp' is only two bytes NOT 3!

Try this:
Code:

[enable]

winz.exe+6a1a2:
db 90 90

[disable]

winz.exe+6a1a2:
db 8b f5
//mov esi,ebp


Which is the same as:

Code:

[enable]

winz.exe+6a1a2:
nop
nop

[disable]

winz.exe+6a1a2:
db 8b f5
//mov esi,ebp


Normally when I need to nop something and it's more than one byte, I generally use 'db 90' add however many 90's there are nop's (nop == 0x90)

This way you can fit it on one line rather than taking up 1 for each nop! Very Happy

_________________
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