Jump to content
  • 0

DZMS error OverPoch Taviana


oSoDirty

Question

I use DZMS along side of WAI in my chernarus overpoch server with no errors but on taviana i get this error on every major mission finish. But everything mission wise is fine, all items and ai spawn/despawn properly as well as displayed messages.

 

 

waitUntil {DZMSMajDone};
DZMSMajDone = nil;
};>
 0:58:38   Error position: <DZMSMajDone};
DZMSMajDone = nil;
};>
 0:58:38   Error Undefined variable in expression: dzmsmajdone
 0:58:38 File z\addons\dayz_server\DZMS\Scripts\DZMSMajTimer.sqf, line 42
 0:58:38 Error in expression <or Mission %1.",_varName];
 
 
any ideas or fixes? 
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Can you paste the contents of line 42 of the DZMSMajTimer.sqf file - plus about 10 lines above/below it too? (Just select the lot and paste into here, but wrap it in [ spoiler ] [/ spoiler ] (without the spaces!)

 

 

Sure can, Thanks in advance.

 

  // clean up all the existing units before starting a new one

    {if (alive _x) then {_x call DZMSPurgeObject;};} forEach DZMSUnitsMajor;
   
    // rebuild the array for the next mission
    DZMSUnitsMajor = [];
   
        //Let's Run the Mission
        [] execVM format ["\z\addons\dayz_server\DZMS\Missions\Major\%1.sqf",_varName];
        diag_log text format ["[DZMS]: Running Major Mission %1.",_varName];
       
        //Let's wait for it to finish or timeout
        waitUntil {DZMSMajDone};         <- line 42
        DZMSMajDone = false;
};

 
 
thats line 32 to end      
Link to comment
Share on other sites

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
  • Discord

×
×
  • Create New...