Jump to content
Ozio.exe

CBA server addon options not working

Recommended Posts

I have recently made my own dedicated antistasi server and i got it to work completely fine, however i just wanted to change the TFRA settings so everyone spawns with a radio and i get a long range one. I cant do this however as the 'SERVER' tab is greyed out despite me being logged in as an admin and i cant edit anything in the missions tab either, i can only change the client which is overridden by the server. i tried importing settings and or adding the module to which i got this message:  "mpmissions\__cur_mp.Altis\mission.sqm/Mission/Entities/Item356.type: Vehicle class tfar_ModuleTaskForceRadioEnforceUsage no longer exists" I also had a go at adding the CBA settings sqf folder which didn't work and with filepatching enabled it prevented me from joining the server altogether.

 

Thanks in advance, im looking forward to play with my friends and i have had way too much stress over this server and am happy to co-operate with anyone seeking to help

Share this post


Link to post
Share on other sites

If i understand your issue correctly, then I had the same issue. this solution would allow you to alter cba settings server side (it will block any client, even admin fron changing things tho.) 

 

https://github.com/CBATeam/CBA_A3/wiki/CBA-Settings-System#userconfig

 

Check under USERCONFIG

 

It seems that you have looked into this already, but note that the cba_settings.sqf must be saved in the right folder (!) this was causing issues in our case. 

 

Arma 3\userconfig\cba_settings.sqf

 

Cheers vd

 

Share this post


Link to post
Share on other sites
1 hour ago, Ozio.exe said:

 with filepatching enabled it prevented me from joining the server altogether.

Be sure to set the filepatching to "2".

0 = off

1 = HC only

2 = All clients

Share this post


Link to post
Share on other sites
13 hours ago, Ozio.exe said:

I also had a go at adding the CBA settings sqf folder which didn't work and with filepatching enabled it prevented me from joining the server altogether.

file patching and the cba settings.sqf are done serverside, not on the client.

Also you can just put settings.sqf into mission folder, or just adjust mission settings.

 

Not sure why server tab is sometimes greyed out. I have heard about that problem a couple times already, it should never be greyed out as you should atleast be able to read the settings.

Share this post


Link to post
Share on other sites

@Vandeanson

Thanks for the reply, and though this may sound weird it is saved in the correct folder, but only because i created it as it wasn't there previously

 

The only reason i want to do this is to edit the cba settings for Task Force Radio Arrowhead and anytime i try anything that would make it work my screen flashes with this message constantly repeated: "mpmissions\__cur_mp.Altis\mission.sqm/Mission/Entities/Item356.type: Vehicle class tfar_ModuleTaskForceRadioEnforceUsage no longer exists"

 here is the "item356" in the mission.sqm file:

 

Spoiler

