View previous topic :: View next topic |
Author |
Message |
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 06, 2017 6:30 am Post subject: |
|
|
Are you sure you have the correct value type? Try "double".
_________________
|
|
Back to top |
|
|
fcqgju14156 Newbie cheater Reputation: 0
Joined: 01 Jan 2017 Posts: 18
|
Posted: Fri Jan 06, 2017 8:33 am Post subject: |
|
|
It is the right type of values.
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 06, 2017 11:11 am Post subject: |
|
|
When I see weird sequence like this: 2.560937405, 2.748437405, 2.827343702, 2.967968702
It comes to my mind that in reality this sequence are doubles (aka double-precision floating-point), not floats (aka single-precision floating-point).
Proof:
So, I think the sequence is: 9.95 , 15.95 , 20.95 , 29.95
_________________
|
|
Back to top |
|
|
fcqgju14156 Newbie cheater Reputation: 0
Joined: 01 Jan 2017 Posts: 18
|
Posted: Fri Jan 06, 2017 1:54 pm Post subject: |
|
|
No, I need float values.
Description: |
|
Filesize: |
9.9 KB |
Viewed: |
9116 Time(s) |
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 06, 2017 4:31 pm Post subject: |
|
|
You didn't just change type of already added addresses? Yes, you do.
If you have, for example, 2.5609374005 in the list, try changing type to double AND change address to address-4.
_________________
|
|
Back to top |
|
|
fcqgju14156 Newbie cheater Reputation: 0
Joined: 01 Jan 2017 Posts: 18
|
Posted: Mon Jan 09, 2017 6:24 am Post subject: |
|
|
Why change the float on the double? I need a script.
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Jan 09, 2017 8:02 am Post subject: |
|
|
You want the script but you didn't provide a proof that those values are single-precision.
Just find this 2.560937405, add to table, change value type to double, and change address to address-4 and give a screenshot (URL link without http and www part).
_________________
|
|
Back to top |
|
|
fcqgju14156 Newbie cheater Reputation: 0
Joined: 01 Jan 2017 Posts: 18
|
Posted: Mon Jan 09, 2017 12:27 pm Post subject: |
|
|
"and change address to address-4" I don't understand
Description: |
|
Filesize: |
2.26 KB |
Viewed: |
8943 Time(s) |
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Jan 09, 2017 4:17 pm Post subject: |
|
|
if address is 4800610C, change it to 48006108
(tip: google "hexadecimal")
_________________
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Jan 09, 2017 7:34 pm Post subject: |
|
|
Or just set the address to "4800610C-4" and let CE do the complex math.
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Jan 09, 2017 8:13 pm Post subject: |
|
|
Or, just highlight the address, press Ctrl+C, then Ctrl+V and put -4 in the 'Adjust address by' box.
|
|
Back to top |
|
|
fcqgju14156 Newbie cheater Reputation: 0
Joined: 01 Jan 2017 Posts: 18
|
Posted: Tue Jan 10, 2017 3:27 am Post subject: |
|
|
I did
Description: |
|
Filesize: |
1.95 KB |
Viewed: |
8710 Time(s) |
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Jan 10, 2017 8:23 am Post subject: |
|
|
So, as you see, value type is in fact a "double" (double-precision).
4.949999 is close enough to 4.95 I wrote earlier.
Quote: | and replaces recording instructions on NOP |
Highlight first address with 4.94999..., right-click and choose "find out what accesses this address". New window will show up.
Alt-tab from CE, play for a while, go back to CE.
In this new window, there should be instructions which accessed/wrote to the address, highlight first instruction, resize window so we can see everything in top part and bottom part of window, also resize columns. Take a screenshot. Close it.
Highlight second address with 15.94999... and do the same thing. Take a screenshot.
Upload screenshots here.
_________________
|
|
Back to top |
|
|
Filipe_Br Master Cheater Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Tue Jan 10, 2017 8:38 am Post subject: |
|
|
mgr.inz.Player wrote: | So, as you see, value type is in fact a "double" (double-precision).
4.949999 is close enough to 4.95 I wrote earlier. . |
Do you know what a "Double" value is. They do not have only 2 decimal places. They can have much more, twice the amount of a Float.
_________________
... |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Jan 10, 2017 9:07 am Post subject: |
|
|
Filipe_Br wrote: | Do you know what a "Double" value is. They do not have only 2 decimal places. They can have much more, twice the amount of a Float. |
_________________
|
|
Back to top |
|
|
|