View previous topic :: View next topic |
Author |
Message |
Hayjamieoliver Newbie cheater
Reputation: 0
Joined: 29 Nov 2016 Posts: 16 Location: idk
|
Posted: Tue Aug 29, 2017 6:11 pm Post subject: How to make opcodes ignore certain addresses? |
|
|
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?
_________________
|
|
Back to top |
|
 |
OldCheatEngineUser Whateven rank
Reputation: 20
Joined: 01 Feb 2016 Posts: 1586
|
Posted: Wed Aug 30, 2017 12:48 am Post subject: |
|
|
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 |
|
 |
Prehistoricman Advanced Cheater
Reputation: 0
Joined: 02 Aug 2016 Posts: 80
|
Posted: Wed Aug 30, 2017 11:23 am Post subject: |
|
|
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 |
|
 |
|