Darihon Posted May 5, 2014 Report Share Posted May 5, 2014 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 More sharing options...
TheFarix Posted May 6, 2014 Report Share Posted May 6, 2014 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 More sharing options...
insertcoins Posted May 6, 2014 Report Share Posted May 6, 2014 Someone had this same problem not so long ago, a reinstall fixed it. Link to comment Share on other sites More sharing options...
TheFarix Posted May 6, 2014 Report Share Posted May 6, 2014 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 More sharing options...
Darihon Posted May 9, 2014 Author Report Share Posted May 9, 2014 What do you mean, TheFarix? Just tried reinstall, didn't do good. Nothing changed.. Link to comment Share on other sites More sharing options...
TheFarix Posted May 9, 2014 Report Share Posted May 9, 2014 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 More sharing options...
Darihon Posted May 9, 2014 Author Report Share Posted May 9, 2014 Do they spam constantly or once? Otherwise I might remove the misison system and add an another one. Link to comment Share on other sites More sharing options...
TheFarix Posted May 9, 2014 Report Share Posted May 9, 2014 Spam when the AIs spawn. Basically the server is saying the variables aren't initialized, which should be easy enough to fix. Link to comment Share on other sites More sharing options...
Darihon Posted May 9, 2014 Author Report Share Posted May 9, 2014 Alright, thank you very much, TheFarix! Keep me up to date about the RPT, please. Link to comment Share on other sites More sharing options...
Pro_Speedy Posted July 6, 2014 Report Share Posted July 6, 2014 I don't have DZMSUnitsMajor = []; in my DZMS init so i just placed it at the bottom. Will that do? Link to comment Share on other sites More sharing options...
TheVampire Posted July 6, 2014 Report Share Posted July 6, 2014 I don't have DZMSUnitsMajor = []; in my DZMS init so i just placed it at the bottom. Will that do? Why don't you just download the newest copy of the DZMS Init? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now