Page 1 of 1

[0.12.1]WrongCommand in lualib builder.lua

Posted: Wed Jul 29, 2015 4:28 pm
by jorgenRe
Faulty line number 30 in Factorio\data\core\lualib\builder.lua:

Code: Select all

  game.create_entity{name=action.name, position=self.position, direction=action.direction}
I'm fairly certain it is neccecary to change it to:

Code: Select all

 game.surfaces["nauvis"].create_entity{name=action.name, position=self.position, direction=action.direction}
Due to the recent changes ;)!

Re: [0.12.1]WrongCommand in lualib builder.lua

Posted: Wed Jul 29, 2015 4:39 pm
by kovarex
Good, even the example should work properly :)

Fixed for 0.12.2

Re: [0.12.1]WrongCommand in lualib builder.lua

Posted: Wed Jul 29, 2015 4:45 pm
by jorgenRe
kovarex wrote:Good, even the example should work properly :)

Fixed for 0.12.2
Hurray :D!
Now to continue "hacking" the game to create the perfect surface i want :D
But the problems are so many :(