[0.12.30] Items lost when resetting assembling machine

This subforum contains all the issues which we already resolved.
Post Reply
Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

[0.12.30] Items lost when resetting assembling machine

Post by Ekelbatzen »

This is probably another non-bug,
but this behaviour seems to be a little annoyance like it used to be with losing science when having uneven lab timings or the newly patched crafting-reset-when-cancelling:

When you put e.g. 20 speed modules 1 in an assembler to craft speed modules 2, 4 are being subtracted for the processing with the other stuff.
Now when you reset the assembling machine recipe while it is still processing, you get the 16 remaining modules back with the other stuff, but 4 are lost in the process.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by bobingabout »

I think I know what you're saying.

In hand crafting, when you cancel a job in progress, you always get the stuff back.
In machine crafting, when you cancel a job in progress, you don't get the resources of the active job back.

Does that sum it up?
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Ekelbatzen »

Yes, that's it.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by bobingabout »

I've never thought of it as a bug before, but it is an inconsistency.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by kovarex »

It is not a bug, it is there by a design.
Consider the bonus production and productivity modules for example, it would be exploitable.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by DaveMcW »

Productivity modules only work on cheap intermediate products, and you probably got more bonus resources before you cancelled the job. So it makes sense to not return items made with productivity modules.

But it is rather harsh to nerf all other recipes too.

testasdf
Inserter
Inserter
Posts: 22
Joined: Thu May 29, 2014 2:40 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by testasdf »

Maybe there should be a button (or shift-click) to reset only when the current item is completed.
Rotating or mining the input inserter, and putting the item held by the insert back into the machine, are the parts being more annoying.

BlakeMW
Filter Inserter
Filter Inserter
Posts: 950
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by BlakeMW »

kovarex wrote:It is not a bug, it is there by a design.
Consider the bonus production and productivity modules for example, it would be exploitable.
I do not understand how it would be exploitable with production bonus, as it should just return the resources actually consumed and ignore the productivity bar progress, that progress should simply be lost with no compensation for the free item(s) you're now not going to get.

Aru
Fast Inserter
Fast Inserter
Posts: 212
Joined: Wed Apr 13, 2016 11:31 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Aru »

I also wouldn't care if there's no compensation for the productivity bar. I can't imagine how you would do that, and it's impossible to do it perfectly in any case, because you can't have fractional items. The bonus bar is just like the bar above it... when you cancel, you don't get compensation for the partially completed crafting, but you should still get the raw materials back. And the bonus bar doesn't consume any raw materials, so it ought to give you none back. While the main bar does consume, and so should give back. I hope that makes logical sense. Not getting these items back, is indeed an annoying inconsistency. The losses really add up over time. When I first noticed it, I thought it was a mistake / bug.

By the way, I think the way the productivity bar is displayed (and the way the productivity modules work) is brilliant. It should allow what I'm saying here to be more understandable.

Foreros
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Jan 09, 2017 11:02 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Foreros »

It can be a "not a bug", but then why, if you pick up the assembling machine you get the full items in progress back and when you delete the recipe the items are lost?
This happen even without any module inserted, so it's not a productivity module related bug...
It happen even on assembling machine 1 and 2 long before you get modules tecnologies.
[I was publishing a new topic not sure if this is the same bug, but after reading it I've decided to add here my thoughts and experiences]

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Smarty »

in both cases you get the items that were in the internal buffer back but if it was crafting something while you pick it up you lose the items it was using to craft

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by daniel34 »

Smarty wrote:if it was crafting something while you pick it up you lose the items it was using to craft
No, when you pick it up you get the items it used for the current craft back and lose nothing. If you reset the recipe instead you lose these items. In my opinion it's not a bug, but an inconsistency.

Example: place down an assembler that crafts speed modules 1 and feed it 20 green and 20 red circuits, wait for it to start crafting.
If you now (during the first craft)
  • pick the machine up: you get 20/20 back
  • reset the recipe in the machine: you only get 15/15 back
kovarex wrote:Consider the bonus production and productivity modules for example, it would be exploitable.
I'm not sure how that would be exploitable. Bonus production is reset when you reset the recipe.
quick links: log file | graphical issues | wiki

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

Re: [0.12.30] Items lost when resetting assembling machine

Post by Rseding91 »

daniel34 wrote:
Smarty wrote:if it was crafting something while you pick it up you lose the items it was using to craft
No, when you pick it up you get the items it used for the current craft back and lose nothing. If you reset the recipe instead you lose these items. In my opinion it's not a bug, but an inconsistency.

Example: place down an assembler that crafts speed modules 1 and feed it 20 green and 20 red circuits, wait for it to start crafting.
If you now (during the first craft)
  • pick the machine up: you get 20/20 back
  • reset the recipe in the machine: you only get 15/15 back
Fixed for 0.15.
If you want to get ahold of me I'm almost always on Discord.

nuhll
Filter Inserter
Filter Inserter
Posts: 923
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by nuhll »

Rseding91 wrote:
daniel34 wrote:
Smarty wrote:if it was crafting something while you pick it up you lose the items it was using to craft
No, when you pick it up you get the items it used for the current craft back and lose nothing. If you reset the recipe instead you lose these items. In my opinion it's not a bug, but an inconsistency.

Example: place down an assembler that crafts speed modules 1 and feed it 20 green and 20 red circuits, wait for it to start crafting.
If you now (during the first craft)
  • pick the machine up: you get 20/20 back
  • reset the recipe in the machine: you only get 15/15 back
Fixed for 0.15.
Why this is then in "not a bug"? Or was this mistake?

Foreros
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Jan 09, 2017 11:02 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Foreros »

Anyway I dont get why you have to lose ingredient when a job is in progress...

Aru
Fast Inserter
Fast Inserter
Posts: 212
Joined: Wed Apr 13, 2016 11:31 pm
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by Aru »

nuhll wrote:Why this is then in "not a bug"? Or was this mistake?
I think when they decide they don't want to fix a clear bug or oversight, then they call it "not a bug". But it looks like they're finally fixing it anyway. Abusing this "not a bug" phrase seems to be counter-productive, meaningless, and causes loss of information by reducing something to an oversimplification. Then it takes years longer to fix something than it really should have, which has an exponential cost in game popularity. ESPECIALLY since this is a bug which hurts new players more than anyone else, and such that they are unlikely to even know what's wrong, but they feel that something is wrong anyway, which hurts their opinions of the game.

BlakeMW
Filter Inserter
Filter Inserter
Posts: 950
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Re: [0.12.30] Items lost when resetting assembling machine

Post by BlakeMW »

I think "not a bug" means "working as intended", as in "we deliberately implemented it to work that way". But there might be a better implementation that is more logical/consistent. You could say that in this case, a fix is not fixing the bug - which never existed - but instead fixing the inconsistency.

In my mind (as a software dev) a bug is when code does something that wasn't intended, the word for deliberately implemented but illogical/inconsistent behaviour would be "issue". There may be no clear boundary between these two especially in the case of manifest behaviour but in this case it surely was a deliberate decision on whether to discard or refund items on recipe change and the code was likely working exactly as intended.

Note that in some cases software might be implemented deliberately in a slightly incorrect way in order to simplify it, thus reducing development time and possibility for bugs.

Post Reply

Return to “Resolved Problems and Bugs”