Jump to content
Sign in to follow this  
nightshift

how to MISSIONS CYCLE every 24 or 48h hours ?

Recommended Posts

hey,

how can i create a server mission CYCLE switch the game mission every x hours?

// MISSIONS CYCLE (see below)

class Missions

{

class Mission1

{

template="Element_Crew_Trainingslager_01.Stratis";

difficulty="Regular";

};

};

....only switches the mission when the first is completed/failed

Share this post


Link to post
Share on other sites

you would have to run a batch file that shuts down the server and restarts it with a different config file with only 1 mission listed in the mission cycle parameters.

The only issue is, you wont be able to start the mission, just loadm it

Share this post


Link to post
Share on other sites

you could shut down the mission with an endmission trigger after the desired time and have the cycle load the next.

however as terox says you need at least one player for the next to get loaded

Share this post


Link to post
Share on other sites

do you know any code for a batch files which stops the correct arma3server.exe instance ?

i'am running 4 servers from 1(one) arma3server.exe

only 1 of these instances with everytime the same port should stop here and starts another map on the same port.

the other 3 instances should not restarted or effected in any form.

now i have 4simple batch files like this:

START C:\Gameserver\arma3server\arma3server.exe -port=2322 -exThreads=1 -config=C:\Gameserver\arma3server\serverconfig\server2.cfg -cfg=C:\Gameserver\arma3server\serverconfig\basic.cfg

this 4 times. There is no automatic windows startup or autorestart at a specific time or at crash.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×