A request to mod makers that have setup scripts
Posted: Fri Feb 24, 2017 1:42 am
In my time running Euro Friday Night Fragfest, I have had some difficulty in running setup scripts from a config file or from the command line as a + parameter. I believe what is going on is that configuration files and command line parameters are simply executed too soon - before the mod has a chance to load. Thus, everytime I load a mod that requires a setup script, I need to have somebody log in and execute an RCON command. This is...slightly inconvenient. More inconvenient if a server crashes, restarts, and requires the command be run again with no administrators around.
Now, there might be some method that I'm missing that can automatically run scripts on boot, and if so, please let me know.
Failing that, would it be too much trouble to have some method of bootstrapping the server automatically? Off the top of my head, the simplest way I think would probably be to replace MAP01 with a "Start Map" that maybe acts as sort of an introduction to the game, and the moment somebody joins the game, the setup script is fired. Another possibility is a global ACS script that detects when the playercount goes from 0 to 1, and the moment it does, fire the setup script.
Just a thought.
Now, there might be some method that I'm missing that can automatically run scripts on boot, and if so, please let me know.
Failing that, would it be too much trouble to have some method of bootstrapping the server automatically? Off the top of my head, the simplest way I think would probably be to replace MAP01 with a "Start Map" that maybe acts as sort of an introduction to the game, and the moment somebody joins the game, the setup script is fired. Another possibility is a global ACS script that detects when the playercount goes from 0 to 1, and the moment it does, fire the setup script.
Just a thought.