I confirm that I have checked if a relevant topic was already created - and it was not.
There are 2 issues with
https://www.torn.com/loan.php
1.
[image: i.imgur.com]
1001 * 0.025 = 25.025
Bad rounding. It can be rounded up to 25.03 but it cannot be rounded up to 26.
Now the 26 is within a range from 1001 to 1040. If you ask me, that's not fair at all.
Solution:
deploy fair percentage calculations and introduce the minimum paid amount (that would be the same for the specified bottom amount taken, for example the same whether 1 or 100 is taken out, and fair percentage afterwards).
2.
[image: i.imgur.com]
This warning comes when returning everything back. Either whether when returning the whole sum in one go, or when returning the very last $ - then this warning is triggered.
It appears that the purpose of this warning is to prevent overpaying (when returning more than taken). However, the new script automatically changes the potentially overpaid amount to the maximum allowed amount (whatever owing is remaining). Therefore, given the present circumstances, this warning message is not relevant anymore.
Not sure if you remember (depending how new the reader is to the game), but in the past (11+ years ago) there was no script that was preventing from overpaying. But also there was no such warning (at first). Now, however, it's a little too much - almost like an overkill.
Solution:
Remove the code from that warning message out of existence.
Kind regards,
JZZ
There are 2 issues with
https://www.torn.com/loan.php
1.
[image: i.imgur.com]
1001 * 0.025 = 25.025
Bad rounding. It can be rounded up to 25.03 but it cannot be rounded up to 26.
Now the 26 is within a range from 1001 to 1040. If you ask me, that's not fair at all.
Solution:
deploy fair percentage calculations and introduce the minimum paid amount (that would be the same for the specified bottom amount taken, for example the same whether 1 or 100 is taken out, and fair percentage afterwards).
2.
[image: i.imgur.com]
This warning comes when returning everything back. Either whether when returning the whole sum in one go, or when returning the very last $ - then this warning is triggered.
It appears that the purpose of this warning is to prevent overpaying (when returning more than taken). However, the new script automatically changes the potentially overpaid amount to the maximum allowed amount (whatever owing is remaining). Therefore, given the present circumstances, this warning message is not relevant anymore.
Not sure if you remember (depending how new the reader is to the game), but in the past (11+ years ago) there was no script that was preventing from overpaying. But also there was no such warning (at first). Now, however, it's a little too much - almost like an overkill.
Solution:
Remove the code from that warning message out of existence.
Kind regards,
JZZ