[2.0.32] MineEntityTechnologyTrigger fires for unknown reason

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 107
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

[2.0.32] MineEntityTechnologyTrigger fires for unknown reason

Post by thesixthroc »

I received a bug report for [Cerys](https://mods.factorio.com/mod/Cerys-Moon-of-Fulgora) in which the players reported seeing a "mine-entity" research trigger for `cerys-nitrogen-rich-minerals` unlock at an inappropriate time.

Batted it aside, but then I saw it myself in the Comfy Christmas run. It unlocked after Moon Discovery Cerys was researched, before the Cerys surface had even generated.
Last edited by thesixthroc on Mon Feb 10, 2025 7:15 pm, edited 2 times in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15876
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger appears to fire at random

Post by Rseding91 »

The way the mine entity trigger works is, if the entity is a resource entity then it will also trigger if you collect that resource as a result of mining any entity either manually or with a mining drill.
If you want to get ahold of me I'm almost always on Discord.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 107
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger appears to fire at random

Post by thesixthroc »

If my memory serves me correctly, that can't explain the issue.

In Cerys `cerys-nitrogen-rich-minerals` are obtainable only on Cerys — they are not minable from any entity and only spawn via autoplace settings on Cerys, and no other mod places or autoplaces them (I have inspected each mod.) The mine-entity technology became unlocked shortly after Moon Discovery Cerys, and before anyone had tasked a space platform to travel towards Cerys.

I have no repro — just my memory and a similar earlier bug report I received from a player.
Last edited by thesixthroc on Mon Feb 10, 2025 7:16 pm, edited 8 times in total.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 107
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason

Post by thesixthroc »

Note also this bug report in the Maraxsis discord:

> Hello, I’m not sure what triggered it exactly, but the researches of submarine automation and tungsten pipelines unlocked while I was clearing ruins on Fulgora.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15876
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason

Post by Rseding91 »

I’d need a way to reproduce any issue in order to look into this more.
If you want to get ahold of me I'm almost always on Discord.
elmbald
Burner Inserter
Burner Inserter
Posts: 15
Joined: Mon Jan 13, 2020 6:33 pm
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason

Post by elmbald »

I couldn't upload my save through this forum, but here's a link to a save a few seconds before triggering this bug, this time an issue in a trigger tech for Moshine which got researched instantly after researching the planet. Looking at the global statistics, this tech should not have been triggered (never mined mixed ores)

https://drive.google.com/file/d/1CWfd0q ... sp=sharing
Rseding91
Factorio Staff
Factorio Staff
Posts: 15876
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason

Post by Rseding91 »

elmbald wrote: Mon Feb 10, 2025 7:14 pm I couldn't upload my save through this forum, but here's a link to a save a few seconds before triggering this bug, this time an issue in a trigger tech for Moshine which got researched instantly after researching the planet. Looking at the global statistics, this tech should not have been triggered (never mined mixed ores)

https://drive.google.com/file/d/1CWfd0q ... sp=sharing
This is the exact case I already mentioned:

the multi-ore produces several different items and if *any* of those items are in production statistics the game treats it as if that multi-ore has been mined for the purpose of the mine-entity technology trigger.

multi-ore produces coal, copper-ore, sulfur, sand, and neodynmium. You are mining coal and so as far as it knows, that coal could have come from multi-ore.

It works this way as a performance saving measure: producing events every time a resource entity is mined by any drill, and iterating all mine-entity technology triggers would have way too much performance overhead.

It's unfortunate because it means modded cases like this just won't function with the technology triggers.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”