Jump to content
KarmaT UK

Using lobby params makes me crash

Recommended Posts

Hey guys, so I stuck this in my description.ext 

 

Copy paste from the wiki page

https://community.bistudio.com/wiki/Arma_3_Mission_Parameters

 

class Params
{
    #define DAYTIMEHOUR_DEFAULT 14
    #include "\a3\functions_f\Params\paramDaytimeHour.hpp"
    
    #define WEATHER_DEFAULT    40
    #include "\a3\functions_f\Params\paramWeather.hpp"

    #define TIMEACCELERATION_DEFAULT 1
    #include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp"

    #define VIEW_DISTANCE_MIN 500
    #define VIEW_DISTANCE_MAX 3000
    #define VIEW_DISTANCE_DEFAULT 1000
    #include "\a3\Functions_F_Heli\Params\paramViewDistance.hpp"

};

 

Now when I start the mission in the editor all is well. I can select all the params, change them etc, all works. 

 

But if I export the mission, then go from main menu Multiplayer>Server Browser it crashes to desktop with an error that it cant find

 

"\a3\functions_f\Params\paramDaytimeHour.hpp"

 

Is this something I need to include in my mission folder? I thought it was a default thing, all my lines above were just copy pasted from the wiki, and it worked in the editor just fine 😞

 

Share this post


Link to post
Share on other sites

Hi thanks for the reply but I can fix it by deleting the mission, that's not really a problem,  Its getting it to actually work right when it is in there I need help with 🙂

Share this post


Link to post
Share on other sites

I guess the reddit post means to delete all OTHER missions from all possible mission files holding folders because it could conflict.

I had such things in the past that I had different versions of the same mission in different folders and they did conflict.

Share this post


Link to post
Share on other sites

I could try but if it threw the error once and I don't change anything then wont it just do it again?

 

I mean my server browser is working fine now, just not when that mission is present. Il have a look in the other folders and try exporting again now 🙂

Share this post


Link to post
Share on other sites

Cleaned it out of everywhere (except my original in player profile) but same result when I export it. The server browser crashes the game, then when I delete it from MPmissions works again.

Im thinking its got to be something wrong with my description.ext this is the entire thing...


class CfgFunctions 
{
    #include "LVR\functions\functions.hpp"
};  

class Params
{
    #define DAYTIMEHOUR_DEFAULT 14
    #include "\a3\functions_f\Params\paramDaytimeHour.hpp"
    
    #define WEATHER_DEFAULT    40
    #include "\a3\functions_f\Params\paramWeather.hpp"

    #define TIMEACCELERATION_DEFAULT 1
    #include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp"

    #define VIEW_DISTANCE_MIN 500
    #define VIEW_DISTANCE_MAX 3000
    #define VIEW_DISTANCE_DEFAULT 1000
    #include "\a3\Functions_F_Heli\Params\paramViewDistance.hpp"

};

respawnOnStart = 0;
disabledAI = 1;

corpseManagerMode = 1;
corpseLimit = 10;
corpseRemovalMinTime = 10;
corpseRemovalMaxTime = 120;
overviewPicture = "pic1.jpg";

Share this post


Link to post
Share on other sites

https://community.bistudio.com/wiki/Arma_3_Mission_Parameters

Quote

Param templates currently don't work with PBO missions manually copied to MPMissions folder. Unpacked missions, Steam missions and missions which are part of an addon works correctly.

 

I guess you 've to create it manually instead of using the templates.

Share this post


Link to post
Share on other sites

Just tried leaving it unpacked and it works, I did see that and thought maybe the export procedure sorted it out, but I guess it dosent do anything special. Oh well I guess il just leave these ones unpacked, that dosent cause any issues does it?

 

I had another look and I don't know if il be able to do that manual way at the top of the page, bit complicated for me lol

Share this post


Link to post
Share on other sites
7 hours ago, KarmaT UK said:

#include "\a3\functions_f\Params\paramDaytimeHour.hpp"

BI broke this when they introduced 3DEN.

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

×