Roboports should output missing materials to circuit network / Roboports emit signals with missing blueprint items

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Roboports should output missing materials to circuit network / Roboports emit signals with missing blueprint items

Post by Adil »

Roboports are currently capable of counting items in chests covered by their network and putting those contents to circuit network. It would be nice if they could also output negative valued signals for items that are missing for construction. (i.e. there is a ghost entity within the network and there's no item to place it)
Last edited by ssilk on Sat Jan 22, 2022 6:11 am, edited 1 time in total.
Reason: Changed title
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by ssilk »

... and for requested items by requester chest or player(s).

The good question is: should that be part of the current signal-flow, that outputs the current contents?
Or should be separate? A signal flow for requested items and one for existing. Hm......
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
Deadly-Bagel
Smart Inserter
Smart Inserter
Posts: 1498
Joined: Wed Jul 13, 2016 10:12 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Deadly-Bagel »

The answer to that question is another question, can a Decider output only signals that meet a condition? Say if you can set [Any] < 0 (output [Any]) and have it output only signals that have a value of less than 0 then you have an easy gate for filtering out only the items you want to see.

Though either way I think it should probably be combined with the regular logistics contents. I don't see any way for the two to interfere with each other, demand is checked by looking at negative figures while storage is positive. I can't think of any situation you would (or even could) check that a signal is present but not care if it's above or below zero.
Money might be the root of all evil, but ignorance is the heart.

Yoyobuae
Filter Inserter
Filter Inserter
Posts: 499
Joined: Fri Nov 04, 2016 11:04 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by Yoyobuae »

Deadly-Bagel wrote:The answer to that question is another question, can a Decider output only signals that meet a condition? Say if you can set [Any] < 0 (output [Any]) and have it output only signals that have a value of less than 0 then you have an easy gate for filtering out only the items you want to see.
That would be:
(EACH < 0) -> EACH

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Optera »

It would be really nice if roboports had a way to output ghost and requested items.

Either by sending negative numbers alongside network content
Pro:
needs only one connection to a roboport to check what's missing from the network
Con:
available items will be added to requested so not all requests will be visible

or a 3rd radio button toggle "read Logistic Network Requests"
Pro:
dedicated output can use positive numbers for requests and shows all requests regardless if they will be fulfilled within the network
Con:
needs 2 roboports, one with each*-1 at the output (UPS drain when used excessively) to filter requests requiring delivery/production

Personally I prefer the 2nd option as it's a lot more versatile and the UPS drain should be negligible.

Lemlin
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Thu Mar 17, 2016 10:25 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Lemlin »

Are you sure that it´s not possible to get a negative number right now?
I remember an old save with a smart furnace, and I had negative numbers at one point. Could be a result of my combinator setup, but I´m not sure and the save is deleted.

EDIT: Roboport does output negative numbers right now, but I´m not sure what they represent. Maybe the difference between produced and consumed.
Image

Yoyobuae
Filter Inserter
Filter Inserter
Posts: 499
Joined: Fri Nov 04, 2016 11:04 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by Yoyobuae »

@Slimey: But that's for logistic robots requests. OP is talking about items missing for contruction robots (ie. building which are still ghosted). Guess somewhere along the line discussion switched to logistic bot requests.

Maybe the roboports should have a logistics mode (how it works now) and a contruction mode (which works like OP wants).

aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by aober93 »

A roboport outputs negative items if they are in transit or by something this can be read somewhere. This is tolerated because 1. its true . 2. who cares.

Lemlin
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Thu Mar 17, 2016 10:25 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Lemlin »

But why do you need an signal for missing items?
You can see that when you hover the mouse over the triangle warning/notification. Both the stuff an the amounts are listed there.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Optera »

Slimey wrote:But why do you need an signal for missing items?
You can see that when you hover the mouse over the triangle warning/notification. Both the stuff an the amounts are listed there.
So you can automate production/shipment of missing items.

aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by aober93 »

Optera wrote:So you can automate production/shipment of missing items.
Uhhh right??! I suppose you havent put a thought into that sentence at all. I think the devs dont hear you if this is a solution to all the problems.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Optera »

aober93 wrote:
Optera wrote:So you can automate production/shipment of missing items.
Uhhh right??! I suppose you havent put a thought into that sentence at all. I think the devs dont hear you if this is a solution to all the problems.
Perhaps you should adhere your own advice and think before posting.
Factorio is a game about automation. Without feedback you simply can't create any form of control circuit.

gridstop
Inserter
Inserter
Posts: 44
Joined: Sun Jul 17, 2016 1:46 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by gridstop »

I'll jump on this one and say this is a feature I would love too. It would make it possible to do on-demand production without excessive buffering everywhere (buffering in chests, buffering in cargo wagons, etc...)

Perhaps a checkbox for 'include missing construction items in unsatisfied requests' would just make it appear as if the ghosts were being requested by an imaginary requester and it would show up rolled into the same count of missing requests.

And I will agree it probably needs to be separate from the normal logistics items count, because A) People might be using that number in particular ways and we don't want to break existing builds by feeding them negative numbers and B) in-flight logi bots sometimes make negative numbers show up and we don't necessarily want to start producing those items. (Do those negative numbers come from logi bot carrying capacity being pre-subtracted from the total once the bot is in flight? I've noticed it goes negative when I'm production starved.)

