Hornwitser
08e7434d24
Add command to extract play time from save
...
Add command that extracts play time (and players) from the currently
running save to the recorded instance statistics. This is useful for
getting correct play time statistics when an existing save game is
imported.
2022-07-13 00:31:02 +02:00
Hornwitser
0245ccd16c
Share player stats with master server
...
Send the per player stats with the player event updates to the master
server and expose it to the Web UI and ctl interfaces.
2022-07-12 23:03:50 +02:00
Hornwitser
deb6842a4d
Record all players as leaving on server exit
...
In the case of shutdown the Factorio server will not notify the
currently online players as leaving the game. Notify the master server
that all remaining online players quit the game in this case.
2022-07-12 23:03:50 +02:00
Hornwitser
ac62f66aa1
Move PlayerStats to separate data class
2022-07-12 23:03:50 +02:00
Hornwitser
db562ce6a0
Provide reason for player leaving
...
Expose the reason for why a player is leaving a server in playerEvent.
2022-07-08 01:00:54 +02:00
Hornwitser
3cb9843f23
Add player online autosave pool
...
Add separate autosave pool for autosaves that have had players online
since the previous autosave.
2022-06-30 01:03:29 +02:00
Hornwitser
a063cf2db5
Track player stats on instances
...
Track which players are online and record basic stats for each player on
each instance including when save patching is disabled.
2022-06-29 21:35:56 +02:00
Hornwitser
0df6701326
Use consistent path for saves in Instance
2022-06-29 21:25:25 +02:00
Hornwitser
ef74436cde
Fix jsdoc for #462
...
Fix references and missing files from the jsdoc output after the
refactor in #462 .
2022-06-23 16:57:52 +02:00
Hornwitser
826d89c7dc
Fix race condition on creating instance directory
2022-06-23 00:09:28 +02:00
Hornwitser
393652c1d9
Allow instance names to be any string
...
Replace bad characters with underscore instead of rejecting bad instance
names.
2022-06-23 00:08:23 +02:00
Hornwitser
951bad4134
Refactor slave code
...
Move classes from slave.js monolit into their own source files.
2022-06-22 22:16:58 +02:00