0.13.3 Headless server workaround

This subforum contains all the issues which we already resolved.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

0.13.3 Headless server workaround

Post by HanziQ »

Due to a bug, linux headless servers in version 0.13.3 crash on startup. This will be fixed in the next version, but for now, here is a workaround:

Add this into server-settings.json that are used to launch your game:

Code: Select all

  "application_version": {
    "build_version": 22991,
    "build_mode": "headless",
    "platform": "linux",
    "game_version": "0.13.3"
  }
Replace "linux" with "windows" or "mac" if necessary.
For non headless version, replace "headless" with "alpha".

We apologise for the inconvenience.

Bisa
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jul 17, 2015 3:22 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by Bisa »

thnx, works like a charm =)
Hosting a factorio server? Take a look at this || init script ||.

User avatar
Androkai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Oct 31, 2014 5:20 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by Androkai »

Thx

User avatar
GeneralDotV2
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Jun 29, 2016 6:27 am
Contact:

Re: 0.13.3 Headless server workaround

Post by GeneralDotV2 »

What would I put for a Windows server having this issue?

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: 0.13.3 Headless server workaround

Post by HanziQ »

GeneralDotV2 wrote:What would I put for a Windows server having this issue?
Original post edited to reflect this issue.

JetFox
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Jun 27, 2016 9:00 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by JetFox »

GeneralDotV2 wrote:What would I put for a Windows server having this issue?
works just fine with linux in it lol

User avatar
GeneralDotV2
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Jun 29, 2016 6:27 am
Contact:

Re: 0.13.3 Headless server workaround

Post by GeneralDotV2 »

Got it working.
Thanks for the info.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: 0.13.3 Headless server workaround

Post by HanziQ »

JetFox wrote:
GeneralDotV2 wrote:What would I put for a Windows server having this issue?
works just fine with linux in it lol
I thought so, but you never know.

RanDumSocks
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 23, 2015 11:57 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by RanDumSocks »

In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.

TyphoonNL
Burner Inserter
Burner Inserter
Posts: 17
Joined: Tue Jun 28, 2016 5:19 am
Contact:

Re: 0.13.3 Headless server workaround

Post by TyphoonNL »

HanziQ wrote:Due to a bug, linux headless servers in version 0.13.3 crash on startup. This will be fixed in the next version, but for now, here is a workaround:

Add this into server-settings.json that are used to launch your game:

Code: Select all

  "application_version": {
    "build_version": 22991,
    "build_mode": "headless",
    "platform": "linux",
    "game_version": "0.13.3"
  }
Replace "linux" with "windows" or "mac" if necessary.
For non headless version, replace "headless" with "alpha".

We apologise for the inconvenience.
getting this error
2.409 Error Util.cpp:57: /dev/shm/factorio/data/server-settings.json(18): expected end of input

tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

Re: 0.13.3 Headless server workaround

Post by tacgnol »

TyphoonNL wrote:.......
it should look like this :

Code: Select all

{
  "name": "Name of the game as it will appear in the game listing",
  "description": "Description of the game that will appear in the listing",
  "tags": ["game", "tags"],
  "max_players": "0",

  "_comment_visibility": ["public: Game will be published on the official Factorio matching server",
                          "lan: Game will be broadcast on LAN",
                          "hidden: Game will not be published anywhere"],
  "visibility": "hidden",

  "_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
  "username": "",
  "password": "",

  "_comment_token": "Authentication token. May be used instead of 'password' above.",
  "token": "",

  "game_password": "",

  "_comment_verify_user_identity": "When set to true, the server will only allow clients that have a valid Factorio.com account",
  "verify_user_identity": true,
  "application_version": {
    "build_version": 22991,
    "build_mode": "headless",
    "platform": "linux",
    "game_version": "0.13.3"
  }
}

andrewflowers
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Jul 01, 2016 10:42 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by andrewflowers »

where is this server-settings.json file? i'm using the .bat method on windows https://wiki.factorio.com/index.php?title=Multiplayer

andrewflowers
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Jul 01, 2016 10:42 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by andrewflowers »

can anyone help me out? as soon as i run the bat file it crashes. i did everyting the instructions told me https://wiki.factorio.com/index.php?title=Multiplayer but it didnt mention any json file. I'm confused.

Gephorian
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Feb 28, 2013 10:29 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by Gephorian »

RanDumSocks wrote:In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.
I second this one, same happened to me and a friend. We were able to start the server without a workaround, however.

andrewflowers
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Jul 01, 2016 10:42 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by andrewflowers »

Gephorian wrote:
RanDumSocks wrote:In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.
I second this one, same happened to me and a friend. We were able to start the server without a workaround, however.
yea sadly i had to ban people for desync or the server would be stuck in infinite loop and when they rejoin more desync. i would start a new thread for that issue though. i wish somebody could help me with my issue :(

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: 0.13.3 Headless server workaround

Post by daniel34 »

RanDumSocks wrote:In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.
This has been fixed in 0.13.4: viewtopic.php?f=30&t=27880
quick links: log file | graphical issues | wiki

andrewflowers
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Jul 01, 2016 10:42 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by andrewflowers »

daniel34 wrote:
RanDumSocks wrote:In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.
This has been fixed in 0.13.4: viewtopic.php?f=30&t=27880
13.4 is out this fast? dang!

andrewflowers
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Jul 01, 2016 10:42 pm
Contact:

Re: 0.13.3 Headless server workaround

Post by andrewflowers »

andrewflowers wrote:can anyone help me out? as soon as i run the bat file it crashes. i did everyting the instructions told me https://wiki.factorio.com/index.php?title=Multiplayer but it didnt mention any json file. I'm confused.
can anyone help me with this?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: 0.13.3 Headless server workaround

Post by daniel34 »

andrewflowers wrote:
daniel34 wrote:
RanDumSocks wrote:In multiplayer, everytime someone tries to place a water pump, the server keeps saying that player has desync issues and procedes to go into an infinite loop of decync.
This has been fixed in 0.13.4: viewtopic.php?f=30&t=27880
13.4 is out this fast? dang!
Let me rephrase that: This will be fixed in 0.13.4.
quick links: log file | graphical issues | wiki

pinecoffin
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat Jul 02, 2016 7:37 am
Contact:

Re: 0.13.3 Headless server workaround

Post by pinecoffin »

tacgnol wrote:
TyphoonNL wrote:.......
it should look like this :

Code: Select all

{
  "name": "Name of the game as it will appear in the game listing",
  "description": "Description of the game that will appear in the listing",
  "tags": ["game", "tags"],
  "max_players": "0",

  "_comment_visibility": ["public: Game will be published on the official Factorio matching server",
                          "lan: Game will be broadcast on LAN",
                          "hidden: Game will not be published anywhere"],
  "visibility": "hidden",

  "_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
  "username": "",
  "password": "",

  "_comment_token": "Authentication token. May be used instead of 'password' above.",
  "token": "",

  "game_password": "",

  "_comment_verify_user_identity": "When set to true, the server will only allow clients that have a valid Factorio.com account",
  "verify_user_identity": true,
  "application_version": {
    "build_version": 22991,
    "build_mode": "headless",
    "platform": "linux",
    "game_version": "0.13.3"
  }
}
Cheers for this tacgnol.

Post Reply

Return to “Resolved Problems and Bugs”