Up to Main Index                          Up to Journal for December, 2021

                   JOURNAL FOR SATURDAY 11TH DECEMBER, 2021
______________________________________________________________________________

SUBJECT: Configuration update available
   DATE: Sat 11 Dec 19:41:35 GMT 2021

Nearly two weeks ago I went and had a Covid booster jab. I’m still recovering
and recently I’ve only been working the day job then crashing in the evening.
Hence no recent updates :(

Feeling somewhat better today I cracked on with the configuration updates I
was working on. Changes are now out on the public dev branch.

There are two minor changes to the default configuration and data/config.wrj:


  • Server.CrowdSize is now the minimum number of player considered to be a
    crowd. Before it was the maximum number of players before being considered
    a crowd, which some people found a bit awkward. The default value is now
    11 instead of 10 — so 11 players, or more, is a crowd. The upshot is that
    if you have changed Server.CrowdSize in your configuration file you need
    to add one to the value, or crowds will be one player smaller. If you use
    the default configuration you need do nothing :)

  • A new Login.Timeout setting has been added, defaulting to ‘1m’ — 1 minute.
    Before this change Server.IdleTimeout was used to timeout idle players in
    the login/account menus as well as in-game. This new setting applies to
    idle players in the login/account menus only and is independent of the
    Server.IdleTimeout setting.


These changes are detailed in the docs/configuration-file.txt file. It should
be noted that not all configuration settings are honoured yet. So far the
following will have an effect:


  Server.Host
  Server.Port
  Server.IdleTimeout
  Inventory.CrowdSize
  Login.AccountLength
  Login.PasswordLength
  Login.SaltLength
  Login.Timeout
  Debug.LongLog


The server greeting may also be customised. The handling of the WOLFMUD_DIR
environment variable, configuration file and data directory are the same as
before, as detailed in the docs/running-the-server.txt file.

My implementation of configuration may be a little questionable. It works,
allows for runtime configuration, package configuration and should play nice
with the testing framework. Still to implement are:


  Server.MaxPlayers
  Server.LogClient
  Quota.Window
  Quota.Timeout
  Quota.Stats
  Stats.Rate
  Stats.GC
  Debug.Panic
  Debug.AllowDump
  Debug.AllowDebug
  Debug.Events
  Debug.Things


However, a lot of these features have not been implemented yet. I’ll probably
work on the debug features next, then stats and logging and maximum players.
I’m not too sure about the connection quota — are they really needed or should
a decent firewall be used? Once a few more features are available I’ll build
another beta release…

--
Diddymus


  Up to Main Index                          Up to Journal for December, 2021