Jump to content

Multiplayer mission fails and ends after 5 minutes


Recommended Posts

RealTimeSpaceman
Posted

Hi guys, the title says it all really, I'm creating a bombing mission in the easy mission generator, set up as a dogfight with both sides having 5 targets to bomb but players can only join the Allied side

Then using a dedicated server to host the mission, joining with a friend but after 5 minutes flying and not encountering any enemy aircraft, we are suddenly dumped out of the mission with a message saying that the mission failed

 

Any idea what is going on or how I can prevent this behaviour?

 

Very very new to this so I am undoubtedly doing something dumb!!

Posted (edited)
5 hours ago, RealTimeSpaceman said:

Hi guys, the title says it all really, I'm creating a bombing mission in the easy mission generator, set up as a dogfight with both sides having 5 targets to bomb but players can only join the Allied side

Then using a dedicated server to host the mission, joining with a friend but after 5 minutes flying and not encountering any enemy aircraft, we are suddenly dumped out of the mission with a message saying that the mission failed

 

Any idea what is going on or how I can prevent this behaviour?

 

Very very new to this so I am undoubtedly doing something dumb!!

 

Two things:

 

1) By default the side wins that achieves all it's objectives first. If there is only one objective, then it is possible that the other side has achieved their only objective (maybe they started near the target, maybe some friendly planes crashed into each other thus counting towards success) while you are still flying to the target.

 

2) When you start a server you need to define the delay time after the mission's win/loose criteria have been met. This is NOT a setting in EMG, but in you server config file (.sds)  By default it is very short. Here is the line in the example file:

missionEndTimeout=60        // (=60 in both)                Timeout after victory conditions achieved (no round remained or all flags captured) and before mission ending

 

So if 1) happens, after 60 seconds (!) the mission will end.

 

If you start the server from within the game look for this setting:

image.png.50a983593905c197497c9d6213a4a060.png

 

Solution: Change the missionEndTimeout mission to a higher value or choose more objectives or both.

 

 

 

Edited by SYN_Vander
  • Like 1
RealTimeSpaceman
Posted

@SYN_Vander Many thanks for the response, we will try increasing that timer and try again. I'm slightly confused as I thought I had set 5 bombing targets per side

 

Are there any log files that can tell me what objectives were completed at what times?

RealTimeSpaceman
Posted

What we have confirmed is that the axis side is declared the victor as soon as the mission stars, so right now all we can do is set the mission completion timeout to however long we want the mission to last

 

Will try to generate again with some different options. Still no idea what I've done wrong!

Posted
3 hours ago, RealTimeSpaceman said:

What we have confirmed is that the axis side is declared the victor as soon as the mission stars, so right now all we can do is set the mission completion timeout to however long we want the mission to last

 

Will try to generate again with some different options. Still no idea what I've done wrong!


If you post the mission here I can check if it’s caused by a bug in EMG

Posted

I don't see anything strange. It would be impossible that all 5 objectives have been completed so soon. So I wonder if it's another setting in your multiplayer server setup. Can you share the <dogfight>.sds file? Or a screenshot of the settings if you host from within the game?

RealTimeSpaceman
Posted

We are runnig a dedicated server, here are the settings!

image.png?ex=65de51da&is=65cbdcda&hm=c68f45ac42a0fdcd43281f7f5d74030a1c4c0897e4f20dfedd4f8432af376e46&=

  • 2 months later...
Posted (edited)

I have tdmRoundTime=6000 in my server setting. Perhaps you have to use either tdmPointsPerRound or tdmRoundTime , but can't set both to -1 ?

Edited by SYN_Vander
  • Like 1
Posted

I'll test this tomorrow. I really appreciate you getting back to me, I'm sure you're busy making (flight) magic for the rest of the community, so thanks again :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...