Page MenuHomeFeedback Tracker

Dedicated server crashes after briefing
Assigned, WishlistPublic

Description

Working on a mod/missionmode.

Since the recent updates for the "Win" staging (or Zeus), the DS crashes every time the mission is launched.

I've reverted to a previous mod build (from 2 weeks ago) to make sure it's nothing I've done.

The exception code error in the rpt is similar to the ones in this thread:

http://forums.bistudio.com/showthread.php?174149-Multiple-crash-with-1-12 {F23508}

Details

Legacy ID
2844762856
Severity
None
Resolution
Open
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

I can't really upload the mod and mission files here as it's a MANW entry so I hope the crash dump files will suffice.

Event Timeline

DasAttorney edited Additional Information. (Show Details)
DasAttorney set Category to Game Crash.
DasAttorney set Reproducibility to Always.
DasAttorney set Severity to None.
DasAttorney set Resolution to Open.
DasAttorney set Legacy ID to 2844762856.May 7 2016, 6:13 PM

I am experiencing the same problem. Dedicated server is crashing as soon as mission launches. This is happening since I updated the servers to 1.14.116216. There was no change in the mission I am hosting.

I found what causes the crash (at least on my mission). When players are spawned, they are a civilian unit and a respawn.sqf is ran to change them to independent. The respawn template looks like this:

class CfgRespawnTemplates
{
// Class used in respawnTemplates entry
class horde_respawn
{

		// Function or script executed upon death. Parameters passed into it are the same as are passed into onPlayerKilled.sqf file
		onPlayerKilled = "\skynet\scripts\killed.sqf";
		// Function or script executed upon respawn. Parameters passed into it are the same as are passed into onPlayerRespawn.sqf file
		onPlayerRespawn = "\skynet\scripts\respawn.sqf";
		// Default respawn delay (can be overwitten by description.ext entry of the same name)
		respawnDelay = 20;

};
class Spectator
{

		onPlayerRespawn = "BIS_fnc_respawnSpectator";

};
};

//

In the respawn.sqf, there is some code which causes the DS to crash:

_group = group _unit;
_newGroup = createGroup independent;
[_unit] joinSilent _newGroup;
_newGroup selectLeader _unit;
deleteGroup _group;

Commenting it out stops the crash.

Hope that helps you.

EDIT: Very similar to this issue: http://feedback.arma3.com/view.php?id=17989

Small update.

If I spawn the code with a sleep of say 10 seconds, then it stops the DS crashing. It seems to only crash if ran directly in the respawn.sqf.

So I would say that for me this issue is resolved - weird that it didn't used to do this in previous builds but now does for some reason.