• 0
UV

Cant get A3xai radio's to work

Question

Posted (edited)

am having problems with A3XAI radios have installed everything corectly as far as i can tell  A3XAI all working but  cant seem to get the radios  to work,   have everything in correct places,  have  the radios turned on in the configs  but  still they dont work   and keep getting these errors :

 

2:25:25 "[A3XAI] A3XAI settings: Debug Level: 0. WorldName: altis. VerifyClassnames: true. VerifySettings: true."
 2:25:25 "[A3XAI] AI spawn settings: Static: true. Dynamic: true. Random: true. Air: true. Land: true. UAV: true. UGV: false."
 2:25:25 "[A3XAI] A3XAI loading completed in 0.0139999 seconds."
 2:25:25 "Arma3/BIS_fnc_log: [preInit] A3XAI_fnc_A3XAI_init (118 ms)"
 2:25:25 Error in expression <ltis\A3XAI_Client\A3XAI_initclient.sqf"
if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error position: <if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error Missing ;
 2:25:25 File mpmissions\__cur_mp.altis\A3XAI_Client\A3XAI_initclient.sqf, line 1
 2:25:25 Error in expression <ltis\A3XAI_Client\A3XAI_initclient.sqf"
if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error position: <if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error Missing ;
 2:25:25 File mpmissions\__cur_mp.altis\A3XAI_Client\A3XAI_initclient.sqf, line 1
 2:25:25 Connected to Steam servers
 2:25:25 Error in expression <ltis\A3XAI_Client\A3XAI_initclient.sqf"
if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error position: <if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error Missing ;
 2:25:25 File mpmissions\__cur_mp.altis\A3XAI_Client\A3XAI_initclient.sqf, line 1
 2:25:25 Error in expression <ltis\A3XAI_Client\A3XAI_initclient.sqf"
if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error position: <if (hasInterface) then {
_nul = [] spawn>
 2:25:25   Error Missing ;
 2:25:25 File mpmissions\__cur_mp.altis\A3XAI_Client\A3XAI_initclient.sqf, line 1

 

 

that tells me im missing a ;   from line 1 ?   but  the file is  correct   as far as i can tell ( pretty new to server side stuff so :/ )

heres the code for the A3XAI_initclient.sqf:

if (hasInterface) then {
    _nul = [] spawn {
        waitUntil {uiSleep 1; alive player};
        waitUntil {uiSleep 1; (typeOf player) isEqualTo "Exile_Unit_Player"};
        #include "A3XAI_client_version.txt"

        call compile preprocessFileLineNumbers "A3XAI_Client\A3XAI_client_config.sqf";
        call compile preprocessFileLineNumbers "A3XAI_Client\A3XAI_client_verifySettings.sqf";
        call compile preprocessFileLineNumbers "A3XAI_Client\A3XAI_client_functions.sqf";

        if (A3XAI_client_radio) then {
            "A3XAI_SMS" addPublicVariableEventHandler {(_this select 1) call A3XAI_client_radioMessage; diag_log _this;};
        };

        //No longer needed, A3XAI sends kill messages through Exile's messaging system nonglobally.
        /*
        if (A3XAI_client_deathMessages) then {
            "A3XAI_killMSG" addPublicVariableEventHandler {(_this select 1) call A3XAI_client_killMessage; diag_log _this;};
        };
        */

        diag_log format ["[A3XAI] Initialized %1 version %2. Radio enabled: %3.",A3XAI_CLIENT_TYPE,A3XAI_CLIENT_VERSION,A3XAI_client_radio];
    };
    
};

 

 

can anyone give me any help  with this please  ???   as determined  to get this working 
 

Edited by UV

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0
19 minutes ago, UV said:

if (hasInterface) then {
    _nul = [] spawn {

try and change it to this

if (hasInterface) then {
    _nul = [] spawn }

i dont know what the  A3XAI_initclient.sqf  file looks like so maybe that might fix

Share this post


Link to post
Share on other sites
  • 0

WAIT IM SORRY DONT DO THAT

I see your error... i think lol

22 minutes ago, UV said:

if (A3XAI_client_radio) then {
            "A3XAI_SMS" addPublicVariableEventHandler {(_this select 1) call A3XAI_client_radioMessage; diag_log _this;};
        };

change to 

diag_log _this};

 

maybe? i havent worked with this before

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Posted (edited)

will  give it a try  see what happens,   

tried  that   didnt work  still same error

Edited by UV
1 person likes this

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, UV said:

this is  both already  done     

 

Post your init.sqf please.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

8 minutes ago, BetterDeadThanZed said:

Post your init.sqf please.

[] execVM "Custom\EnigmaRevive\init.sqf"; ///For Revie
 


call ExileClient_system_map_initialize

    #include "A3XAI_Client\A3XAI_initclient.sqf";   /////FOR RADIO
 

Edited by UV

Share this post


Link to post
Share on other sites
  • 0

@BetterDeadThanZed idk what hes doing wrong. Maybe you can get it for him. i havent worked with this AI system before so i wouldnt know what to look for exactly

Share this post


Link to post
Share on other sites
  • 0

Move "call ExileClient_system_map_initialize" to the bottom of init.sqf and see if that makes a difference. I'm not sure that's even needed anymore. I've read that the problem that fixed has been fixed but some people argue otherwise. If that doesn't work, redownload A3XAI and replace the client files in case the ones you have are corrupted. There's nothing to edit in those files.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

If you're running 1.6 the safezone fix is no longer required.  People have complained that they were still having the issue regardless of fix. I'm left to assume they're still using class sensors vs class markers. What your issue is, is that the server isn't reading past the safezone fix because there is no ; to signify that the line has ended, so it thinks it's the end of the script. With the semicolon in place, it doesn't matter where the line is placed.

Edited by oSoDirty

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.