07-08-2006, 07:37 AM
Thanks for you reply.
That would be an option, but for one thing. I want to maintain more than one srcds instance at a time. My tool allows this, and it works quite well. So obviously I would need to be able to have a config file per game. And I've actually tried that before.
I wanted to try and spawn a config file for each instance and just instruct the instance to use the newly created config file, but that also did not work. It does not parse the created config file as instructed. I attempted to do this using the following command:
srcds.exe -exec myfile.cfg ..... other params
Although myfile.cfg exists, it does not execute it and load the hostname specified in it. I also deleted the server.cfg file which it used to parse just to make sure that it does not override this one, but with no luck - it just reverts back to default.
I'm open for creative suggestions, but unfortunately I couldn't get this to work. Maybe if you could help me with the syntax to instruct it to run a different config file through the command arguments I can try it again.
Even if i can just get an indication whether it is in fact possible to (a) set the hostname through the command arguments or (b) instruct srcds to use a specific config file through the command arguments, it would be GREATLY appreciated.
That would be an option, but for one thing. I want to maintain more than one srcds instance at a time. My tool allows this, and it works quite well. So obviously I would need to be able to have a config file per game. And I've actually tried that before.
I wanted to try and spawn a config file for each instance and just instruct the instance to use the newly created config file, but that also did not work. It does not parse the created config file as instructed. I attempted to do this using the following command:
srcds.exe -exec myfile.cfg ..... other params
Although myfile.cfg exists, it does not execute it and load the hostname specified in it. I also deleted the server.cfg file which it used to parse just to make sure that it does not override this one, but with no luck - it just reverts back to default.
I'm open for creative suggestions, but unfortunately I couldn't get this to work. Maybe if you could help me with the syntax to instruct it to run a different config file through the command arguments I can try it again.
Even if i can just get an indication whether it is in fact possible to (a) set the hostname through the command arguments or (b) instruct srcds to use a specific config file through the command arguments, it would be GREATLY appreciated.