[Release] Read server configuration from single file

04/21/2018 00:36 mcoocr#1
Hey guys,

Tired of having all those wacky ini files for each server spamming your precious Program directory? :pimp:

I've done some modification to the read-routine which allows you to store your whole configuration in a single file -> config.ini
.. though i'm not sure if this was already released within some other source, but anyways here are the required snippets:


And finally your shiny new and delicious config.ini will look like this:

The additional configuration files IPCut.ini and pmttd.ini are loaded the usual way from their respective files. (they ain't necessary anyways)


cheers :D
04/21/2018 09:38 yazuka21#2
I think this is the same with, Seb's crappy source ?
04/21/2018 12:09 mcoocr#3
Quote:
Originally Posted by yazuka21 View Post
I think this is the same with, Seb's crappy source ?

I actually coded this on my own. Can‘t tell what Seb did cause i dont have access to that Source.


Gesendet von iPhone mit Tapatalk