Utilization Monitor Blargh


Displays the utilization percentage of factories, miners, labs, furnaces, boilers, generators, and reactors.

8 months ago
0.18 - 1.1
7.49K

g [Fixed] Toggle labels hotkey not working

8 months ago
(updated 8 months ago)

Hi! I noticed that the Toggle Labels hotkey (Control+U by default) doesn't seem to work.

I opened a PR to fix it: https://github.com/blargh2015/UtilizationMonitor/pull/1

edit: Looks like the GitHub is a few versions behind, but hopefully that helps!

8 months ago

Interesting re: GitHub - I thought I had that automated, but see you're right. Resynced to 0.8.15 just now. I see your pull request and am taking a look now as well. Expect a 0.8.16 soon.

8 months ago

Thanks! The current thing I'm running into trying to fix it is that set_players defaults to everyone if an empty array is passed in: https://lua-api.factorio.com/0.17.69/LuaRendering.html#LuaRendering.set_players

8 months ago

I think the solution will probably be to remove the label if no one is selected, but it looks like that's going to take a bit more work

8 months ago
(updated 8 months ago)

Updated the PR with a fix that seems to work!

8 months ago

Moving this convo to the PR, however, the reason I didn't catch this in testing is all my test worlds are multiplayer, which always has additional players for one reason or another. Single player doesn't. Heh.

Noted for next time....

8 months ago

Fixed in 0.8.16.

8 months ago

Thank you!!

8 months ago

Fixed small issue with the label state needing updating on player joins (or starting new SP) and uploaded 0.8.17

New response