| View previous topic :: View next topic |
| Author |
Message |
TheHipsterGmaing How do I cheat?
Reputation: 0
Joined: 22 Aug 2022 Posts: 3
|
Posted: Mon Aug 22, 2022 11:41 am Post subject: Scanning for values between -1 and 1 |
|
|
Hello!
I am attempting to find the static pointer for a direction my character is facing within a game. The X coordinate i am looking for ranges from -1 to 1 with around 7 decimal points ex. -0.1545767. When plugging it into cheat engine and attempting to scan it seems to round up the number and gives me results that have a value of 0, and thus i am greeted with 1 billion results. Any idea how i can force CE to look for the exact value.
Thank you for your help.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4722
|
Posted: Mon Aug 22, 2022 12:22 pm Post subject: |
|
|
0 is indeed a number between -1 and 1. Math demands that to be true- you can't change that.
If you want to scan for non-zero normal (i.e. non-subnormal) numbers, check the "simple values only" checkbox, do a first scan between -1 and 1, then do an exact value scan for "0.0000000000" with the "Not" checkbox checked.
Or you could use a custom value type that ignores zero and subnormal values (with some knowledge of assembly... or maybe {ccode}?).
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25839 Location: The netherlands
|
Posted: Mon Aug 22, 2022 1:45 pm Post subject: |
|
|
more efficient is do an unknown initial value scan
cause an change and do a changed value scan
then scan for -1 to 1
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
TheHipsterGmaing How do I cheat?
Reputation: 0
Joined: 22 Aug 2022 Posts: 3
|
Posted: Mon Aug 22, 2022 2:52 pm Post subject: |
|
|
| Dark Byte wrote: | more efficient is do an unknown initial value scan
cause an change and do a changed value scan
then scan for -1 to 1 |
I think i might have not worded my issue correctly, i have the exact values available to me. So i have access to exact values at all times. my problem is when i enter an exact value and scan for it for some reason it gives me literary a billion addresses. It doesn't make any sense that i am entering a value of 0.1435284 and its pumping out adresses that have value of 0.
|
|
| Back to top |
|
 |
Cheating'sHard Newbie cheater
Reputation: 0
Joined: 15 Aug 2020 Posts: 12 Location: 16845 N 29th Ave Ste 1212, Phoenix, AZ 85053
|
Posted: Mon Aug 22, 2022 2:56 pm Post subject: |
|
|
| TheHipsterGmaing wrote: | | Dark Byte wrote: | more efficient is do an unknown initial value scan
cause an change and do a changed value scan
then scan for -1 to 1 |
I think i might have not worded my issue correctly, i have the exact values available to me. So i have access to exact values at all times. my problem is when i enter an exact value and scan for it for some reason it gives me literary a billion addresses. It doesn't make any sense that i am entering a value of 0.1435284 and its pumping out adresses that have value of 0. |
1. make sure the value type is set to float
2. make sure you have rounded set to default and not extreme
_________________
Why not? |
|
| Back to top |
|
 |
TheHipsterGmaing How do I cheat?
Reputation: 0
Joined: 22 Aug 2022 Posts: 3
|
Posted: Mon Aug 22, 2022 3:00 pm Post subject: |
|
|
| Cheating'sHard wrote: | | TheHipsterGmaing wrote: | | Dark Byte wrote: | more efficient is do an unknown initial value scan
cause an change and do a changed value scan
then scan for -1 to 1 |
I think i might have not worded my issue correctly, i have the exact values available to me. So i have access to exact values at all times. my problem is when i enter an exact value and scan for it for some reason it gives me literary a billion addresses. It doesn't make any sense that i am entering a value of 0.1435284 and its pumping out adresses that have value of 0. |
1. make sure the value type is set to float
2. make sure you have rounded set to default and not extreme |
You sir are a jewel Thank you <3
|
|
| Back to top |
|
 |
|