Page 1 of 1
0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:15 am
by zeno16
First off if this is in the wrong place please move it, I was unsure where to place it.
So I got this save I've been playing on for about 8 hours, when I decided to update to 0.13, and I am unable to craft steel chests, I could before the update, got a couple in my inventory, but now they are completley gone from the crafting list, dunno if it's a bug, cause when I try to run a sandbox mode they appear, is there anyway to fix this, or are my save screwed?
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:42 am
by kinnom
try
Code: Select all
/c game.local_player.force.reset_recipes()
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:45 am
by zeno16
I tried that command line and it gave me
image broken for some reason
cannot execute command. Error: [string "command"]:1: LuaGameScript doesn't contain key local_player
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:48 am
by kinnom
I can't see the image. I assume it gave an error?
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:51 am
by zeno16
yeah it gave this error cannot execute command. Error: [string "game.local_player.force.reset_recipes()"]:1: LuaGameScript doesn't contain key local_player
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:56 am
by kinnom
try
if that still doesn't work try
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 11:59 am
by zeno16
giving me the same errors on both commands, the LuaGameScript doesn't contain key reset_recipes() and key force.
I wonder if the Lua changed from 0.12.x to 0.13?
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:07 pm
by kinnom
•Changed game.players, game.surfaces, game.entity_prototypes, game.item_prototypes, game.fluid_prototypes, force.recipes, force,technologies to use custom access + iterator objects for improved performance.
It has and I do not know what they mean with custom access
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:11 pm
by zeno16
when I try to change the command to
Code: Select all
/c game.player.force.reset_recipes()
it does not give me any errors, but nothing happens either, I will have to research more, in the mean time I'm stuck with only three steel chests.
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:16 pm
by kinnom
Are you sure you can't craft it? It's in the logistics tab and should unlock when you research steel
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:19 pm
by zeno16
nope
http://prntscr.com/bm3t2t
and as you can see I got steel researched
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:24 pm
by kinnom
can you post the save?
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:28 pm
by zeno16
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:52 pm
by kinnom
fixed it with
Code: Select all
/c game.player.force.recipes['steel-chest'].enabled=true
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 12:54 pm
by zeno16
THANK YOU SO MUCH!
it was annoying me to no end, I hope it was just a convesion thingy that caused it when I went from 0.12.x
Re: 0.13 unable to craft steel chest
Posted: Tue Jun 28, 2016 5:04 pm
by Loewchen
This has been fixed for the next release:
viewtopic.php?f=30&t=27208