class Item356
        {
            dataType="Logic";
            class PositionInfo
            {
                position[]={3841.6819,32.406303,10857.633};
            };
            id=1542;
            type="tfar_ModuleTaskForceRadioEnforceUsage";
            class CustomAttributes
            {
                class Attribute0
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_radio_channel_password";
                    expression="_this setVariable ['radio_channel_password',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "STRING"
                                };
                            };
                            value="";
                        };
                    };
                };
                class Attribute1
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_RiflemanRadio";
                    expression="_this setVariable ['RiflemanRadio',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "BOOL"
                                };
                            };
                            value=1;
                        };
                    };
                };
                class Attribute2
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_radio_channel_name";
                    expression="_this setVariable ['radio_channel_name',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "STRING"
                                };
                            };
                            value="Arma 3 Antistasi";
                        };
                    };
                };
                class Attribute3
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_same_sw_frequencies_for_side";
                    expression="_this setVariable ['same_sw_frequencies_for_side',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "BOOL"
                                };
                            };
                            value=0;
                        };
                    };
                };
                class Attribute4
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_TeamLeaderRadio";
                    expression="_this setVariable ['TeamLeaderRadio',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "BOOL"
                                };
                            };
                            value=1;
                        };
                    };
                };
                class Attribute5
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_same_lr_frequencies_for_side";
                    expression="_this setVariable ['same_lr_frequencies_for_side',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "BOOL"
                                };
                            };
                            value=1;
                        };
                    };
                };
                class Attribute6
                {
                    property="tfar_ModuleTaskForceRadioEnforceUsage_terrain_interception_coefficient";
                    expression="_this setVariable ['terrain_interception_coefficient',_value,true];";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "SCALAR"
                                };
                            };
                            value=7;
                        };
                    };
                };
                nAttributes=7;
            };
        };
    };
    class Connections
    {
        class LinkIDProvider
        {
            nextID=1;
        };
        class Links
        {
            items=1;
            class Item0
            {
                linkID=0;
                item0=946;
                item1=947;
                class CustomData
                {
                    type="Sync";

 

its the same thing every single time and its getting really frustrating

Share this post


Link to post
Share on other sites

Sounds like either TFAR isnt loaded correctly or the mission your trying to run was made with an outdated mod, try going into your mission.sqm and delete any TFAR dependencies should be near the top (somewhere around line ~20-60 depending on how many mods were running). Then load the mission in the editor and replace any TFAR modules and that should solve the problem.

Share this post


Link to post
Share on other sites
14 hours ago, Ozio.exe said:

"mpmissions\__cur_mp.Altis\mission.sqm/Mission/Entities/Item356.type: Vehicle class tfar_ModuleTaskForceRadioEnforceUsage no longer exists"

You could just replace the vehicle class with something else.
Say

type="B_UGV_01_F"

That will make your mission loadable again, and then you can just delete the leftover stompers sitting in the world.

That error message has nothing to do with CBA settings though.

Share this post


Link to post
Share on other sites

@Dedmen

well it seems i have solved the first issue with that fix, but now i have a new message:

 

"You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.ace_rearm, ace_dragging, ace_cargo, ace_interaction, ace_explosives, task_force_radio_items"

 

Dispite me not touching ace at all?

Share this post


Link to post
Share on other sites
48 minutes ago, Ozio.exe said:

this may be a stupid question, but how do i find out what the TFAR dependencies are in the code?

search for "tfar" in notepad/notepad++.

 

Just now, Ozio.exe said:

"You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.ace_rearm, ace_dragging, ace_cargo, ace_interaction, ace_explosives, task_force_radio_items" 


you really shouldn't build missions with mods loaded that you don't intend to be part of the mission...
Needs to be deleted from the required addons list in the mission

  • Thanks 1

Share this post


Link to post
Share on other sites

sorry. i'm confused. I had ace enabled as ace is a part of my mission, and until now i had no problems

 

also i don't mean to add on here, and idk if you know anything about this; but none of the TFAR settings, dispite being shown to have changed (for the mission and client sides) have not taken any effect

Share this post


Link to post
Share on other sites

ace_rearm,

ace_dragging,

ace_cargo,

ace_interaction,

ace_explosives,

task_force_radio_items

 

Should all be listed under the required addons section at the top of the mission.sqm delete them. Ace doesn't use modules any more, its all CBA settings now, and the TFAR dependency is the bottom one.

Share this post


Link to post
Share on other sites

so i did a bit of testing and found out a main problem is my mods aren't loading correctly, so please tell me if you see any discrepancies:

 

Quote

@echo off
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\arma3server_x64.exe" "-profiles=C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server" -mods=@JSRS SOUNDMOD;@JSRS SOUNDMOD - Reloading Sounds;@JSRS SOUNDMOD - RHS  AFRF Mod Pack Sound Support;@JSRS SOUNDMOD - RHS GREF Mod Pack Sound Support;@JSRS SOUNDMOD - RHS USAF Mod Pack Sound Support;@task_force_radio;@RHSUSAF;@RHSGREF;@RHSAFRF;@Enhanced Movement;@CBA_A3;@Bullet Casings;@ACE Compat - RHS United States Armed Forces;@ACE Compat - RHS- GREF;@ACE Compat - RHS Armed Forces of the Russian Federation;@ace;@Enhanced Soundscape;  -config=serverconfig.cfg -port=2302 -world=empty 

Also i keep seeing  "UPNP failed" instead of "initialised", is that a problem if i already port forwarded Arma 3's ports?

Share this post


Link to post
Share on other sites

and now out of nowhere overnight i get this:

 

Warning: Current Steam AppId: 107410

  doesn't match expected value: 107410

Share this post


Link to post
Share on other sites
On 11/15/2019 at 11:20 PM, Ozio.exe said:

my mods aren't loading correctly

 

On 11/15/2019 at 11:20 PM, Ozio.exe said:

-mods

-mods parameter doesn't exist. The parameter to load mods is called -mod

If you have spaces in your foldernames you need to enclose the whole thing in quotes, like so -mod="@mod1;@mod2;@mod3"

Share this post


Link to post
Share on other sites

like this though:

"-mod=@mod1;@mod2;@mod3"

Share this post


Link to post
Share on other sites
46 minutes ago, .kju said:

like this though:

"-mod=@mod1;@mod2;@mod3"

Or like I posted it, personal preference.

Share this post


Link to post
Share on other sites

we had people with this not working. maybe it was fixed by now

Share this post


Link to post
Share on other sites

@Dedmen

I have everything all fixed now apart from my upnp failing, now only people on my LAN can join, noone else

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

×