#5605 closed defect (fixed)
Unrecognizable trade resources and loot resources due to missing rounding
Reported by: | bb | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 24 |
Component: | UI – In-game | Keywords: | regression |
Cc: | Patch: |
Description
In the following replay at r22967 on minute 27 some blue traders say to have 488749619 metal on their carts. This obviously shouldn't be possible.
Attachments (2)
Change History (5)
by , 5 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 5 years ago
Keywords: | regression added |
---|---|
Milestone: | Backlog → Alpha 24 |
Priority: | Nice to Have → Must Have |
Summary: | Too large trade → Unrecognizable trade resources and loot resources due to missing rounding |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
by , 5 years ago
Attachment: | commands.zip added |
---|
Replay of unknown revision (but was the most recent at the time of the timestamp) where loot in the summary screen was equally bonkers, probably the trade cart loot.
comment:3 by , 5 years ago
Trade issue fixed in r23016.
Fractional loot since r14247, visible with 0ad templates since r21128, still applies, see https://code.wildfiregames.com/D2327#97846.
Note:
See TracTickets
for help on using tickets.
At minute 13 one can see such a trade cart too.
The number is fractional, whereas previously it wasn't so. So the number 488749619 are just the last digits of the number, the numbers before the
.
are not shown.This applies to the ingame trade resources tooltip and to the summary screen trade and loot.