[MOD 1.1] Inventory Sensor
Re: [MOD 0.14/0.15] Inventory Sensor 1.4.11
Would you please post a blueprint string for the car loader? I'm trying to wrap my brain around circuit networks and I think looking at your setup would be very helpful.
Thanks!
Thanks!
Re: [MOD 0.14/0.15] Inventory Sensor 1.4.11
Here's my most recent design. The wires are a mess since I moved the combinators around to fit a car.axxiz144 wrote:Would you please post a blueprint string for the car loader? I'm trying to wrap my brain around circuit networks and I think looking at your setup would be very helpful.
Thanks!
blueprint
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.4.11
Thanks! I really appreciate it
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.0
Version 1.5.0 - good bye config.lua
I finally got to move all settings from config.lua to mod settings.
- Inventory update interval (ticks) manages how often inventories are updated.
Higher values will greatly improve performance at the cost of responsiveness.
- Entity scan interval (ticks) manages how often for new entities is scanned.
Doesn't affect sensors linked to static entities like assemblers. Again higher values will improve performance at the cost of responsiveness.
- Don't mess with Scan Offset and Scan Range unless you can troubleshoot yourself. The default values are set to ensure vanilla train cars are properly detected when sensors are placed at their corners.
I finally got to move all settings from config.lua to mod settings.
- Inventory update interval (ticks) manages how often inventories are updated.
Higher values will greatly improve performance at the cost of responsiveness.
- Entity scan interval (ticks) manages how often for new entities is scanned.
Doesn't affect sensors linked to static entities like assemblers. Again higher values will improve performance at the cost of responsiveness.
- Don't mess with Scan Offset and Scan Range unless you can troubleshoot yourself. The default values are set to ensure vanilla train cars are properly detected when sensors are placed at their corners.
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
Version 1.5.1 - boosting performance
Rewrote on_tick to use a system similar to LTN resulting in 8% better performance during benchmark.
On a test save with 120 sensors it reduced avg time in a 10k cycle from 4636.686ms to 4291.02ms.
Rewrote on_tick to use a system similar to LTN resulting in 8% better performance during benchmark.
On a test save with 120 sensors it reduced avg time in a 10k cycle from 4636.686ms to 4291.02ms.
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
I've been holding off on it, but now I'll give it a try and report back.
Regards,
~B
Regards,
~B
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
Re: [MOD 0.13/0.14] Inventory Sensor 1.1.7
And send that guy a take down notice. (L)GPL does not allow anyone to ignore the copyright. Your copyright notice has to remain or it is violating the license and is illegal. Someone who ignores licenses doesn't care what license you use. So please don't change your license because some asshole is ignoring it.steinio wrote:WTF?Optera wrote:Thanks for the flowers.
The reason why I changed the license is simple. Someone re-branded LTN and re-hosted it on the mods page as his own creation. (without asking ofc, as (L)GPL allows forgoing any form of manners apparently)
I always liked open source, but I also like to get credit for my work, so I pulled the plug and will only release projects where I sink countless hours into under licenses preventing re-hosting or re-branding.
Sorry for that.
Stupids are everywhere around.
Please keep on your good work.
Those of us that care about licenses very much do care.
Re: [MOD 0.13/0.14] Inventory Sensor 1.1.7
1) Don't necro posts from half a year ago.mrvn wrote:And send that guy a take down notice. (L)GPL does not allow anyone to ignore the copyright. Your copyright notice has to remain or it is violating the license and is illegal. Someone who ignores licenses doesn't care what license you use. So please don't change your license because some asshole is ignoring it.steinio wrote:WTF?Optera wrote:Thanks for the flowers.
The reason why I changed the license is simple. Someone re-branded LTN and re-hosted it on the mods page as his own creation. (without asking ofc, as (L)GPL allows forgoing any form of manners apparently)
I always liked open source, but I also like to get credit for my work, so I pulled the plug and will only release projects where I sink countless hours into under licenses preventing re-hosting or re-branding.
Sorry for that.
Stupids are everywhere around.
Please keep on your good work.
Those of us that care about licenses very much do care.
I'm happy with my custom restrictive license model and won't switch back to open license. If you want to use IS or LTN in a commercialized stream I can amend that.
2) (L)GPL, MIT and so on are copyleft licenses.
These licenses allow anyone to use, modify and redistribute your work as long as the license itself remains the same. I think they don't even require you to mention the original author.
My Mods: mods.factorio.com
Re: [MOD 0.13/0.14] Inventory Sensor 1.1.7
The original author still holds the copyright and you may not remove their copyright notices (a license only means anything in the context of a specific named copyright holder granting that license to you), but nothing obliges you to mention the original author' name anywhere other than in the copyright notices (which in a Factorio mod are only going to be in the code, not visible in the UI or mod portal).Optera wrote:2) (L)GPL, MIT and so on are copyleft licenses.
These licenses allow anyone to use, modify and redistribute your work as long as the license itself remains the same. I think they don't even require you to mention the original author.
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
Optera:
???abordoli wrote:Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
Configure? Bottom and Top edge?abordoli wrote:Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
IS comes perfectly configured to find any entity on the tile in front of it. The 0.2 offset left and right is only needed to make it work on the corners of locomotives and wagons.
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
I see. Shame that it can't sense S, E, & W as well as N, though. Oh, well.Optera wrote:Configure? Bottom and Top edge?abordoli wrote:Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
IS comes perfectly configured to find any entity on the tile in front of it. The 0.2 offset left and right is only needed to make it work on the corners of locomotives and wagons.
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
You can rotate it like any other entity.abordoli wrote:I see. Shame that it can't sense S, E, & W as well as N, though. Oh, well.Optera wrote:Configure? Bottom and Top edge?abordoli wrote:Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
IS comes perfectly configured to find any entity on the tile in front of it. The 0.2 offset left and right is only needed to make it work on the corners of locomotives and wagons.
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.1
Ah, thxs!Optera wrote:You can rotate it like any other entity.abordoli wrote:I see. Shame that it can't sense S, E, & W as well as N, though. Oh, well.Optera wrote:Configure? Bottom and Top edge?abordoli wrote:Really liking the "Inventory Sensor" and what it brings to my circuit network.
I was wondering. How do you configure it to both sense entities from their bottom edge as well as the top edge?
Regards,
~B
IS comes perfectly configured to find any entity on the tile in front of it. The 0.2 offset left and right is only needed to make it work on the corners of locomotives and wagons.
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.2
I really like how the "Inventory Sensory" beneath a "Rocket Silo" gave the "%" (1-100) as each hundred build stages were progressing!
It seems though, that once it got to 100 and began building the next rocket, the percent did not reset and it remained at 100.
Is this to be expected or is their something constraining the craft % from resetting?
Regards,
~B
It seems though, that once it got to 100 and began building the next rocket, the percent did not reset and it remained at 100.
Is this to be expected or is their something constraining the craft % from resetting?
Regards,
~B
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.2
Silo progress is updating as intended
It will remain at 100% until the rocket is launched. New rockets are not built while one is ready. Progress toward the next rocket can only come from productivity modules.
It will remain at 100% until the rocket is launched. New rockets are not built while one is ready. Progress toward the next rocket can only come from productivity modules.
My Mods: mods.factorio.com
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.2
Update: It happened all the way during the 2nd rocket's entire build, BUT after it launched it did reset so no biggie. All is fine now.
-
- Long Handed Inserter
- Posts: 51
- Joined: Tue Nov 07, 2017 8:35 pm
- Contact:
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.2
I've noticed two issues with IS and trains:
1. When a locomotive stops in front of the sensor, it takes a second or two before the sensor detects it. This means the fuel-feeding inserter has already had time to swing (it knows the locomotive is there), usually twice, defeating the purpose of the device. (For now, I have gotten around it by adding two decider combinators so the inserters will only swing if it receives both a low fuel AND locomotive present signal)
2. When a train leaves from in front of the sensor in Manual mode (only), the IS output persists in outputting its inventory, even after the loco/wagon is long gone. It only stops when either another loco/wagon/car/etc. passes in front of the sensor, or that loco/wagon is deconstructed.
1. When a locomotive stops in front of the sensor, it takes a second or two before the sensor detects it. This means the fuel-feeding inserter has already had time to swing (it knows the locomotive is there), usually twice, defeating the purpose of the device. (For now, I have gotten around it by adding two decider combinators so the inserters will only swing if it receives both a low fuel AND locomotive present signal)
2. When a train leaves from in front of the sensor in Manual mode (only), the IS output persists in outputting its inventory, even after the loco/wagon is long gone. It only stops when either another loco/wagon/car/etc. passes in front of the sensor, or that loco/wagon is deconstructed.
Re: [MOD 0.14/0.15] Inventory Sensor 1.5.2
This is by design. To work with manual trains and cars IS has to constantly scan for these vehicles. Doing so every tick would utterly tank performance so it's set to only scan every 2s. Automatic mode trains and static entities are handled instantly through events.runamucker wrote:I've noticed two issues with IS and trains:
1. When a locomotive stops in front of the sensor, it takes a second or two before the sensor detects it. This means the fuel-feeding inserter has already had time to swing (it knows the locomotive is there), usually twice, defeating the purpose of the device. (For now, I have gotten around it by adding two decider combinators so the inserters will only swing if it receives both a low fuel AND locomotive present signal)
2. When a train leaves from in front of the sensor in Manual mode (only), the IS output persists in outputting its inventory, even after the loco/wagon is long gone. It only stops when either another loco/wagon/car/etc. passes in front of the sensor, or that loco/wagon is deconstructed.
If you feel 2s is too slow you can change it in Options - Map Settings - Entity scan interval.
However for refueling locomotives even 10s would fast enough. Wire the inserter directly to IS and set it to stack size = 1; active if locomotive detected > 0.
The inserter will only start working after is found a locomotive and will never get stuck holding items it couldn't insert.
My Mods: mods.factorio.com