Pikey Posted March 20, 2015 Share Posted March 20, 2015 (edited) Hi, i'm struggling with getting the two working together, I can get either of them working on their own. I'd ditch Servman if SLMOD had the AUTO restart function or someone can point me towards how to do that from the chat (or from inside the mission) thanks Edited March 20, 2015 by Pikey ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * Link to comment Share on other sites More sharing options...
Pikey Posted March 20, 2015 Author Share Posted March 20, 2015 I'm thinking these two lines in slmod are key, i'm just not good with scratch LUA as i'd like to create a trigger from a mission event for this slmod.scheduleFunctionByRt(slmod.basicChat, {'Slmod: admin "' .. AdminName .. '" is restarting the mission.'}, net.get_real_time() + 0.1) -- scheduled so that reply from Slmod appears after your chat message. slmod.scheduleFunctionByRt(net.load_mission, {slmod.current_mission}, net.get_real_time() + 5) ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * Link to comment Share on other sites More sharing options...
Wrecking Crew Posted March 21, 2015 Share Posted March 21, 2015 I run Slmod on Hollo Pointe. Admins can restart a mission from text chat with '-admin restart'. Or load with -admin load... For an 'auto' restart, do you mean restart from Pause when someone Joins, or restart after the mission is complete? I have not used Servman. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
Wrecking Crew Posted March 21, 2015 Share Posted March 21, 2015 For a restart after a mission is complete, I do that in the mission's event logic. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
Recommended Posts