Page 1 of 1

[0.15.3] Inserter "Read contents" shows negative value

Posted: Sat Apr 29, 2017 5:41 pm
by Raeon
Hi.

I found a bug when playing around with inserters and the circuit network.

A few short things to note:
  • I do not have any stack inserter upgrades
  • This was tested in vanilla
Description
The inserter reports -1 on pulse (it seems), whereas it should report 1 constantly as long as it is holding an item. When you reconnect the inserter to the circuit network it reports the 1 continuously, as expected.

Demonstration
A short demonstration: https://gfycat.com/HorribleSingleAnophelesmosquito. (Does not include the 'fixing' part.)

Relevant files
Save file: https://www.dropbox.com/s/gewbco8k60eme ... 5.zip?dl=1
Log file factorio-current.log: https://pastebin.com/raw/JfnRYawq

Let me know if you need anything else!

Re: [0.15.3] Inserter "Read contents" w/ Hold pulses negatively

Posted: Sun Apr 30, 2017 2:43 pm
by tcas71
Hello,

Same problem here, I reproduced it in 0.15.5 (build 29304, win64, steam). Here are some additional observations:
  • This problem happens when "read hand content" is set while the inserter hand is holding one or more items.
  • It affects both pulse an hold modes.
  • Pasting network settings from an inserter affected by this issue to another does not seem to keep the behavior; second inserter behaves correctly, but pasting the configuration back to the first inserter does not fix it.
  • Pasting "read hand contents" settings from an inserter unaffected by the count issue to one that is currently holding items does not trigger this behavior.

[15.5] Inserter outputs negative hand content

Posted: Mon May 01, 2017 6:16 pm
by Nofthar
What did you do?
Setup:
- inserter, two chests, small pole, roboport, solar panel
- connect inserter to the power pole with a green wire
- fill the source chest with some items
- the inserter will (very slowly) start moving items from chest to chest. (The roboport is here to slow it down).

Now change the "Hand read mode" from "Pulse" to "Hold" while the inserter is holding items.

What happened?
The inserter sends no signal to the circuit network when it is holding items. On the back swing, it sends the negative number of what it just moved to the chest.

What did you expect to happen instead?
That the circuit network contains the number of items that the inserter is holding.

Merged... -Loewchen

Re: [0.15.3] Inserter "Read contents" shows negative value

Posted: Tue May 02, 2017 12:59 pm
by Twinsen
Thanks for the report.
Fixed in Version: 0.15.7.