Command in-game

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Command in-game

Post by Foxxen »

Hello I'm looking to place orders via chat, but none except walking / c game.players [1] .character.insert {name = "iron-plate" count = 1}

On the internet I found a big order that fesait walk the others, but it also no longer walk, so suddenly I find myself without the night, and peacefull. when I made the command to disable the always day (/ c game.always_day = false) its puts me this: Can not execute command. Error: (string "game.always_day = false"]: 1: Does not LuaGameScript contenir key always_days.

I have taken the command directly on the official wiki, my game is in 0.11.22, here thank you in advance for using a Room

(Sorry for my english I'm french)

The command :

Image
Last edited by Foxxen on Mon Feb 08, 2016 1:48 pm, edited 2 times in total.

Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Command in-game

Post by Zeblote »

The wiki assumes you have the latest version, 0.12.23. Your game is quite outdated!

For 0.11.22 you'd have to use game.alwaysday = false

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

Ok, thank you, but if I change my version, I have to start the game, because it is not compatible with the new version, except that we should do something?

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: Command in-game

Post by Smarty »

you need to download the new version from the website

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

Foxxen wrote:Ok, thank you, but if I change my version, I have to start the game, because it is not compatible with the new version, except that we should do something?
If you download the latest version you can still continue your current save game, you won't have to restart

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

Ok, thank you for your help

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

Finally, I have brought my game up to date, but when I want to load my part (0.11.22) ca puts me his: Announcement

... Data / Roaming / Factorio / time / currently-playing / control.lua: 3: attempt to index global 'game' (a nil value)

An idea ?

Image

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

Foxxen wrote:Finally, I have brought my game up to date, but when I want to load my part (0.11.22) ca puts me his: Announcement

... Data / Roaming / Factorio / time / currently-playing / control.lua: 3: attempt to index global 'game' (a nil value)

An idea ?

Image
In your save game folder, if you unzip it, you should see a control.lua. What you will need to do is delete that control.lua and replace it with the one i have attached.
Then you can load the game no problem :D
Attachments
control.lua
(3.13 KiB) Downloaded 256 times

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

I can not go on the record because it is present only during the loading of the party, and the load is too fast, and once finished loading the file disappears

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

Foxxen wrote:I can not go on the record because it is present only during the loading of the party, and the load is too fast, and once finished loading the file disappears
You change it before you load it in appdata/roaming/factorio/saves

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

No, I well replaces the file, but nothing changes

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

can you send me your savegame?

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

This is my backup
Attachments
Partie3.zip
(14.14 MiB) Downloaded 174 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

Foxxen wrote:This is my backup
It loads fine for me on version 0.12.22

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

I'am in 0.12.20

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Command in-game

Post by Klonan »

Foxxen wrote:I'am in 0.12.20
It should work fine in 0.12.20 too...

Very interesting

have you tried restarting your computer?

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

It is indeed strange as it works with another backup of the same old version (0.11.22), I'll try to redémarer my computer, and I repeated if his walk (in about 20 minutes)

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

Well, I have to restart my computer but its not change anything, I'll test in 0.12.22, his perhaps walk

Foxxen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Mon Feb 08, 2016 11:40 am
Contact:

Re: Command in-game

Post by Foxxen »

Well I vien to start my part in 0.12.22 and still does not work, its gets me there same mistake

Post Reply

Return to “Technical Help”