( search forums )
soldat.ini read at startup
Soldat Forums - Server Talk - Server Help
Deleted User
June 10, 2005, 10:53 am
Michal,

You have soldat.ini being read at startup, even when you tell the exe via command line to read a specific config file.

Can this please be fixed, so that I dont have to specify a dummy admin password and turn off logging in soldat.ini so the server will start correctly when using an alternate config.

Thanks.

Deleted User
June 10, 2005, 11:22 am
what is this? the contents of a private message to MM?

You would have better luck PM'ing him..

Michal Marcinkowski
June 10, 2005, 4:14 pm
You mean you want it working without the soldat.ini file in the directory?

Deleted User
June 10, 2005, 7:01 pm
Hey Michal,

To elaborate, heres how I launch a server:

soldatserver.exe 31000 8 soldat_31000.ini maplist_31000.txt

The server does run on port 31000, use maxplayers of 8, and read its config from soldat_31000.ini and also uses the maplist from maplist_31000.txt

The problem though, is before it even reads soldat_31000.ini etc, it first reads soldat.ini for settings. This is a problem because, it forces me to specify an admin password in soldat.ini (and disable file logging in the ini) as that file is read first, and the server will shutdown when it finds no admin password (an admin password IS set in soldat-31000.ini).

Heres whats happening:

soldatserver.exe 31000 8 soldat_31000.ini maplist_31000.txt
-> Soldatserver reads soldat.ini
-> Soldatserver now reads soldat_31000.ini

It should *only* read soldat_31000.ini, since I told it to use/read that config file via the commandline.

Michal Marcinkowski
June 10, 2005, 10:25 pm
Sure I can do it to read only the specified config file, in the next patch. However I don't understand what is the problem because when it reads soldat.ini it immediately overreads with the new config, nothing happens inbetween.

Deleted User
June 11, 2005, 11:21 am
There was a problem for me.

It read the soldat.ini which had no admin password defined, and then the server quit.

It didnt even bother checking the file I had specified on the commandline, if there was a password set in the config file I was telling it to use.

Deleted User
June 14, 2005, 7:11 am
This been acknowledged as a problem?

Michal Marcinkowski
June 14, 2005, 2:50 pm
Yeah I'll fix it.

Deleted User
June 16, 2005, 4:15 pm
Thanks Michal.