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 make opcodes ignore certain addresses?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Hayjamieoliver
Newbie cheater
Reputation: 0

Joined: 29 Nov 2016
Posts: 16
Location: idk

PostPosted: Tue Aug 29, 2017 6:11 pm    Post subject: How to make opcodes ignore certain addresses? Reply with quote

In a game I have been playing there are some characters which have crosshairs that expand when shooting, even if the weapon they are using is still firing reasonably accurately. In an effeort to fix this, I found the float values that determine the location of the crosshairs onscreen, and locking them and/or changing them produces the exact effects I desire. The issue is that there are only two addresses that access them overall, and both also determine many other things as well, meaning disabling them messes with the game in other ways, such as removing the spacing between the UI buttons and icons. What I want to know is, is it possible to make a code injection that acts like the original code UNLESS it comes across some specific addresses?
_________________
Smile
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Wed Aug 30, 2017 12:48 am    Post subject: Reply with quote

for sure you can use any injection method.
and yeah find something different between the two addresses.

then use a compare to throw out the address you desire or whatever you wanna do.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Prehistoricman
Advanced Cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 80

PostPosted: Wed Aug 30, 2017 11:23 am    Post subject: Reply with quote

There will be a value somewhere that tells the UI update code how far to send the crosshair on shoot. This is what you'll have to find with breakpoints.

You can set conditional breakpoints by right clicking on a breakpoint and clicking "set break condition". Then you can step through and see what's going on with memory

_________________
Er, hi
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