Page 1 of 1

Missing Recipe Errors

Posted: Sat Feb 11, 2017 11:23 am
by Proxy
I wanted to Remove the Rocket Silo and all Items/Recipes/Technology that it Brings. (don't ask why)
I deleted the Entities, the Items, the Research and the Recipes.
Problem is, whenever i try to Run the game, it says "Error in assignID, recipe with name 'low-density-structure' does not exist."
which is really Confusing, becasue the Only thing i know that Requests Recipes, is Research, but i Deleted the Rocket-Silo Research, and i can't find anything called "low-density-structure" ANYWHERE in any file...
is it hard-Coded?

Re: Missing Recipe Errors

Posted: Sat Feb 11, 2017 11:27 am
by prg
Proxy wrote:i can't find anything called "low-density-structure" ANYWHERE in any file...
is it hard-Coded?

Code: Select all

data/base/prototypes $ grep -n low-density-structure -r .
./item/item.lua:781:    name = "low-density-structure",
./item/module.lua:116:        "low-density-structure",
./technology/technology.lua:1223:        recipe = "low-density-structure"
./recipe/recipe.lua:983:    name = "low-density-structure",
./recipe/recipe.lua:993:    result= "low-density-structure"
./recipe/recipe.lua:1029:      {"low-density-structure", 10},
./recipe/recipe.lua:1043:      {"low-density-structure", 100},

Re: Missing Recipe Errors

Posted: Fri Feb 17, 2017 1:01 pm
by Proxy
prg wrote:
Proxy wrote:i can't find anything called "low-density-structure" ANYWHERE in any file...
is it hard-Coded?

Code: Select all

data/base/prototypes $ grep -n low-density-structure -r .
./item/item.lua:781:    name = "low-density-structure",
./item/module.lua:116:        "low-density-structure",
./technology/technology.lua:1223:        recipe = "low-density-structure"
./recipe/recipe.lua:983:    name = "low-density-structure",
./recipe/recipe.lua:993:    result= "low-density-structure"
./recipe/recipe.lua:1029:      {"low-density-structure", 10},
./recipe/recipe.lua:1043:      {"low-density-structure", 100},
I already Removed it from all of those Files.
but it is Still Erroring, it wants to find the "Rocket-Silo" Research...
for some reason.

Re: Missing Recipe Errors

Posted: Fri Feb 17, 2017 1:29 pm
by DaveMcW
Download Notepad++, it has great text search capability.

Re: Missing Recipe Errors

Posted: Fri Feb 17, 2017 5:54 pm
by prg
Proxy wrote:I already Removed it from all of those Files.
You modified the base game files?

Re: Missing Recipe Errors

Posted: Sat Feb 18, 2017 6:07 pm
by Proxy
DaveMcW wrote:Download Notepad++, it has great text search capability.
Well, i use Notepad++ for around 3 Years now.
prg wrote:
Proxy wrote:I already Removed it from all of those Files.
You modified the base game files?
Yes.

Re: Missing Recipe Errors

Posted: Sat Feb 18, 2017 6:18 pm
by prg
Proxy wrote:
prg wrote:
Proxy wrote:I already Removed it from all of those Files.
You modified the base game files?
Yes.
Don't. This will only cause sadness when updating the game or trying to play with other people. Make a mod and set stuff to nil that you don't want to see in the game anymore.

Re: Missing Recipe Errors

Posted: Sun Feb 19, 2017 6:09 am
by mpratt
I've found a safer way to disable recipes and techs is simply disabling them, rather than deleting them. If you're worried about someone using research_all_techs, which does indeed unlock disabled techs too, you can also modify the disabled techs to have no effects.

Re: Missing Recipe Errors

Posted: Sun Feb 19, 2017 2:08 pm
by Proxy
prg wrote:
Proxy wrote:
prg wrote:
Proxy wrote:I already Removed it from all of those Files.
You modified the base game files?
Yes.
Don't. This will only cause sadness when updating the game or trying to play with other people. Make a mod and set stuff to nil that you don't want to see in the game anymore.
I am not Stupid :D
I didn't modded my Steam Version of Factorio, but a External one i Downloaded.
the Only time i Modded the Steam one Directly was for the Achivements.