| View previous topic :: View next topic |
| Author |
Message |
elsword Cheater
Reputation: 0
Joined: 05 Apr 2013 Posts: 26
|
Posted: Tue Nov 19, 2013 3:22 am Post subject: value meaning |
|
|
hello , today i encountered this kind of value in Float type
1.401298464E-45
or
7.006492322E-45
or
4.600057191E-29
i really want to know what it means ( it's not 1.4 or 7.0 or 4.6 like other normal Float values i have seen )
while 1.4000000111 = 1.4 so what does 1.401298464E-45 mean ?
thanks
|
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Tue Nov 19, 2013 3:40 am Post subject: |
|
|
Here we're talking about the exponential notation.
| elsword wrote: | | 1.401298464E-45 |
This would equal 1.401298464*10^-45.
The key part is the underlined number.
To ease your calculating => just move the dot 45 positions to the left and you got your result. If it would be a positive 45 you'd have to move the dot 45 positions to the right.
|
|
| Back to top |
|
 |
elsword Cheater
Reputation: 0
Joined: 05 Apr 2013 Posts: 26
|
Posted: Tue Nov 19, 2013 3:49 am Post subject: |
|
|
cant say i understand , im sux at math
is it possible to convert this type of value to percentage ?
here is an example : when i equip this particular ring it will grant me 11% chance to deal x2 damage each attack , here is the value
2.382207389E-44
i wonder how this is related to 11%
|
|
| Back to top |
|
 |
Zaladine Expert Cheater
Reputation: 3
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
|
Posted: Tue Nov 19, 2013 3:57 am Post subject: |
|
|
It could be that the value data-type wasn't a float at all. Maybe it was a
byte, word, double word, or even a double (8 bytes float number).
There was once that in a casual game, however, even the simplest thing
used coded value to prevent basic game hacking...
In such condition, i'd prefer to browse the address region in memory view
window, and try to figure it out by common data-types: 1 byte, 2 bytes,
4 bytes, 8 bytes. If it still not make a sense, then we would need to debug
the value to see how the game coded it...
_________________
... to boldly go where no eagle has gone before ... |
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Tue Nov 19, 2013 3:58 am Post subject: |
|
|
Well, it's less math then you probably think
It's a very pleasant kind to display very huge or small numbers.
Here's an example with a smaller exponent (the number behind the E):
1.337E-5
So your exponent is -5, which just tells you to move the dot 5 positions to the left. Your result is:
0.00001337
|
|
| Back to top |
|
 |
elsword Cheater
Reputation: 0
Joined: 05 Apr 2013 Posts: 26
|
Posted: Tue Nov 19, 2013 4:04 am Post subject: |
|
|
thanks i understand now
still cant figure how to find the correct address, i will try to research more , percentage sure is annoying
|
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Tue Nov 19, 2013 4:19 am Post subject: |
|
|
Good.
Finding the right address can really take a long time. Patience is required.
In my opinion: Don't focus on the percentage value. You've to find your base value (where the game will add the 11% on). If you found that you can find out what writes to this address and then you should be able to find the percentage value.
Example:
Your basic mana is 50. Then you find a ring, that increases your mana by 6%. Now you wear it and your mana increases to 53.
If you had the "Find out what writes to this address" attached to the basic address of your mana, you really should be able to find the percentage value of the ring, that increased your mana.
|
|
| Back to top |
|
 |
elsword Cheater
Reputation: 0
Joined: 05 Apr 2013 Posts: 26
|
Posted: Tue Nov 19, 2013 8:26 pm Post subject: |
|
|
oh, im learning to use CE that's why i want to search any kind of address with different methods it's like homework for me
|
|
| Back to top |
|
 |
|