[Rseding91][2.0.11] Crash loading mod: "recipeItemProductCount > 0 was not true"

This subforum contains all the issues which we already resolved.
User avatar
<NO_NAME>
Filter Inserter
Filter Inserter
Posts: 295
Joined: Tue Aug 02, 2016 9:52 am
Contact:

[Rseding91][2.0.11] Crash loading mod: "recipeItemProductCount > 0 was not true"

Post by <NO_NAME> »

I'm porting my mod to 2.0.
It's a simple mod that adds a recipe to create a free placeholder item and also a recipe to destroy it. That second recipe is the problem because it produces nothing. (This worked fine in 1.1, btw.) I've verified that as soon as the amount is non-0, the crash doesn't keep happening anymore.

Code: Select all

results = 
{
	{type = "item", name = "what-pumpkin", amount = 1, probability = 0.0, percent_spoiled = 0.1}
},
(As you can see, the way I done it is a little quirky. It's like that to make a reference to a certain web comic. However, simple "amount=0" has the same effect.)

Beside the log, I'm attaching the problematic WIP version of the mod.
Attachments
PerfectlyGenericObject_1.200.9.zip
(26.87 KiB) Downloaded 20 times
factorio-current.log
(6.47 KiB) Downloaded 15 times
I am a translator. And what did you do for Factorio?
Check out my mod "Realistic Ores" and my other mods!
Rseding91
Factorio Staff
Factorio Staff
Posts: 14675
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91][2.0.11] Hard crash when loading a mod: "recipeItemProductCount > 0 was not true"

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”