Files
factorio-clusterio/CHANGELOG.md
T
Hornwitser 7d1942b615 Port spawn factorio server deteached in client.js
Sending ^C via the terminal on Linux may cause SIGINT to be sent twice
to the factorio process, causing it to exit without completing the
saving.  This happens because the shell sends the interupt to all
members of the process group for the job and this includes both the
node client process and the factorio server process.

Avoid this situation by passing detached to spawn when the platform is
Linux, which causes the process to be created with its own process group
and therefore not targeted by a SIGINT from the shell.

This unfortunately does not work on Windows as we can't send SIGINT or
^C to a process there.  Doing subprocces.kill on Windows terminates the
process similarly to how SIGKILL works on Linux.

This is a port of 6b090cd.
2019-09-19 14:50:21 +02:00

1.6 KiB

Changelog

Version 2.0.0

  • Fixed sslCert and sslPrivKey entries being ignored in the config.
  • Changed ssl key creation to be done at startup instead of on npm install.
  • Added error handling during master startup.
  • Factorio game and rcon port now defaults to a random port above 49151.
  • Removed unimplemented mods update command.
  • Fixed rcon password being generated with Math.random().
  • Added plugins directory to the views path. This makes it possible for plugins to render their own ejs views or pages in their own folders by using paths of the format "pluginName/path/to/page-or-view".

Breaking Changes

  • Node.js versions below 10 are no longer supported.
  • lib/authenticate no longer requires config to be passed to it. Breaks playerManager.
  • The masterIP and masterPort config entries has been merged into masterURL. Breaks discordChat, playerManager, serverSelect, trainTeleports and clusterioModel.
  • Instance names can no longer be invalid Windows file names.
  • Removed config management from the command line and the server manager.
  • Moved ejs templates into views folder and changed their extension to .ejs. Breaks playerManager.

Version 1.2.1

  • Updated node-factorio-api to v0.3.8 to fix mod downloads randomly breaking (#229.)
  • Fixed SIGINT being sent twice to Factorio server when interrupted by CTRL+C on Linux (#217.)

Breaking Changes

  • Added authentication to the socket.io server running on the master.