Jump to content

[Release] DayZ Mission System


TheVampire

Recommended Posts

RPT?

17:27:30 [DZMS]: Running Minor Mission SM4.
17:27:31 Wrong text element 'null'
17:27:31 Wrong text element 'null'
17:27:31 Wrong text element 'null'
17:27:31 Wrong text element 'null'
17:27:32 Wrong text element 'null'
17:27:32 Wrong text element 'null'
17:27:32 Wrong text element 'null'
17:27:32 Wrong text element 'null'
17:27:32 UH60Wreck_DZ: MainTurret - unknown animation source mainTurret
17:27:32 UH60Wreck_DZ: MainGun - unknown animation source mainGun
17:27:32 UH60Wreck_DZ: MachineGun_1 - unknown animation source Gatling_1
17:27:33 Wrong text element 'null'
17:27:33 Wrong text element 'null'
17:27:33 Wrong text element 'null'
17:27:33 Wrong text element 'null'
17:27:33 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 3 units in mission.
17:27:34 Wrong text element 'null'
17:27:34 Wrong text element 'null'
17:27:34 Wrong text element 'null'
17:27:34 Wrong text element 'null'
17:27:34 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 6 units in mission.
17:27:35 Wrong text element 'null'
17:27:35 Wrong text element 'null'
17:27:35 Wrong text element 'null'
17:27:35 Wrong text element 'null'
17:27:36 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 9 units in mission.
17:27:36 Wrong text element 'null'
17:27:36 Wrong text element 'null'
17:27:36 Wrong text element 'null'
17:27:36 Wrong text element 'null'
17:27:37 [DZMS]: (DZMSUnitsMinor) Waiting for 9/9 Units or Less to be Alive and a Player to be Near the Objective.
 
Im trying to figure out why there are null errors, SO if you have any idea why, Please tell me.
 
THanks
Link to comment
Share on other sites

TheVampire, is there a way to add support for tasing the AI if added to overpoch? I'm looking for the damage handler but it doesn't appear to have one. A damage handler would be cool so if you shoot the AI in the leg then they can only crawl.

 

The AI should be using the default Arma damage handler, I just don't use a custom one for them. All I do is add an eventHandler for when they are killed.

Link to comment
Share on other sites

Update for my problem: It spawns the 2 missions properly with all the markers and text. But there are another 2 missions that will be spawned incorrectly, and by incorrectly, I mean no text, smaller marker than the other ones, one missions will have a GREEN marker, and the notifications pop up for half a second and it is always 1 line. Is there a problem with the timer or something? I did modify the "Epoch Events" Sections. Can that be the problem?

Link to comment
Share on other sites

Major EM1 if you added it to the DZMSMajorArray.

 

@Vampire:

 

I think in DZMS(Min|Maj)Timer.sqf the check

	//Let's check that there are missions in the array.
	//If there are none, lets end the timer.
	_cntMis = count DZMSMajorArray;
	if (_cntMis == 0) then { _run = false; };

should be placed before the loop. As it is, having an empty DZMS(Minor|Major)Array will throw NULL-errors becaus the loop is not 'break'ed.

Link to comment
Share on other sites

Major EM1 if you added it to the DZMSMajorArray.

 

@Vampire:

 

I think in DZMS(Min|Maj)Timer.sqf the check

	//Let's check that there are missions in the array.
	//If there are none, lets end the timer.
	_cntMis = count DZMSMajorArray;
	if (_cntMis == 0) then { _run = false; };

should be placed before the loop. As it is, having an empty DZMS(Minor|Major)Array will throw NULL-errors becaus the loop is not 'break'ed.

 

The loop should stop as soon as _run is false, although now I would use a exitWith instead.

It's far more likely someone would experience an error with a mission file missing instead of the array being empty anyways.

Link to comment
Share on other sites

DZMSMajorArray = ["SM1","SM2","SM3","SM4","SM5","SM6","EM1"];

in DZMSConfig.sqf, you might need to add the Epoch-only (supply) mission EM1 manually.

For the other question server rtp would help.

 

 

@Vampire:

 

I concur with the exitWith. As far as I know, when setting _run to false within the loop it neverless will finish the current iteration; all the _run=false does is to stop the loop at the next iteration when the while condition is checked.

 

Yes, it's far more likely, but on our servers we tried to run only the major missions and thus did a DZMSMinorArray = []; resulting in the error. Only thing it does is to throw the error once. Me being ocd about things like this, I just thought I'd mention it in case you'd want to include it in a even more final version ;-)

Link to comment
Share on other sites

DZMSMajorArray = ["SM1","SM2","SM3","SM4","SM5","SM6","EM1"];

