Jump to content

RPT Spam


Recommended Posts

Hello,

 

Since I installed DZMS again it started spamming my RPT:

 

 
waitUntil {DZMSMajDone};
DZMSMajDone = nil;
};>
18:39:39 Error position: <DZMSMajDone};
DZMSMajDone = nil;
};>
18:39:39 Error Undefined variable in expression: dzmsmajdone
18:39:39 File z\addons\dayz_server\DZMS\Scripts\DZMSMajTimer.sqf, line 42
18:39:39 Error in expression <or Mission %1.",_varName];

 

and..

 

waitUntil {DZMSMinDone};
DZMSMinDone = nil;
};>
18:39:39 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
18:39:39 Error Undefined variable in expression: dzmsmindone
18:39:39 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42
18:39:39 Error in expression <or Mission %1.",_varName];

 

This is what the line 42 in the files show:

DZMSMinTimer:

waitUntil {DZMSMinDone};

DZMSMajTimer:

waitUntil {DZMSMajDone};
Link to comment
Share on other sites

I think it is because both DZMSMajDone and DZMSMinDone are "nil" and that is causing an error with waitUntil. I have changed mine to where both are initialized/set to "false" when the server starts and see if I still get the spam.

Link to comment
Share on other sites

A reinstall didn't fix it, but initializing both values to "false" did work. However, now I am getting a new error in the RPT

18:39:22 [DZMS]: Running Minor Mission SM6.
18:39:22 Error in expression <{
_findRun = false;
};
if (_isTavi AND (_tavHeight <= 185)) then {
_findRun = fa>
18:39:22   Error position: <_tavHeight <= 185)) then {
_findRun = fa>
18:39:22   Error Undefined variable in expression: _tavheight
18:39:22 File z\addons\dayz_server\DZMS\DZMSFunctions.sqf, line 106
18:39:26 Error in expression <[(_x select 0),(_x select 1)]
} forEach _aicskill;


_unit addEventHandler ["Kil>
18:39:26   Error position: <_aicskill;


_unit addEventHandler ["Kil>
18:39:26   Error Undefined variable in expression: _aicskill
18:39:26 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 101
18:39:26 Error in expression <[(_x select 0),(_x select 1)]
} forEach _aicskill;


_unit addEventHandler ["Kil>
18:39:26   Error position: <_aicskill;

and

18:55:07 [DZMS]: Running Major Mission SM5.
18:55:07 Error in expression <{
_findRun = false;
};
if (_isTavi AND (_tavHeight <= 185)) then {
_findRun = fa>
18:55:07   Error position: <_tavHeight <= 185)) then {
_findRun = fa>
18:55:07   Error Undefined variable in expression: _tavheight
18:55:07 File z\addons\dayz_server\DZMS\DZMSFunctions.sqf, line 106
18:55:10 Error in expression <[(_x select 0),(_x select 1)]
} forEach _aicskill;


_unit addEventHandler ["Kil>
18:55:10   Error position: <_aicskill;


_unit addEventHandler ["Kil>
18:55:10   Error Undefined variable in expression: _aicskill
18:55:10 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 101
18:55:10 Error in expression <[(_x select 0),(_x select 1)]
} forEach _aicskill;

The last part of each is repeated several times (probably for each AI). I am using the Napf map with only a couple of minor mods (maca134's Right Click Options To Items, self bloodbag, Welcome Credits, and a deployable vehicles that I am currently developing.)

Link to comment
Share on other sites

Open Scripts\DZMSMajTimer.sqf and search for:

DZMSMajDone = nil;

Change it to:

DZMSMajDone = false;

Next open Scripts\DZMSMinTimer.sqf and search for:

DZMSMinDone = nil;

Change it to:

DZMSMinDone = false;

Finally, open DZMSInit.sqf and search for:

DZMSUnitsMajor = [];

Below it, add:

// these tells us when the missions are done
DZMSMajDone = false;
DZMSMinDone = false;

Repack your server PBO and off you go. I haven't however, gotten around to fixing the other errors that are spamming the RPT.

Link to comment
Share on other sites

  • 1 month later...

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

×
×
  • Create New...