mattj256
Fast Inserter
Fast Inserter
Posts: 203
Joined: Sun Mar 27, 2016 7:25 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by mattj256 »

gridstop wrote:I'll jump on this one and say this is a feature I would love too. It would make it possible to do on-demand production without excessive buffering everywhere (buffering in chests, buffering in cargo wagons, etc...)
I don't see why this is a good idea. It's not that hard to keep a small buffer on hand, have a resupply train that visits periodically, etc. Yes there will be buffering but it's easy enough to make the buffers small enough that that won't meaningfully affect the performance of a midgame factory. Perhaps if you supplied an example?

gridstop
Inserter
Inserter
Posts: 44
Joined: Sun Jul 17, 2016 1:46 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by gridstop »

It's not about performance it's about being able to see what's being requested/demanded and react to it, regardless of whether you had the foresight to setup production of every single item in the game. After you've built like 20 'make everything in the game and buffer a chest of each' factories it gets a little boring and you want to try different things.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roboports should output missing materials to circuit network

Post by ssilk »

I think it is important to have different outputs:
- Items in providers (storage, active, passive) are already supported...
- Missing in logistic network requester chests.
- Missing for construction (ghosts). Deconstructed items count negative.
- Missing for personal request slots. Items in trash slot count negative.
- Items loaded into logistic robots/"on the way"
- Items loaded into construction robots/"on the way"
- Items on belts.
- Items in inserter hands.
- Items in devices input.
- Items in devices output.
- Items on ground.
- Immoveable entities on ground (devices, trees).
- Moveable entities (Player, Enemies, Vehicles).
- Resources on ground.

Most of that numbers needs not to be up to date at every tick. And it is not quite clear, what "range" is: Is it the logistic area or the construction area? That depends eventually. But they could be super practical for some states, like "My belts are full with iron ore, I can switch off the iron mines". "The player is in range of this logistic network, change production prioritization!" ...
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Engimage
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Jun 29, 2016 10:02 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by Engimage »

The feature is really nice.

So for roboport circuit network output two checkboxes could be added:
1. Account unsatisfied construction requests
2. Account unsatisfied logistic requests

By unsatisfied I mean that there are no bots currently in progress of carrying the item to its destination.

mattj256
Fast Inserter
Fast Inserter
Posts: 203
Joined: Sun Mar 27, 2016 7:25 am
Contact:

Re: Roboports should output missing materials to circuit network

Post by mattj256 »

PacifyerGrey wrote: By unsatisfied I mean that there are no bots currently in progress of carrying the item to its destination.
If a request is unsatisfied, that could mean the item isn't available or there aren't enough construction/logistic robots. It's important to be able to distinguish between these two cases.

mrzorn
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Mar 03, 2017 1:19 pm
Contact:

Roboport Circut Output: +Available -Demand

Post by mrzorn »

Edit:

Wups
viewtopic.php?f=6&t=39474&p=251161&hili ... rt#p251161

----
Hi there!

I have this brainchild I'm thinking about since a few weeks. I want to setup a train for my outposts to supply my roboports there, outside of the reach of the "Mainbase"-Network, with the Items that are requested locally.

As far as I can see there is no way to read from a Roboport what is currently "missing" within the network.

So if it would be possible to Output from a Roboport with wire not only the Items that are available but also the Items that are currently requested (via chests or blueprints) with a negative value.

I would think the result to be like this:

Yell. Belt: + (In store 100) - (Need 00) = Output + 100 Yellow Belt
Red Belt: + (In store 050) - (Need 20) = Output + 30 Red Belt
Blue Belt: + (In store 000) - (Need 10) = Output - 10 Blue Belt
Factorio showed me my german passion for perfectly working systems.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roboport Circut Output: +Available -Demand

Post by ssilk »

Joined with the other thread.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Ideas and Suggestions”