egami Posted November 26, 2019 Posted November 26, 2019 Hi all, What would be a common cause for the dedicated server to not auto load the missions in the configuration? It seems that whenever I start the server I have to go to the DCS Website to use the server admin page to load a mission. Is this the intended way for this to happen or am I missing something?
ViFF Posted November 26, 2019 Posted November 26, 2019 I would check your ServerSettings.lua The line ["current"] in the example below (in bold) determines the mission that will be loaded when you start the dedicated server. So essentially it will look for the mission file "C:\\Users\\ViFF\\Saved Games\\Missions\\General Air to Ground Training.miz" and try to load it. I would also check if the file is really there at that address and the playlist file is correct. cfg = { ["listShuffle"] = true, ["current"] = 2, ["isPublic"] = true, ["description"] = "ViFFs Training Server", ["require_pure_textures"] = true, ["missionList"] = { [1] = "C:\\Users\\ViFF\\Saved Games\\Missions\\Viper Training v2.miz", [2] = "C:\\Users\\ViFF\\Saved Games\\Missions\\General Air to Ground Training.miz", [3] = "C:\\Users\\ViFF\\Saved Games\\Missions\\General Air to Air Training.miz", }, -- end of ["missionList"] ["uri"] = "startServer", ["advanced"] = {... Cheers! IAF.ViFF http://www.preflight.us Israel's Combat Flight Sim Community Website
egami Posted November 28, 2019 Author Posted November 28, 2019 Thanks ViFF, unfortunately that variable is set but the server does not auto start. Still have to go manually start it through the web manager.
xcom Posted November 30, 2019 Posted November 30, 2019 you need to run it with -server argument or simply run the dcs dedicated server install. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
egami Posted December 2, 2019 Author Posted December 2, 2019 That is also what I am doing but still no avail.
Pikey Posted March 8, 2020 Posted March 8, 2020 I must be missing something. We used to have a line Ciribob made for autostarting a mission. I figured it should do this now automatically if [listLoop] = true but my dedicated has to be manually started by the webgui to get it to load the only miz in the list. What am I missing? ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts