[boskid][1.1.33] Do Loaders sleep too long?

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[boskid][1.1.33] Do Loaders sleep too long?

Post by eradicator »

After a loader enters sleep due to a saturated belt it produces a minimal gap on wake-up.
(Yea, sorry for posting a belt gap bug... :oops:)

The circuit stops the belt for 1 tick every 30 ticks.

loadergap2.gif
loadergap2.gif (1.86 MiB) Viewed 3554 times


Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [1.1.33] Do Loaders sleep too long?

Post by eradicator »

Is there some official policy now that "belts are good enough" and gaps are generally not going to be fixed, or was this rejected because it's loader related? It would be rather nice to not have to waste time on writing reports just to have them trashed with no fucks given. I mean, if you can't be botherd to give reasons, then maybe I can't be bothered to play bug report lottery.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

sp55aa
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Mon Oct 07, 2019 9:27 am
Contact:

Re: [1.1.33] Do Loaders sleep too long?

Post by sp55aa »

what do you expect?

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [1.1.33] Do Loaders sleep too long?

Post by disentius »

Some reason why would be nice, and a recognition of the effort involved in reproducing the bug. Just moving it to "won't fix" feels rather dismissive.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [1.1.33] Do Loaders sleep too long?

Post by eradicator »

sp55aa wrote:
Sun Jun 06, 2021 2:40 am
what do you expect?
I expect that - given that we all spent time and effort to report bugs for free, so that they can sell a good game - Wube would at least have the grace to notify the community if some classes of bug reports are generally not appreciated. This is imho the least they should do to stop wasting everybodys time (including their own). I don't even personally care about belt gaps. But I spent half an hour on finding, reproducing and filing a proper report anyway. Hoping to help. If this help isn't wanted/needed/appreciated then why not just say so? Anything is better than silence. There's even a Known Issues pinned topic just for this. But I see nothing there related to this report. I'm sick of having to try to read the devs mind on what might or might not - to them - be a "worthy" bug to fix. So I'd rather stop writing reports at all that don't directly affect me or my mods.

I don't have any grudges. I hear Corona has hit Czech pretty hard - hope everyone is alright. So I'm sure everyone is not in their best mood. As am I. So I just want to not waste time and effort.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][1.1.33] Do Loaders sleep too long?

Post by boskid »

I have no idea what was the reason behind moving this bug report to wont fix. Just in case i decided to look at this behavior and i found why it was leaving a gap. This behavior was because loader registers as a sleeper which is a "sideloading" interaction and this has some consequences for when entities are being woken up: all sideloading iteractions are only woken up when there are gaps on the belt. This makes sense to not wakeup inserters and mining drills when belt is full as it would have quite huge performance impact. In this particular case the condition for having gaps was not triggering even when there was a gap because the condition works under an assumption that there may be a direct input belt which will add some items onto the belt which will fill all the gaps. This condition is based on the current belt speed and designed items spacing but it was not accounting for a case when there is no direct input belt. Since it is not possible for an output loader to have a direct input belt, this condition was kind of wrong as there was no direct belt that could, even in theory, fill those gaps. So i made some small changes into the transport lines logic which will wakeup side interactions when belt has no direct input and there is a sufficient gap on the back of the belt. This may also change belts behavior in some other cases, like waking inserters a tick earlier, mainly when they are dropping directly onto a first belt which has no direct input.

I think this is fixed for 1.1.35.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [boskid][1.1.33] Do Loaders sleep too long?

Post by eradicator »

boskid wrote:
Sun Jun 06, 2021 1:56 pm
Just in case i decided to look at this behavior and i found why it was leaving a gap.
I think this is fixed for 1.1.35.
I am glad for all the people who actually care about belt gaps. I think you deserve at least a heartfelt "thank you".
boskid wrote:
Sun Jun 06, 2021 1:56 pm
I have no idea what was the reason behind moving this bug report to wont fix.
But,... at this point I'm not quite in the mood to pretend that this makes everything alright.

I wish everyone a nice day anyway.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [boskid][1.1.33] Do Loaders sleep too long?

Post by disentius »

Thanks Boskid! :D

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [boskid][1.1.33] Do Loaders sleep too long?

Post by eradicator »

boskid wrote:
Sun Jun 06, 2021 1:56 pm
PS:
Oh, and I forgot to mention that I do very much enjoy reading the detailed technical explanations that you always give. Even when you're just explaining why something can't be done. It's a service that not all devs bother with and gives a feeling that you don't think of the community as just a bunch of numbers on the quarterly financial report.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Resolved Problems and Bugs”