[Support] DZMS DayZ Mission System

One issue I've noticed that a player showed me is that you can fly a helicopter or drive a vehicle into the capture point then retreat and wait for the AI to despawn. I'm running an older version of this since it seemed pretty solid with no issues, but was wondering if it was ever fixed or if anyone else has noticed players doing this.
 
One issue I've noticed that a player showed me is that you can fly a helicopter or drive a vehicle into the capture point then retreat and wait for the AI to despawn. I'm running an older version of this since it seemed pretty solid with no issues, but was wondering if it was ever fixed or if anyone else has noticed players doing this.

If you change the AI Kill Percentage so that a certain percent of the AI need to be killed before he mission will complete, this will not happen. (Unless this is something different)
 
I tried searching, but didn't really find a good answer:

If a vehicle is not specified in dynamic_vehicle.sqf will it still spawn and function properly and save to the database with the mission system?

What I'm trying to accomplish is that the dynamic spawner only spawns civilian type vehicles but players can acquire the higher value armed vehicles by completing missions.
 
If you change the AI Kill Percentage so that a certain percent of the AI need to be killed before he mission will complete, this will not happen. (Unless this is something different)
I had forgotten about that option!
 
Does this work with 1.8.2?

It should work fine, but some people were reporting that vehicles were blowing up randomly, even with vehicle saving off. If you hardcode Epoch mode to be off in DZMSInit, that shouldn't happen.

I tried searching, but didn't really find a good answer:

If a vehicle is not specified in dynamic_vehicle.sqf will it still spawn and function properly and save to the database with the mission system?

What I'm trying to accomplish is that the dynamic spawner only spawns civilian type vehicles but players can acquire the higher value armed vehicles by completing missions.

If a vehicle is in the dynamic vehicle list, it will spawn on the map. That is the only purpose of the dynamic vehicle list. Vehicles spawned that are not on the list will function fine, and save if added to the hive. DZMS has a vehicle saving mode in the config that will make the mission vehicles at completed missions save to the hive. (If it causes issues though, turn it off. If it's not working I can't give much support on it)
 
Hi Vampire and all:
Have been getting a few errors listed below: any idea what is causing these ?

getting these errors in RPT:

