Page MenuHomeFeedback Tracker

#include "\a3\..." in Description.ext not functional
Closed, DuplicatePublic

Description

When we try to use Predifined Params (from https://community.bistudio.com/wiki/Arma_3_Mission_Parameters#Predefined_Params), game crashes with the exception (for example)

ErrorMessage: Include file a3\Functions_F\Params\paramDaytimeHour.inc not found.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 8 x64
Operating System Version
1.98.146373
Category
Engine
Steps To Reproduce

In a new mission, create a [Description.ext] file then put these lines:

class Params {
	#define DAYTIMEHOUR_DEFAULT 7
	#include "\A3\Functions_F\Params\paramDaytimeHour.inc"
};

If this mission is not exported in a pbo file, all is ok.
But if the file is exported in a pbo file, when we go to the [RscDisplayServer] display or [RscDisplayRemoteMissions] display, the following error occurs:

Additional Information

If we start a server with the startup parameter [-config=config\server_test.cfg] with inside the parameter below, we can join the mission and modify parameters without any problems.

class Missions {
	class ARMA3 {
		template = MyTestMission.RV;
		difficulty = "Regular";
	};
};

However if we put the command [#missions], the error occurs.

I could notice ArmA load [a3\addons] only after we select a mission in those both displays, while those displays load all the [description.ext] of missions from the selected world.
That's why we obtain this error.

Event Timeline

Tequiller created this task.Jul 1 2020, 2:25 AM