McGuten / 5DimsFactorioMods

5Dim's Factorio mods
MIT License
36 stars 45 forks source link

Error with .17.12 #86

Open Serienmorder opened 5 years ago

Serienmorder commented 5 years ago

Failed to load mods: Error while loading entity prototype "biter-spawner" (unit-spawner): Key "polution_absorption_absolute" not found in property tree at ROOT.unit-spawner.biter-spawner Modifications: Base mod > 5Dim's mod - Battlefield

dragontuar commented 5 years ago

I have the same error and I have been looking at what I can do to allow me to play and possibly point out what the fix may be as I have block comment out a section of black market extension for gold mining that changes an output for gold 'to reduce stone output' (well along that thought process) and as such i am looking for the key that the game thinks that it does not exist (or to be more precise to find how the game handles the value and put that key in place of the erroring one) and I'll place a comment on my findings

P.S. I am not in any way shape or form associated with this mod or a developer of the game just a player that has experience in coding (I'm not perfect but I do value my common sense)

Serienmorder commented 5 years ago

I've submitted a pull request. I'm going to put a copy of the zipped package on his discord.

Serienmorder commented 5 years ago

Basically previous versions of the API had a mispelling of absorption, and they corrected it.

dragontuar commented 5 years ago

I have the modding API open in a separate tab and as I am searching via the browser search function 'ctrl+f' with the word 'pollution' i find this:

evolution_factor_by_pollution :: double

and I think this is what would be used for determining the complexity and difficulty of the enemy units

dragontuar commented 5 years ago

oh okay never mind but it is nagging at my mind that this would be used

Recon419A commented 5 years ago

I'm having this issue as well, even just loading Battlefield by itself.