[MOD 0.16.x] Actual Craft Time

Topics and discussion about specific mods
osldgoth
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Feb 26, 2015 3:52 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by osldgoth »

Fairly sure I know the problem, it's an easy fix but I'm away atm. Should have a new version out 24-36hrs.

When player A opens a machine the code creates a table to store some info for the slider function. While player A's gui is open, player B opens a machine and the code creates a table but overwrites or resets the first table. This can cause a number of crashes if player A users the slider. Should have made the code player specific in the first place to avoid the problem.

osldgoth
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Feb 26, 2015 3:52 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by osldgoth »

v0.3.0
added code for labs, mining drills, and pumpjacks

Lab items per second is likely NOT correct atm. While I continue to work on it, someone take a look and tell me what I'm not doing right? if one can follow my code :)

I would also like to add in mining productivity to mining drills and pumpjacks - that is TBD

Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Sander_Bouwhuis »

Thank you for your continued work on this great mod!

I really hope that you can get the numbers working, and also that you'll keep supporting (upgrade?) it when v0.17 comes out.

BIG THUMBS UP!

Cyro
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon May 05, 2014 7:56 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Cyro »

Hey there,

so I just found out about your mod and think it is really helpful, but..
it does not work with "Alien Loot Economy" / does not like me opening the miners GUI => lua error => crash.

I dont really wanna disable either mods so I hope you might be able to fix that!


Edit:
Said error is:

"Note:

Actual_Craft_Time::on_gui_opened (ID 83)
Entity is not crafting-machine.
stack traceback:
[]__Actual_Craft_Time__/control.lua:31:in function 'getRecipe'
[]__Actual_Craft_Time__/control.lua:320: in function
<__Actual_Craft_Time__/control.lua:283>

Arfarazon
Inserter
Inserter
Posts: 25
Joined: Fri Jul 20, 2018 4:00 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Arfarazon »

I have the same issue on latest version with Pyanodon's full suite, when i open a crystal mine GUI
was fine on the previous version of your mod (0.2.9)

osldgoth
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Feb 26, 2015 3:52 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by osldgoth »


Arfarazon
Inserter
Inserter
Posts: 25
Joined: Fri Jul 20, 2018 4:00 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Arfarazon »

osldgoth wrote:
Mon Jan 21, 2019 8:27 am
give v0.3.1 a try. https://github.com/osldgoth/Actual-Craf ... tag/v0.3.1
in this version i get another exception:

83.093 Error MainLoop.cpp:1035: Exception at tick 81943219: Error while running event Actual_Craft_Time::on_gui_opened (ID 83)
__Actual_Craft_Time__/control.lua:258: attempt to perform arithmetic on local 'IPS' (a nil value)

happens on any custom pyanodon's miners (phosphate, niobium miners, crystal mines, etc)

Unfortunately i dont know lua basically at all, but if that helps, to my understanding here's the example of one of the entities that causes exception in your mod:
https://github.com/pyanodon/pyrawores/b ... z-mine.lua line 32

his miners can use consumable items (drill heads) and/or mining liquids, if that helps also

Cyro
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon May 05, 2014 7:56 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Cyro »

Tried with the new version you linked.

(btw also get a problem when opening the coal miners)

and when trying to open the alien miners it still crashes, but different error this time I think:

"__Actual_Craft_Time__/control.lua:258:
attempt to perform arithmetic on local "IPS" (a nil value) "

GTrak
Inserter
Inserter
Posts: 21
Joined: Tue Mar 01, 2016 10:44 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by GTrak »

Thank you. I love this mod.
Could you add local string for "/s" and plural "s" ?

BammBamm
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Jan 24, 2019 7:10 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by BammBamm »

Image

Run into a repeateable Crash when i "open" an MK2 Miner from Factorio Extended Plus.

Aramil_S
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Jan 30, 2019 9:03 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Aramil_S »

Crashes also with basic coal powered drill from vanilla.
Topic at mods.factorio (with my fast hotfix): https://mods.factorio.com/mod/Actual_Cr ... 000cd71c01

Hive
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Dec 14, 2017 7:48 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Hive »

i hope this will be available soon in 0.17

i only used your 2.2 version yet, to have just input and outpunt clear is suuper usefull and i missing that for 0.17 as everything has to be new calculated ...

i just saw that in your later versions you added the inserters needed and a slider bar ... :? but why? can you make that changable in the settings (to just not show that?), i dont think that is so usefull especially with mods that will change the inserter

Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Sander_Bouwhuis »

I too am hoping for a v0.17 of you wonderful mod!

mandydax
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Mar 18, 2019 4:38 am
Contact:

[0.17.17] Bug Report: Mod Confict

Post by mandydax »

I got an error while adding this along with Miniloader. The error was
Failed to load mods: Error while running setup for entity prototype "miniloader-inserter-ACT-copy" (inserter): No order string defined and there is no item to place it.

Mods to be disabled:
  • Actual_Craft_Time

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by nuhll »

Ive added a bug in the factorio mod portal, not sure if you didnt read it... or no longer active?

Anyway, i heavily use your mod in my playthru and only one bug i found.. somehow the calculation for the bob greenhouses are wrong.. i set so many greenhouses that it should give a red belt... but it dont.

I build so many that i can support my plastic production... and it dont... ^^

osldgoth
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Feb 26, 2015 3:52 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by osldgoth »

Version 0.3.8 is available. Multi-player is NOT tested, though I don't expect any bugs. You all will let me know if you encounter some. See change log. I do want to do a rewrite of my code so unless there are bugs with this version, the next version should be the rewrite. It's mainly for me as the code is a mess and I'm having trouble following it.

User avatar
Mithaldu
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sun Mar 13, 2016 5:39 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Mithaldu »

Crashes when closing the window of a factory:

Image

Also it appears the github repository is not up-to-date.

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by DaleStan »

This does not seem to recognize the speed bonus from the "Lab research speed" research.

When researching Lab research speed 2 (which takes 30 nominal seconds per cycle), the labs have +20% speed bonus from Lab research speed 1. The actual time required per cycle is 25 in-game seconds due to that bonus, but this mod still shows "Lab research speed 2 crafts in 30 seconds".

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by nuhll »

IT doesnt seem to work with bobs effect thing III (i put speed modules in it, reaching the asembler, but it doenst count it)

If i put prod or speed modules direct into assembler it works just fine.

Also is it possible to add speed from pumps? And or pipes? (so that you can see ah this pipe can handle 100/s)

User avatar
Pridesfall
Fast Inserter
Fast Inserter
Posts: 133
Joined: Thu Dec 18, 2014 7:18 pm
Contact:

Re: [MOD 0.16.x] Actual Craft Time

Post by Pridesfall »

The mod Actual Craft Time caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Actual_Craft_Time::on_gui_click (ID 1)
__Actual_Craft_Time__/control.lua:658: bad argument #2 of 3 to 'sub' (number expected, got nil)
stack traceback:
[C]: in function 'sub'
__Actual_Craft_Time__/control.lua:658: in function 'playerSlid'
__Actual_Craft_Time__/control.lua:856: in function <__Actual_Craft_Time__/control.lua:786>

Post Reply

Return to “Mods”