[0.17.34] Using upgrade planner if upgrading more than 601 items of a given type, alerts continue to show 601 remaining

Bugs that are actually features.
Post Reply
cemeyer2
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Apr 27, 2019 3:16 am
Contact:

[0.17.34] Using upgrade planner if upgrading more than 601 items of a given type, alerts continue to show 601 remaining

Post by cemeyer2 »

Using upgrade planner, if upgrading more than 601 items of a given type, alerts continue to show 601 remaining

To reproduce:

Make 800 red belts.
Use an upgrade planner to upgrade red to blue.
Select all 800 belts and upgrade them.
Notice the alerts is only showing 601 belts to upgrade until > 200 have been upgraded from red to blue, then the count will start to decrease

In the screenshot attached, i have selected over 2k belts to upgrade but the alert count is stuck at 601
Screen Shot 2019-04-26 at 22.15.02.png
Screen Shot 2019-04-26 at 22.15.02.png (12.75 MiB) Viewed 654 times
Attachments
factorio-previous.log
(9.73 KiB) Downloaded 31 times
factorio-current.log
(9.17 KiB) Downloaded 33 times

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: [0.17.34] Using upgrade planner if upgrading more than 601 items of a given type, alerts continue to show 601 remain

Post by DaleStan »

For performance reasons, Factorio only checks a limited number of ghosts per tick. I'm going to bet that it's supposed to be 600 ghosts, but there's a fencepost error.

Do you see the same behavior if you copy and paste 800 blue belts?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13219
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.34] Using upgrade planner if upgrading more than 601 items of a given type, alerts continue to show 601 remain

Post by Rseding91 »

Thanks for the report however that's not a bug. The game checks 1 ghost per tick and if it fails to find what it needs makes an alert. The alert times out after some number of ticks (600) and so you see 600 alerts + 1 checked that tick (601 alerts).
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”