Closed PatPeter closed 6 years ago
This is normal for duplicate Dictionary entries, I don't believe any YAML parser would allow you to do that. Plus this actually uses a dictionary so it totally will be affected in the same way.
That's my point: it shouldn't cause the server's netcode to fail to load just because of an invalid config setting. It should be updated with the most recent version of the config setting and start the server, just like the Source engine or Unreal engines do.
Well, even professional YAML parsers throw an exception for stuff like that
Kigen fixed it
Like issue #166, if multiple MultiAdmin keys are added to a server config on accident, for instance:
Then the config will fail to load and the Smod2 server will not start:
Notice that there is no mention of a port anywhere. Weirdly enough, I can still run Smod2 commands such as help and they work appropriately. It loads the console interface but not the networking.