Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Trade items list mis-sorting  (Read 1040 times)

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Trade items list mis-sorting
« on: November 24, 2007, 12:48:00 am »

The "Trade Goods Available to be Moved" screen presents a sorted list of all tradable items in the fortress.

More than once, I have noticed an item or two that is "out-of-place."

Currently I am looking at an andesite mug that is consistantly placed before bins, even though all of the other mugs are after all of the bins.

In addition, there is an Iron bars in the list of bins, near the end.

This persists over save-and-load, so I can submit a savefile if needed.

This is different than the 3-partition sort of [TRADING], [PENDING], normal.  It occurs even when no items are marked for trade.

Sort errors worry me.

0x517A5D

Logged

Karlito

  • Bay Watcher
    • View Profile
Re: Trade items list mis-sorting
« Reply #1 on: November 24, 2007, 01:09:00 am »

I'm fairly sure that there has never been any kind of sorting mechanism.  If there is then its hopelessly broken.

[ November 24, 2007: Message edited by: Karlito ]

Logged
This sentence contains exactly threee erors.

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Trade items list mis-sorting
« Reply #2 on: November 24, 2007, 04:15:00 am »

Not at all.  Objects are broadly grouped by type.  All of the mugs are together in the list (except, in this bug report, there's one that's out of place), all the food is together, etc.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Trade items list mis-sorting
« Reply #3 on: November 27, 2007, 05:25:00 am »

I think I let a case slip through the comparison function.  Maybe it'll be fine for next time.  Hopefully it's not some larger troubling issue.
Logged
The Toad, a Natural Resource:  Preserve yours today!