Page MenuHomeFeedback Tracker

Using #missions crashes if you use #include
Closed, DuplicatePublic

Description

I have a mission that crashes when using '#missions' as admin. I have narrowed down the problem to my description.ext. In it, I use...

#include "\x\cba\addons\main\script_macros_mission.hpp

to utilize CBA's macros. So every time I use '#missions' as admin the server will crash and throw an error on the server.

The error was reported to CBA but there is nothing they can do as it's an issue with the engine it seems. Refer here to the CBA post: https://github.com/CBATeam/CBA_A3/issues/240

"It's a game feature/issue - when you do "#missions", the game will work through all MP missions and do some parsing of the description.ext files in all of them. If a mission tries to include a CBA file and CBA isn't loaded, the game crashes.
Not a CBA issues - the crash will occur every time a file in a #include-statement cannot be found." - Killswitch00

Details

Legacy ID
1125380193
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Load a mission and in the description.ext add this... #include "\x\cba\addons\main\script_macros_mission.hpp
  1. Load the mission on a dedicated server.
  1. Login as admin and type in the chat box "#missions"

Event Timeline

dixon13 edited Steps To Reproduce. (Show Details)Jan 18 2016, 9:13 PM
dixon13 set Category to Scripting.
dixon13 set Reproducibility to Always.
dixon13 set Severity to None.
dixon13 set Resolution to Open.
dixon13 set Legacy ID to 1125380193.May 8 2016, 1:31 PM

Hello,

could you please send us a repro mission (preferably with steps on how to repro this properly) and report logs generated in the session when you encountered this issue?

Thank you