in DZMSConfig.sqf, you might need to add the Epoch-only (supply) mission EM! manually.

For the other question server rtp would help.

 

 

 

Thanks for that, added it in :)

 

I can't provide the RPT log right now as the server is online, but will do soon.

Link to comment
Share on other sites

DZMSMajorArray = ["SM1","SM2","SM3","SM4","SM5","SM6","EM1"];

in DZMSConfig.sqf, you might need to add the Epoch-only (supply) mission EM! manually.

For the other question server rtp would help.

 

 

@Vampire:

 

I concur with the exitWith. As far as I know, when setting _run to false within the loop it neverless will finish the current iteration; all the _run=false does is to stop the loop at the next iteration when the while condition is checked.

 

Yes, it's far more likely, but on our servers we tried to run only the major missions and thus did a DZMSMinorArray = []; resulting in the error. Only thing it does is to throw the error once. Me being ocd about things like this, I just thought I'd mention it in case you'd want to include it in a even more final version ;-)

 

 

I'm not sure, but I do believe you are right. I have learned quite a bit of coding since I originally released this. :P

I'll make a mental note of it if I plan to update DZMS anymore.

Link to comment
Share on other sites

Having a serious issue that is spamming my RPT with hundreds of thousands of lines of text, of which is probably going to get me some unwanted negative attention from my host rather soon.

 

RPT:

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

 

Same error just keeps repeating itself over 20-30 times a second.

Only thing I have done to DZMS is add Overpoch weapon loot of which has no errors what-so-ever.

Link to comment
Share on other sites

I get this error in my .RPT I am on ArmA II 125548
 
0:02:43 [DZMS]: Starting DayZ Mission System.
 0:02:43 [DZMS]: Relations not found! Using DZMS Relations.
 0:02:43 [DZMS]: Currently Running Version: 1.1FIN
 0:02:43 [DZMS]: Mission and Extended Configuration Loaded!
 0:02:43 [DZMS]: chernarus Detected. Map Specific Settings Adjusted!
 0:02:43 [DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!
 0:02:43 [DZMS]: Loading ExecVM Functions.
 0:02:43 [DZMS]: Loading Compiled Functions.
 0:02:43 [DZMS]: Loading All Other Functions.
 0:02:43 [DZMS]: Mission Functions Script Loaded!
 0:02:43 [DZMS]: Minor Mission Clock Starting!
 0:02:43 [DZMS]: Major Mission Clock Starting!
 0:02:43 [DZMS]: Mission Marker Loop for JIPs Starting!
 0:04:54 [DZMS]: Running Major Mission SM4.
 0:05:00 [DZMS]: (DZMSUnitsMajor) 6 AI Spawned, 6 units in mission.
 0:05:03 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
 0:05:06 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 10 units in mission.
 0:05:13 Error in expression <"magazines") select 0;
 
_fin = [_weapon,_magazine];
 
_fin
};
 
 
DZMSGetVeh = {
pr>
 0:05:13   Error position: <_magazine];
 
_fin
};
 
 
DZMSGetVeh = {
pr>
 0:05:13   Error Undefined variable in expression: _magazine
 0:05:13 File z\addons\dayz_server\Custom\DZMS\DZMSFunctions.sqf, line 206
 0:05:13 Error in expression <"_i" from 1 to 3 do {
_unit addMagazine _magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error position: <_magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error Undefined variable in expression: _magazine
 0:05:13 File z\addons\dayz_server\Custom\DZMS\Scripts\DZMSAISpawn.sqf, line 72
 0:05:13 Error in expression <"_i" from 1 to 3 do {
_unit addMagazine _magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error position: <_magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error Undefined variable in expression: _magazine
 0:05:13 File z\addons\dayz_server\Custom\DZMS\Scripts\DZMSAISpawn.sqf, line 72
 0:05:13 Error in expression <"_i" from 1 to 3 do {
_unit addMagazine _magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error position: <_magazine;
};
_unit addWeapon _weapon;
_>
 0:05:13   Error Undefined variable in expression: _magazine[ /spoiler]
Link to comment
Share on other sites

DZMSPurgeObject = {
_>
0:13:05 Error Undefined variable in expression: _sleeptime
0:13:05 File z\addons\dayz_server\DZMS\DZMSFunctions.sqf, line 253
0:13:11 Error in expression <nterval; (diag_tickTime - _startTime) > _sleepTime;};
};


DZMSPurgeObject = {
_>
0:13:11 Error position: <_sleepTime;};
};

 

There is a lot of this in my logs.

 

Arma 2 latest and Epoch 1.0.5.1

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...