[1.0.0] Byproducts don't appear in statistics

Bugs that are actually features.
Post Reply
User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 167
Joined: Wed Oct 30, 2019 5:17 am
Contact:

[1.0.0] Byproducts don't appear in statistics

Post by spiral_power »

There are some byproducts in bob's mods.
Byproducts doesn't appear at statistics. (items and fluids)
They are long term cycled, so they must be balanced.
I also tested simple one at sandbox.

I thought this is a game engine issue, but if this is a individual mod issue, tell me.

factorio-current.log
(10.38 KiB) Downloaded 90 times

Bob's revamp
----
Version: 0.18.6
Date: 29. 06. 2020
Changes:
- Added a lot of byproducts as Catalyst (you don't get this result from Productivity bonus)
----
1.png
1.png (389.71 KiB) Viewed 3312 times
2.png
2.png (388.86 KiB) Viewed 3312 times
3.png
3.png (1.01 MiB) Viewed 3312 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by Klonan »

Its a mod issue, mods can say whether an item is considered a catalyst or not

User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 167
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by spiral_power »

ok, thank you.

User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 167
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by spiral_power »

from
viewtopic.php?p=515307#p515307
to
viewtopic.php?p=515478#p515478

This issue may be not a bug, wrong usage of CATALYST, but there is a problem in real.
I hope developers gives us some solutions.

Statistics won't balance, it is strange!

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [1.0.0] Byproducts don't appear in statistics

Post by Deadlock989 »

spiral_power wrote:
Fri Oct 09, 2020 10:02 am
from
viewtopic.php?p=515307#p515307
to
viewtopic.php?p=515478#p515478

This issue may be not a bug, wrong usage of CATALYST, but there is a problem in real.
I hope developers gives us some solutions.

Statistics won't balance, it is strange!
There are many modded situations where catalysts are created and destroyed in vast numbers. That is how catalysts work in Factorio. There are very few other viable choices. We have arrived at where we are now after several years of developer time and bug reports and discussions from modders.

In some mods, there is an original route to making the item, and then it also acts as a catalyst in other recipes. If you also included the catalyst function in item stats then there would be no way to tell it apart from the stats for its original creation. Unless you listed them separately, which would be a new and additional type of confusing.

Catalysts should never be counted as being created and consumed. The idea is that they simply "pass through" the machine. In some mods, catalysts have a 100% chance of being consumed and, say, a 99% chance of being "re-created". In that case, the catalyst production should show up in your stats, because you are presumably having to produce more new catalyst to replace what was slowly being lost. But if it is 100% and 100% then nothing is ever being "produced".

This is not a bug and not a problem and not "wrong usage" and it should not be changed from the way it is now.
Image

User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by ickputzdirwech »

Catalysts shouldn’t show up in the production statistics but as long as I haven’t overlooked anything in this thread (and all the linked ones) nobody wants that. The following quote from bobingabout sums up pretty well what is needed here:
I'm using the same tag for something different, the product isn't something that goes in and comes back out, but only a Byproduct that comes out, and I'm using the catalyst tag to force it to not also be produced on the productivity run.
So to fix the issue a tag for individual (by)products is needed that disables the productivity bonus from this specific (by)product

Edit: the quote is from this post: viewtopic.php?p=515396#p515396
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [1.0.0] Byproducts don't appear in statistics

Post by Deadlock989 »

ItemProductPrototype.catalyst_amount does both jobs at once.

If you separate those jobs out then every mod that has balanced itself around that specification will break.

Do not want.
Image

User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by ickputzdirwech »

Wouldn't it be possible to add that flag without changing what catalyst_amount does? Then mods wouldn't break.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by bobingabout »

I don't use Catalyst all that much, but in most cases, when I do, it's for a byproduct, Something that you don't usually want, something that you don't want a second helping to when the productivity progress bar completes.

If a second tag was added for this specific purpose, I wouldn't mind reworking my mod around it.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 167
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by spiral_power »

Thank you all.
Krastorio2 may have same issue.
1.png
1.png (1.44 MiB) Viewed 3076 times

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by orzelek »

I guess you'd need to go to modding interface requests with this one.
It seems that there is a tag needed to disable productivity for result of recipe but still keep it in stats etc.

User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 167
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by spiral_power »

This problem still seems to be unresolved.
I consider statistical information to be one of the most important aspects of factorio and regret that it is incorrect.
I've been doing Space Exploration for the last year or two, and I feel it even more so because of the complexity of the by-products.
Do people not look at the graphs in the statistics?

I am not a mod author and will not suggest interfaces.

AartBluestoke
Inserter
Inserter
Posts: 36
Joined: Sun Jun 29, 2014 4:50 am
Contact:

Re: [1.0.0] Byproducts don't appear in statistics

Post by AartBluestoke »

perhaps the issue could be avoided by adding to the statistics the difference between input and output?

that way catalysts that are not consumed don't count on production or consumption, but they count as consumed in the 1% case where they get consumed.
for something like kvorax it would be net production -235, net consumption 3-238, modulated by productivity boosts.

Post Reply

Return to “Not a bug”