Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more accurate time remaining in build and research queues #1014

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Nov 26, 2023

Fixes #1004

In order to test this, one should enable "No Queue Order" and "No Research Queue Order", and set "Queue Merging" to "Never Merge". When adding two of the same item to the build queue, this change makes the time remaining on the second item more accurate. Also, when two queue items both consume the same resource (eg, University and Bank need Stone), then the item in the queue which would finish second has its time extended to account for the item finishing first using up that resource. This also works for the research queue.

There is an unhanded edge case here: the two queues are independent, so if an item in the research queue and the build queue both require the same resource (eg, Money) then neither item will take this into account, so at least one item will have a misleading time shown.

@fredden fredden force-pushed the build-times-when-no-queue-order-no-merge branch 3 times, most recently from 3a7d9a7 to 41d7f2f Compare November 26, 2023 22:57
@fredden fredden changed the title Show more accurate time remaining in build queue Show more accurate time remaining in build and research queues Nov 26, 2023
@fredden fredden force-pushed the build-times-when-no-queue-order-no-merge branch from cc54c18 to 24083be Compare May 11, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] Completion times in the build queue are misleading when "no queue order" is enabled
1 participant