Page 1 of 1

Linux headless server: 2 player, 2 forces, separate research

Posted: Mon Apr 11, 2016 11:39 am
by Exxter
Hello,

i have a "Factorio 0.12.29 (Build 17931, linux64, headless)" Server on Linux Debian 8.4 and i search the way, how i can configure 2 players with different researches. I have found:

viewtopic.php?f=3&t=13512&start=80#p92087

but how can i use this:

Code: Select all

game.create_force('force 1')
game.create_force('force 2')
game.get_player('friend 1').force = game.forces['force 1']
game.get_player('friend 2').force = game.forces['force 2']


I cant write this in my config/config.ini

Any tips?

Re: Linux headless server: 2 player, 2 forces, separate research

Posted: Mon Apr 11, 2016 11:50 am
by prg
You write that in the console in game. Open with ~, prefix commands with /c or it will result in a chat message. Make sure commands are allowed when you start the multiplayer game. You can save and reload without commands enabled once you have stuff set up properly.

Re: Linux headless server: 2 player, 2 forces, separate research

Posted: Wed Apr 13, 2016 4:17 am
by Exxter
Seems to work, thanx very much! :)