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 to trace back something in ASM

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

Joined: 21 Feb 2009
Posts: 107

PostPosted: Thu Oct 08, 2009 4:05 pm    Post subject: How to trace back something in ASM Reply with quote

So I found the address of the instruction that writes the "character state" variable (running, falling, etc). Problem is that that function also sets a whole lot of other variables so modifying it creates a crash. So what's the best method of tracing back where EAX got assigned "3" (falling state). I could then create a code cave jump and check if EAX is 3 and if so, set it back to 1.

(I've tried manually tracing it back but there are too many jmps and functions that I just get routed off into the asm abyss)

I've barely got some experience in OllyDbg and I heard about running a "trace", but never really got anywhere with it.

Also: OllyDbg always breaks and says there are exceptions... are these exceptions that the game is overlooking and OllyDbg is catching? Sometimes this causes a crash which is the reason I stopped using OllyDbg.

Thx Smile
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 programming 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