[Kovarex] [2.0.52] parameter formulas produce erroneous results in parameterized blueprints

Things that has been reported already before.
Darkestaxe
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Jun 30, 2016 6:44 am
Contact:

[Kovarex] [2.0.52] parameter formulas produce erroneous results in parameterized blueprints

Post by Darkestaxe »

I'm trying to parameterize an EM plant for botmall, simple blueprint that requests recipe ingredients, and I'm attempting to have it request an amount of each ingredient to a requester chest based on a formula, so a formula for the amount parameter after each ingredient parameter. I haven't figured out what exactly the formulas are doing, the only clear pattern I can deduce is that each time I place a blueprint it requests -all- the correct ingredients in the exact same quantity as each other, even when they have unrelated formulas for testing. I guess that means that all formulas always return the same result, and I think it's the first result just being reused.

The kind of blueprint I'm making is a very common one in various guides online, youtube videos, etc. I've made these before in my previous playthroughs. I put a machine down with P0 as recipe and P0 on the storage chest, then requester chest asks for 1 coal, 2 copper, 3 iron etc, then I blueprint it and hit parameterize, and then set all the coal/copper/iron to be P1-Px and ingredients of P0. Then I set var>formula min(p1_s, p0_i1/p0_r*60) to quantities for the requests.

Note: Anytime I use pN variables where N is greater then 0 it gives me an error saying that it doesn't recognize the variable, but that is a different active known bug for the past several versions and supposedly the variables still work, although it's not clear to me whether or not they actually do. Also, the blueprints I'm trying to make apply fluid ingredients to requester chests, goofy -- but I think they always did that.

Currently I have attempted:
- Requesting 1 stack {p1_s}: Ingredients request 100 regardless of actual stack size
- requesting 60s of crafting time: p0_i1/p0_r*60: Ingredients request 0, 6, or 30 depending on recipe
- Requesting the lesser of 1 stack or 60s of crafting: min(p1_s, p0_i1/p0_r*60) same as above
Blueprint lesser of stack, 60s
TLDR: Blueprint parameter formulas are possessed, pls do exorcism.
welldown
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Oct 25, 2024 7:56 am
Contact:

Re: [Kovarex] [2.0.52] parameter formulas produce erroneous results in parameterized blueprints

Post by welldown »

i am encountering the same problem. i had a parametrized blueprint that worked. i wanted to improve the numbers and parameters. accidentally deleted it but i cannot remake it, the 'p0_s' already throws an error "unknown variable" @ 'p'. but im at 2.0.47, so... an older issue?
Nidan
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sat Nov 21, 2015 1:40 am
Contact:

Re: [Kovarex] [2.0.52] parameter formulas produce erroneous results in parameterized blueprints

Post by Nidan »

Not a Bug
Darkestaxe wrote: Sat May 24, 2025 5:30 am The kind of blueprint I'm making is a very common one in various guides online, youtube videos, etc. I've made these before in my previous playthroughs. I put a machine down with P0 as recipe and P0 on the storage chest, then requester chest asks for 1 coal, 2 copper, 3 iron etc, then I blueprint it and hit parameterize, and then set all the coal/copper/iron to be P1-Px and ingredients of P0. Then I set var>formula min(p1_s, p0_i1/p0_r*60) to quantities for the requests.
Instead of "1 coal, 2 copper, 3 iron etc", I see the value 0 for all request counts in the parameterization UI, those will get folded together. Give them distinct values, even if they get replaced by a formula, and your blueprint will work as expected.

Fixed version:
Post Reply

Return to “Duplicates”