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 


Is there a way to step through the code

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

Joined: 05 Jul 2015
Posts: 7

PostPosted: Sun Jun 04, 2017 7:01 am    Post subject: Is there a way to step through the code Reply with quote

I'm modding an old first person shooter. the developers have thought it best to make the actor and weapon of the player invisible to the player, when he is controlling him, it makes them visible if you are just observing the actor from a different camera angle.

with cheat engine i was able to find the part of the code which triggers this and comment it out. now i can see the actor in first person mode. the problem is the animations of the actor make it block the camera frequently while the weapon moves perfectly no matter what.

i want to go deeper into the code and find where the actor model and weapon model are made visible so i can stop the actor model from becoming visible. my starting point would be the code that triggers the whole thing, the one i commented out with code injection, i tried to follow the code by reading it but i dont know what to look for.

if i could run the lines one by one [step through the code] then i could just keep going till i see the models appear and then i would know where to modify. so is there a way to do this?
Back to top
View user's profile Send private message
Rudo
Advanced Cheater
Reputation: 2

Joined: 27 Jun 2015
Posts: 80

PostPosted: Sun Jun 04, 2017 7:20 am    Post subject: Reply with quote

Set a breakpoint (F5) and then step it I guess ( F7 and F8 )
Back to top
View user's profile Send private message
RichardG
How do I cheat?
Reputation: 0

Joined: 05 Jul 2015
Posts: 7

PostPosted: Sun Jun 04, 2017 8:01 am    Post subject: Reply with quote

thanks for the help, this has helped me move in the right direction. since i described what i'm trying to do in the first post, does anyone have any ideas i could try?

Last edited by RichardG on Sun Jun 04, 2017 9:51 am; edited 1 time in total
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Sun Jun 04, 2017 9:42 am    Post subject: Reply with quote

press F9 for the game to resume after breakpoint has been hit.
Removing a breakpoint does not make the processus resume its code execution.
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