Forums » Bugs

Minor cargo screen bug

May 15, 2006 davejohn link
I purchased 1 cu of cargo for 12 cr , moved it to a different station where the buy price was 12 cr/ cu . ( general trade DB updating stuff). In the area of the ship cargo screen where one would normally see a pale green profit or a light red loss value there appeared a very large Number ( 6 digits ) in a dark green colour . Shifting the cargo to station hold cured it .

This is a very minor thing which makes no real differece ( I guess its some sort of rounding error , or a real / integer thing ) deep in the code so don't place any great significance in it : just reporting it for future reference .

Cheers

Ecka
May 15, 2006 mr_spuck link
yeah .. seen that too once. When I carted dyes from the top right station in arta to the tpg station at the top in dau.

Too bad the displayed value isn't the sell price. >:)
May 16, 2006 davejohn link
Hmm, that would just be far too good to be true Mr S.

Ecka
May 17, 2006 raybondo link
Was it actually a very large number or was it just showing too many decimal places?
May 17, 2006 mr_spuck link
this is what is displayed:

1x dyes 5 25576 c (76)

"5 25575 c" is very dark green
May 18, 2006 davejohn link
Yep, exactly as Mr S describes.
May 18, 2006 raybondo link
Oops, ok, i think i found the problem. I was using the wrong hex color code for that case. I wonder why noone ever noticed that before.
Looks like it only happens when the sell price is the same as your purchase price and only in the ship cargo section.
May 18, 2006 davejohn link
Yep, those are the only conditions under which i have seen the bug , Yay another bug squashed .

Cheers Ray

Ecka
May 19, 2006 Cunjo link
Ray, shouldn't the profit/loss in parentheses be the part that's color coded? it gets confusing this way.