Productions Per Minute


Assemblers and Furnaces show the maximum production rate of the currently selected recipe in their GUI.

Utilities
21 days ago
2.0
546
Manufacturing

b [Fixed] Crashes sometimes

24 days ago

Error while running event productions-per-minute::on_gui_click (ID 1)
productions-per-minute/control.lua:69: attempt to index field 'gui_data_by_player' (a nil value)
stack traceback:
productions-per-minute/control.lua:69: in function <productions-per-minute/control.lua:68>

24 days ago

Same, but I can reproduce it easily with a newly placed machine (Burner Assembler) (seems to be after loading a save but might be a coincidence - worked just fine until then):
The mod Productions Per Minute (0.2.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event productions-per-minute::on_gui_opened (ID 95)
productions-per-minute/control.lua:42: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
productions-per-minute/control.lua:42: in function 'is_valid_gui_entity'
productions-per-minute/control.lua:52: in function <productions-per-minute/control.lua:50>

23 days ago

Thank you for the error logs.

I'll investigate when I get home

22 days ago

Update for this issue.

I have identified the root cause of the issue and hopefully fix it.
Still have couple place of code to check with the new mod api.

Hopefully I can push a new version to fix this issue in couple hours

21 days ago

Version 0.2.2 should be up soon.

It should fix both of you guys issue.

Sorry for the wait. Keep me posted if you still have issues

21 days ago

Thanks a lot for the work <3 ! I'm reactivating the mod and trying now

21 days ago

Thanks a lot for the work <3 ! I'm reactivating the mod and trying now

Yeah, me too, thanks!

New response