Rewrite Factorio server spawning

Break out the server process management to a new FactorioServer class in
lib/factorio.  This class takes responsibility for managing a factorio
server, communicating with it and handling the stopping of it.  It also
replaces the previous effort to do this in lib/factorioServer.

This change also updates the version of rcon-client, and since the
author of it has updated it to use UTF-8 the fork is no longer
necessary.  It also removes the messageInterface implementation
in favor of just calling the rcon-client library directly since
this has rate limiting logic built in.

The lib/factorio library is intended to abstract all the interfacing
that happens with Factorio.
This commit is contained in:
Hornwitser committed 2019-10-14 18:56:46 +02:00
1 parent 6b4ab6660c
commit a01b971ba2
13 files changed
+1217 -585

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
---------------------------------------------------------------------------------------------------
Date: 04. 09. 2019
Changes:
- Bad changelog with no version
+13
View File
@@ -0,0 +1,13 @@
---------------------------------------------------------------------------------------------------
NotVersion: Wrong
Version: 0.1.1
Date: 04. 09. 2019
Changes:
- Test for changelog
Bugfixes:
- Has the same format as factorio's changelog
---------------------------------------------------------------------------------------------------
Version: 0.1.0
Date: 03. 09. 2019
Changes:
- Nothing
+3
View File
@@ -0,0 +1,3 @@
---------------------------------------------------------------------------------------------------
Version: 0.1.1
About: Dummy changelog.txt for FactorioServer tests