[Dominik] [0.16.5]Wrong order of techs in tech screen

This subforum contains all the issues which we already resolved.
Post Reply
Bilka
Factorio Staff
Factorio Staff
Posts: 2273
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[Dominik] [0.16.5]Wrong order of techs in tech screen

Post by Bilka » Mon Dec 18, 2017 4:35 pm

Mining productivity 12 and logistic system both take the same science pack types. Mining productivity however takes more time than logistic system and also takes more science packs. So the expected order is: logistic system, mining productivity 12, the current order is the other way around.

To reproduce: Sandbox game, research everything, unresearch the two techs I'm talking about, observe wrong order.

Screenshots (from pre 0.16.0 release but the behaviour is still the same): Image Image
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
riking
Inserter
Inserter
Posts: 32
Joined: Thu May 05, 2016 5:35 pm
Contact:

Re: [0.16.5]Wrong order of techs in tech screen

Post by riking » Mon Dec 18, 2017 6:37 pm

I don't think that's how science is ordered... is it?

Bilka
Factorio Staff
Factorio Staff
Posts: 2273
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.16.5]Wrong order of techs in tech screen

Post by Bilka » Mon Dec 18, 2017 6:44 pm

riking wrote:I don't think that's how science is ordered... is it?
It is. Literally all science that isnt infinitely upgradable follows the order of: Whether it is currently researchable, locked or already researched; then science pack type; then science pack type ratio (1 red, 2 green for example); then time; then amount; then order string; then prototype name.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Dominik
Factorio Staff
Factorio Staff
Posts: 657
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [0.16.5]Wrong order of techs in tech screen

Post by Dominik » Wed Dec 20, 2017 12:02 pm

The current ordering, within same research state category, is 1) most expensive pack used (pack order string), 2) number of packs, 3) technology order string, 4) name.
By this it should indeed have different ordering.

Dominik
Factorio Staff
Factorio Staff
Posts: 657
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik] [0.16.5]Wrong order of techs in tech screen

Post by Dominik » Fri Dec 22, 2017 4:09 pm

The issue was that the sorting was done on prototypes and prototypes of multi-step technologies do not hold any explicit value of pack count, and could not even possibly know it. So now it is calculated from the technologies that have all the current data.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users