8:28:30 [DZMS]: Running Major Mission SM1.
8:28:37 "TIME SYNC: Local Time set to [2013,8,3,4,28]"
8:29:13 [DZMS]: (DZMSUnitsMajor) 5 AI Spawned, 5 units in mission.
8:29:17 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
8:29:17 Error position: <_actionSet) then {
s_player_holderPickup>
8:29:17 Error Undefined variable in expression: _actionset
8:29:17 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
8:29:36 [DZMS]: (DZMSUnitsMajor) 5 AI Spawned, 10 units in mission.
8:29:37 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
8:29:37 Error position: <_actionSet) then {
s_player_holderPickup>
8:29:37 Error Undefined variable in expression: _actionset
8:29:37 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
8:29:56 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 14 units in mission.
8:30:00 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
8:30:00 Error position: <_actionSet) then {
s_player_holderPickup>
8:30:00 Error Undefined variable in expression: _actionset
8:30:00 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
8:30:15 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 18 units in mission.
8:30:24 [DZMS]: (DZMSUnitsMajor) Waiting for 0/18 Units or Less to be Alive and a Player to be Near the Objective.
8:32:34 "DZAI Monitor :: Server Uptime: [0d 0h 35m 32s]. Active AI Groups: 17."
8:32:34 "DZAI Monitor :: Static Spawns: 3. Respawn Queue: 1 groups queued."
8:32:34 "DZAI Monitor :: Dynamic Spawns: 0. Air Patrols: 7. Land Patrols: 7."


and


9:06:32 [DZMS]: Running Minor Mission SM4.
9:06:36 UH60Wreck_DZ: MainTurret - unknown animation source mainTurret
9:06:36 UH60Wreck_DZ: MainGun - unknown animation source mainGun
9:06:36 UH60Wreck_DZ: MachineGun_1 - unknown animation source Gatling_1
9:06:38 Error in expression <ach (units _unitgroup);
[_patrol] spawn veh_monitor;

_unitGroup allowFleeing 0;>
9:06:38 Error position: <veh_monitor;

_unitGroup allowFleeing 0;>
9:06:38 Error Undefined variable in expression: veh_monitor
9:06:38 File z\addons\dayz_server\DZMS\Scripts\DZMSVehiclePatrol.sqf, line 65
9:06:42 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 3 units in mission.
9:06:45 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 6 units in mission.
9:06:49 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 9 units in mission.
9:06:50 [DZMS]: (DZMSUnitsMinor) Waiting for 0/9 Units or Less to be Alive and a Player to be Near the Objective.
9:07:07 "DZAI Monitor :: Server Uptime: [0d 0h 7m 19s]. Active AI Groups: 23."
9:07:07 "DZAI Monitor :: Static Spawns: 7. Respawn Queue: 0 groups queued."
9:07:07 "DZAI Monitor :: Dynamic Spawns: 0. Air Patrols: 7. Land Patrols: 8."


Does not seem to affect the missions from what I can see.

MegaZ
 
Hi Vampire and all:
Have been getting a few errors listed below: any idea what is causing these ?

MegaZ
I'm not sure what the issue with that is. It may be it trying to add an RPG to a dead AI, or trying to take an RPG from a nonexistant unit, I'm not really sure.
Replace RPG with backpack and you get the same idea.

The second error you posted is a script error. Its from DZMSSpawnVehPatrol which I did not write. You'll have to contact @BetterDeadThanZed about it.
 
Hi thanks for the nice mission

The rtp keep giving me this error
20:39:49 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
20:39:49 Error Undefined variable in expression: dzmsmindone
20:39:49 File z\addons\dayz_server\EMS\Scripts\DZMSMinTimer.sqf, line 36
20:39:49 Error in expression <or Mission %1.",_varName];


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

This error pops up to
20:39:50 Error position: <_aicskill;


_unit addEventHandler ["Kil>
20:39:50 Error Undefined variable in expression: _aicskill
20:39:50 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 95
20:39:50 Error in expression <or Mission %1.",_varName];


Is there a fix for this

Thanks :)
 
Hi thanks for the nice mission

The rtp keep giving me this error
20:39:49 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
20:39:49 Error Undefined variable in expression: dzmsmindone
20:39:49 File z\addons\dayz_server\EMS\Scripts\DZMSMinTimer.sqf, line 36
20:39:49 Error in expression <or Mission %1.",_varName];


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

This error pops up to
20:39:50 Error position: <_aicskill;


_unit addEventHandler ["Kil>
20:39:50 Error Undefined variable in expression: _aicskill
20:39:50 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 95
20:39:50 Error in expression <or Mission %1.",_varName];


Is there a fix for this

Thanks :)

That is EMS, not DZMS. The version of EMS released by TheFuchs is outdated, and not kept error free by him.
If you want to use EMS instead of DZMS, I recommend using Defent's Edit of EMS. (Posted on EpochMod)

--------------------------------

any idea how to have more than 1 rpg in a mission in epoch?

If you mean using two different launchers, that can be done. Otherwise the number of RPG's is based on the number of AI groups at the mission.
 
That is EMS, not DZMS. The version of EMS released by TheFuchs is outdated, and not kept error free by him.
If you want to use EMS instead of DZMS, I recommend using Defent's Edit of EMS. (Posted on EpochMod)

--------------------------------



If you mean using two different launchers, that can be done. Otherwise the number of RPG's is based on the number of AI groups at the mission.


Thanks the new missions work great
No error
PEACE
 
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSsniperList select >
5:38:17 Error position: <_sCount);
_item = DZMSsniperList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 66
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSsniperList select >
5:38:17 Error position: <_sCount);
_item = DZMSsniperList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 66
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error position: <_sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 78
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error position: <_sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 78
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90
5:38:17 Error in expression <oGlobal [_item,1];
};


_scount = count DZMSpistolList;
for "_x" from 0 to 2 do >
5:38:17 Error position: <DZMSpistolList;
for "_x" from 0 to 2 do >
5:38:17 Error Undefined variable in expression: dzmspistollist
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 52
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSpistolList select >
5:38:17 Error position: <_sCount);
_item = DZMSpistolList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 54
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSsniperList select >
5:38:17 Error position: <_sCount);
_item = DZMSsniperList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 66
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSsniperList select >
5:38:17 Error position: <_sCount);
_item = DZMSsniperList select >
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 66
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error position: <_sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 78
5:38:17 Error in expression <rom 0 to 1 do {
_sSelect = floor(random _sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error position: <_sCount);
_item = DZMSmgList select _sSe>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 78
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90
5:38:17 Error in expression <oGlobal [_item,1];
};


_scount = count DZMSpistolList;
for "_x" from 0 to 2 do >
5:38:17 Error position: <DZMSpistolList;
for "_x" from 0 to 2 do >
5:38:17 Error Undefined variable in expression: dzmspistollist
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 52
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90
5:38:17 Error in expression <rom 0 to 2 do {
_sSelect = floor(random _sCount);
_item = DZMSprimaryList select>
5:38:17 Error position: <_sCount);
_item = DZMSprimaryList select>
5:38:17 Error Undefined variable in expression: _scount
5:38:17 File z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf, line 90

I tried adding weapons to the weapons list and they're not spawning in the crates or on the AI. Don't know if this has caused these. Either way, can you let me know how to fix the errors?
 
Absolutely awesome addon. Thanks for the great work.

I've got two questions:
  1. Is it possible to have the AI use the vehicles in the missions? They don't seem to.
  2. Since adding this the people connecting to my server, get error message 'Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.dayz_vehicle
    '
 
Back
Top