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 


Skipping a step...

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

Joined: 16 Oct 2006
Posts: 1

PostPosted: Sun Oct 14, 2007 8:14 pm    Post subject: Skipping a step... Reply with quote

Alright all I want to do is skip the jump to the address part...

Code:


005153e8 - cmp byte ptr [ebp-03],00
005153ec - je 005153f5



The 2nd line goes to the death sequence, while the 1st checks health against 0...

Help would be appreciated.[/code]
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Oct 14, 2007 8:40 pm    Post subject: Re: Skipping a step... Reply with quote

Firemonkey5 wrote:
Alright all I want to do is skip the jump to the address part...

Code:


005153e8 - cmp byte ptr [ebp-03],00
005153ec - je 005153f5



The 2nd line goes to the death sequence, while the 1st checks health against 0...

Help would be appreciated.


NOP it.

Code:
005153e8 - cmp byte ptr [ebp-03],00
005153ec - NOP (0x90)
005153ed - NOP
005153ee - NOP
005153ef - NOP
005153f0 - NOP


This causes the jump not to be executed, and a NOP to the CPU basically just tells it to continue, it doesn't do anything.


Last edited by Flyte on Sun Oct 14, 2007 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Oct 14, 2007 8:40 pm    Post subject: Reply with quote

Change je to jne?
Back to top
View user's profile Send private message Visit poster's website
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Oct 14, 2007 8:41 pm    Post subject: Reply with quote

Wiccaan wrote:
Change je to jne?


No, because if the health isn't 0 (aka alive) it will jump to the death sequence.
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Thu Oct 18, 2007 2:10 pm    Post subject: Reply with quote

How about:
Code:
005153e8 - cmp byte ptr [ebp-03],FFFFFFFF

Or -1.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Thu Oct 18, 2007 2:17 pm    Post subject: Reply with quote

Code:
005153e8 - cmp byte ptr [ebp-03],00
005153ec - jl 005153f5


There it wont jump unless it is less then 0.
Back to top
View user's profile Send private message
Xanatos
I post too much
Warning
Reputation: 18

Joined: 06 May 2007
Posts: 2559
Location: US

PostPosted: Thu Oct 18, 2007 2:21 pm    Post subject: Reply with quote

Super long explanation time.

Code:
005153e8 - cmp byte ptr [ebp-03],00

This line of code compares the ebp-03 with 00, I bet you know that.
So if ebp-03 is your health and you wanted to hack it, a easy thing to do is... Nop both the jump and compare codes.

Code:
005153e8 - cmp byte ptr [ebp-03],00
005153ec - jl 005153f5


The effect is that you will never die since it will never go to the death sequence.

_________________
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