Logistics Insights

by farzag

Get insights into what your logistics bots are doing and what to improve in your network. Provides concrete suggestions, an overview of what's in short supply and well as stats and information about robots charging, idle, picking up and delivering, information on items most frequently delivered, time to deliver, and the quality level of both robots and roboports. Supports multiplayer games and multi-network information, with easy navigation between them.

Utilities
2 days ago
2.0
1.71K
Logistic network Storage

i Crash error

a month ago

Got this bug when deconstructing an area. This happened when deconstructing inside the blueprint sandbox environment.(https://mods.factorio.com/mod/blueprint-sandboxes)

The mod Logistics Insights (0.8.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event logistics-insights::on_nth_tick(1)
LuaLogisticNetwork API call when LuaLogisticNetwork was invalid.
stack traceback:
[C]: in function 'index'
__logistics-insights
/scripts/activity-counter.lua:42: in function 'gather_data'
logistics-insights/control.lua:118: in function <logistics-insights/control.lua:101>

a month ago

Interesting, I have not tried that mod so thanks for sharing. I will have a go and see if I can reproduce it in the next day or two.

a month ago

I'm not sure whether or not it's due to that mod or just a coincidence. I think it may have something to do with deleting a whole network while being inside it? It might be trying to read the data on the same tick it was removed or something. I tried the same again and wasn't able to reproduce it, but I'll try some more tomorrow.

a month ago

Yes, I’m actually sure that is a case I don’t handle. Fortunately, the fix is simple and I’ll create a new version tomorrow so you get the opportunity to find some new bugs :)

a month ago

Well it just happened again when I clicked undo after placing a blueprint inside the sandbox. Don't know if that's enough to go on.

a month ago

I have just uploaded a simple fix in v0.8.8. Could you test that and see if it happens again? If it does, a save file and instructions to reproduce would be appreciated :)

a month ago

Not getting crashes anymore, so I think that did it! Thanks!

a month ago

Great! Do let me know if you run into trouble.

Also, it would be interesting to hear how you found the mod useful, and if there are ways in which you think it would be more so :)

a month ago
(updated a month ago)

Sure, will do!

I just really like having lots of statistics available to me. It's interesting to see the performance of my base, and whats going on. For example being able to have a quick overview of how many bots are currently waiting around to charge and what items are the most demanded.

Some things come to mind what could be quite useful for me:

  1. Being able to see if requester chests are not being fulfilled, like due to lack of materials. Could be helpful for seeing throughput issues with bots. Though sometimes I do use a request max stacks if I wanna for example just burn off excess spoilage, so that would maybe require some kind of blacklisting of entities. It could potentially be done by checking if the requester chest is requesting exactly the number of stacks/items possible to 100% fill the chest. e.g. requesting 9600 spoilage = 48 stacks (or any number higher than the max limit)

  2. If a network contains a filtered yellow chest, a warning if other unfiltered chests contain traces of those items (like if you set a filter on a chest after something is already put somewhere else, it will stay there until randomly picked up.)

  3. Probably something related to quality? Like seeing not just the construction/logistic bot count, but also their quality (useful if you forget to filter out your lower quality bots.) Although you can technically see this in the Logistics remote view already, but maybe there's some way to make it better?

a month ago

Great ideas, thank you! I'll add those to the list of things to noodle on. I also like All The Stats :)

a month ago

I've now added some basic quality-counting to 0.9.5, hopefully enough to be useful. You can see the distribution of quality for both roboports and bots in a network, and you can see the quality of the bots for the breakdown of activity too (delivering, charging, etc).

I'm still thinking about the other requests, but will probably continue to tinker with quality for a bit first.

New response