I had an idea for a mod that would track the status of resource fields automatically. I know a mod like this exists that allows manual specification of the field to be monitored. I believe it can be done automatically and would significantly reduce the complexity of using a feature like this.
Does anyone know if such a mod has already been built? If I built it, would anyone use it? I know that Resource-Monitor-Mod exists, but it apparently has not been updated for 0.12 and, AFAIK, it doesn't track individual miners, which I plan to do.
[EDIT: I see there is already a fork of Resource-Monitor-Mod that is more than sufficient for my personal purposes. So please feel free to disregard.]
----
Technical discussion
The mod will consist of a few main objects/concepts. There will be a list of resource fields, organized by their bounding boxes.
Each time a miner is placed, the resource field list is checked to see if the miner is a member of an existing resource field. If it is, the miner is added to a list of miners on that resource field. If it isn't, the resource field beneath it will be explored via flood fill and added to the list of fields.
Every N seconds, each resource field will be checked for various properties. The properties I intend to check for are:
- Amount of resources left to be extracted.
- Amount of resources not covered by a miner.
- Time miner spent blocked.
- Potential extraction rate if unblocked.
- Average extraction rate (exponentially weighted moving average).
- Real time until exhaustion.
The GUI will probably have these in some sort of tabular form. To cover mine fields with multiple resource types, as can be found in Bob's mods, resource extraction rates will probably be expressed as [Resource Icon]: units/s. I will probably keep an exponentially weighted moving average of each stat, to avoid fields jumping around in production rate too much when they become blocked.
There will probably be alerts for when a field has a miner that's being damaged. If a field has no miners for more than, say, five minutes, it will be removed from the list.
At most one field will be checked per tick to prevent framerate issues. Checking a field should be pretty quick -- few fields consist of more than twenty or thirty miners, and most of the work is simply multiply and add on a small number of values.
Automatic mining monitor
This is the place to request new mods or give ideas about what could be done.
Return to “Ideas and Requests For Mods”
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Implemented in 2.0
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions