FortressCraft Evolved

FortressCraft Evolved

Advanced Logistics Hopper
47 Comments
ack_ptbhbhbhb 12 Jul, 2020 @ 7:52am 
What would be ideal IMHO would be to modify all existing machines so that conveyors can directly add ingredients & remove items. Essentially add a "virtual hopper" that only accepts in the required items (and is "full" when it has enough) and only allows for extraction of the crafted item. If the current behavior of also searching nearby hoppers also remains, then we could finally chain together machines that look like conveyors as if they were conveyors.

That disconnect between "it looks like a conveyor" and "it doesn't at all act like one!" has always bothered me.
ack_ptbhbhbhb 12 Jul, 2020 @ 7:51am 
This is complicated, and I'm afraid it's not at all what I was really looking for in an advanced hopper.

1. Uses older crafting ingredients - it should use charged coils and copper wires, not copper PCBs and Charged PCBs, to fit in with the simplification of crafting ingredients that was done in patch... 20? Something like that.

2. Doesn't actually meet my needs, as I can't put it between my MK4 and MK5 powercore chargers without the MK5 feeding backwards into it.

Mad Vandal  [author] 26 Aug, 2018 @ 5:05pm 
Was the mod enabled on the world screen mod settings?
Mod machines appear on the bottom the mfg plant list.
tetkris 26 Aug, 2018 @ 10:17am 
i can not find this hopper in game ? i have done all resarches
Mad Vandal  [author] 12 Apr, 2018 @ 7:28pm 
mxforlife - When pull demonimantion is zero then it should so that would be a bug. Will check tommorrow.
mxforlife 12 Apr, 2018 @ 6:15pm 
With the normal hoppers you can pull 10 items from the UI by holding down Shift and 1 by holding down CTRL. But with these I can't get that to work. Any chance of having that implemented?
Mad Vandal  [author] 28 Jul, 2017 @ 7:00pm 
waabshesi - No, a limitation in the interface API prevents that.
waabsheshi 27 Jul, 2017 @ 8:47pm 
Is there any way the per-facet locking could be changed to per-facet permissions? It would be nice to be able to insert one of these directly between two machines.
jlp1528 (Minty) 23 Jun, 2017 @ 7:27pm 
huh ok no problem then
thx 4 fix! :steamhappy:
Mad Vandal  [author] 23 Jun, 2017 @ 7:09pm 
jlp1528 - Based on user feedback, discussion, and complaints long ago, it was settled to have it work off a power rate of 5ppi.
jlp1528 (Minty) 23 Jun, 2017 @ 7:01pm 
Cool. Might also want to change it from 5 to 10 power per item, as the current description of the vanilla motorized conveyor is wrong and it is actually 10. That is, assuming you did base it on the vanilla motorized conveyor... right???
Mad Vandal  [author] 23 Jun, 2017 @ 6:52pm 
jlp1528 - It looks like the consumer check for a neighboring consumer interface machine doesn't correctly determine if the consumer actually pulled an item in adjusting power. Patch coming that should hopefully resolve this.
jlp1528 (Minty) 22 Jun, 2017 @ 3:21pm 
Minor bug - MK2 uses power when placed next to spiderbot docking bay even when not actually pushing items. May actually be vanilla bug, will talk with steveman0 and others in Discord about it.
SmokesMagee 11 Jun, 2017 @ 5:14am 
;( ok
Mad Vandal  [author] 11 Jun, 2017 @ 3:56am 
StokesMagee - The extraction lock only works against vanilla conveyance machines due to an unfortunate limitation with the game API.
SmokesMagee 10 Jun, 2017 @ 5:26am 
The advanced logistics hopper does not seem to lock extraction for a stockpile lift. it seems to take out of the logistics hopper, even though the side is locked.
PhxAs5As5in 16 Mar, 2017 @ 8:28am 
Yea I want to do that but my setup doesn't provide for the extra power right now. When I redesign my mining ops I'll definitely go with that. I do use one upside & it works great. Thx for the info.
Mad Vandal  [author] 15 Mar, 2017 @ 8:09pm 
Revenge - In that case try the Mk2. It requires power and operates like a hopper version of the motorized conveyvor and will push to every output on each pass. This would likely keep the inventory below maximum enough for the 2 inputs to get in better.
PhxAs5As5in 14 Mar, 2017 @ 10:58pm 
I get it - unfortunately this is for +80m transport so those won't work for me. Thx.
Mad Vandal  [author] 14 Mar, 2017 @ 5:54pm 
Revenge - Unfortunately there isn't much else that can be done because of how the FC storage machine interface works. Item insert is done by the inserting macine calling the interface, not by the hopper's LFGP thread call, so the hopper cannot evenly regulate it. Storage machines, and the storage macihne interface used for modding, were not designed to be used for controlled distribution. Hence why there is the turnable, zipper merge, and the Distribution Splitter Mod.
PhxAs5As5in 14 Mar, 2017 @ 5:23pm 
Just tried - now it pulls from the LEFT side (facing front) on a 5-1 ratio when full - ie it pulls 5 from left then 1 from right.
PhxAs5As5in 14 Mar, 2017 @ 1:47pm 
Thx - I'll give it a go tonite.
Mad Vandal  [author] 14 Mar, 2017 @ 1:15pm 
Revenge - This has been patched to help somewhat to work more like a vanilla hopper. There can still be cases where this occurs, and I was able to set this same scenario up with a standard in-game vanilla hopper as well using two inputs and one output. If you need to guarentee an even flow with two inputs and two outputs, the Distribution Splitter mod would be better suited. It can do fast merge/split operations with priority and overflow options.
Mad Vandal  [author] 14 Mar, 2017 @ 12:34pm 
Revenge - I was able to get it setup now...if one input has a fully saturated pipe flow and hopper is full the other inputs don't get a shot. I'll have to adjust the input round-robin.
PhxAs5As5in 14 Mar, 2017 @ 10:53am 
Capacity 100, allowed All or just rfon, left & right - doesn't matter - I'll do some more tests tonite trying different configurations but the error occurs every time for me. I even tried it in different locations with the same results. I could post a screenshot if my expalanation isn't claer.
Mad Vandal  [author] 14 Mar, 2017 @ 4:57am 
Revenge - I can't reproduce this on default settings...what settings do you have for capacity or allowed convey?
Mad Vandal  [author] 14 Mar, 2017 @ 3:30am 
Revenge - I'll need to do some tests and code adjustments for output ordering.
PhxAs5As5in 13 Mar, 2017 @ 8:18pm 
By the way it's on the MK1 - haven't tried MK2 in the setup yet.
PhxAs5As5in 13 Mar, 2017 @ 7:51pm 
Ok there is definitely something wrong. The error occurs ewhen the hopper gets full. Until then it works fine, But as soon as the hopper fills, the left side (facing front) stops. It only pulls from the right side after that - using pipe. on three sides - front out - right, left in.
PhxAs5As5in 12 Mar, 2017 @ 10:10am 
Never mid - I just reloaded the game & tried it again & now it works!
PhxAs5As5in 12 Mar, 2017 @ 10:04am 
                         conveyor right
                                 ^^
                                  |
single line in>>back-hopper-front>>converyor out
                                  |
                                 """
                          conveyor left

Output only goes left (sorry) even tho fron, back, left, right are allowed.
Mad Vandal  [author] 12 Mar, 2017 @ 4:55am 
Revenge - What is on the right side? Conveyor/pipe? The readout on the hopper is the front. To get around a limitation of the storage API, this device sets a flag that may stop some machines from being able to extract from it regarless of the settings. If there is a device that doesn't work I'll need to patch for it.
PhxAs5As5in 11 Mar, 2017 @ 12:22pm 
I have 1 line incoming (back) & 3 outgoing but it won't send anything to the right side. Will this not work for 3 way split?
Skiark 4 Mar, 2017 @ 5:52pm 
What would be really useful would be to allow only a maximum number of specific items, which would be a blessing with those manufactured items that required 5 different items to make
Mad Vandal  [author] 18 Dec, 2016 @ 4:56am 
Patched for slot removal bug.
Mad Vandal  [author] 17 Dec, 2016 @ 8:19pm 
Vesuvious - Thanks for the info. I'll look into this.
Vesuvius 17 Dec, 2016 @ 6:13pm 
Ok so far it is only item made from smelted ores ... and ruin phospherecent. :/
Vesuvius 17 Dec, 2016 @ 6:07pm 
also its only if im transfering from the hopper inv to my inv using left click with thier inventories open
Vesuvius 17 Dec, 2016 @ 6:06pm 
it only seems to happen with manufactured items ... bars/wires/coils etc and the single item that goes to my inv can not be put back into the hopper
Vesuvius 17 Dec, 2016 @ 6:02pm 
im going back ingame now to see if it happens again
Mad Vandal  [author] 17 Dec, 2016 @ 5:34pm 
Vesuvious - No, the default is zero so the feature is off. I'm trying to recreate what your seeing.
Vesuvius 17 Dec, 2016 @ 5:09pm 
do i need to change the hooper settings off the default?
Vesuvius 17 Dec, 2016 @ 5:09pm 
i havent changed any settings on them. none are left in the hopper and only 1 goes to my inv
Mad Vandal  [author] 17 Dec, 2016 @ 5:02pm 
Vesuvios - What is your transfer denomiation set to? How many are left in the hopper?
Vesuvius 17 Dec, 2016 @ 2:23pm 
Has something changed? i just tried out this mod.... when manualy removing matts from the storage hopper it turns the stack to size to 1 .... eg: 24 coils became 1 coil in my inv.
Mister Franko 15 Dec, 2016 @ 2:18am 
Another annoyance in Fortresscraft rectified with a solid mod. Nice job.
Demerzel 14 Dec, 2016 @ 11:04pm 
Cool, big suprise.