Jump to content
  • 0

DZAI/DZMS/WAI 1.0.6


Dusty459

Question

22 answers to this question

Recommended Posts

  • 0
On ‎25‎/‎02‎/‎2017 at 8:40 PM, salival said:

Getting a Few errors in RPT and also my traders don't seem to be giving Option of Buying anything I added the coins to ai correctly

Spoiler

13:43:21 [DZMS]: Running Minor Mission SM6. 13:43:24 Warning Message: Bad vehicle type DZ_Czech_Vest_Puch 13:43:24 No speaker given for Ivan Vanek 13:43:24 Warning Message: No entry 'bin\config.bin/CfgWeapons.Mk_48_DZ'. 13:43:24 Warning Message: No entry '.scope'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: Error: creating weapon Mk_48_DZ with scope=private 13:43:24 Warning Message: No entry '.displayName'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.nameSound'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.type'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.picture'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.Library'. 13:43:24 Warning Message: No entry '.libTextDesc'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.model'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.simulation'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.fireLightDuration'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.fireLightIntensity'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.weaponLockDelay'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.weaponLockSystem'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.cmImmunity'. 13:43:24 Warning Message: '/' is not a value 13:43:24 Warning Message: No entry '.lockingTargetSound'. 13:43:24 Warning Message: Size: '/' not an array 13:43:24 Warning Message: No entry '.lockedTargetSound'. 13:43:24 Warning Message: Size: '/' not an array 13:43:24 Warning Message: No entry '.muzzles'. 13:43:24 Warning Message: Size: '/' not an array 13:43:24 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 3 units in mission. 13:43:25 No speaker given for Pavel Kulhanek 13:43:25 No speaker given for Petr Kropacek 13:43:25 [DZMS]: (DZMSUnitsMinor) 3 AI Spawned, 6 units in mission. 13:43:26 No owner 13:43:26 No owner 13:43:26 No owner 13:43:26 Error in expression <"magazines") select 0; _fin = [_weapon,_magazine]; _fin }; DZMSGetVeh = { pr> 13:43:26 Error position: <_magazine]; _fin }; DZMSGetVeh = { pr> 13:43:26 Error Undefined variable in expression: _magazine 13:43:26 File z\addons\dayz_server\DZMS\DZMSFunctions.sqf, line 209 13:43:26 Error in expression <"_i" from 1 to 3 do { _unit addMagazine _magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error position: <_magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error Undefined variable in expression: _magazine 13:43:26 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 76 13:43:26 Error in expression <"_i" from 1 to 3 do { _unit addMagazine _magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error position: <_magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error Undefined variable in expression: _magazine 13:43:26 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 76 13:43:26 Error in expression <"_i" from 1 to 3 do { _unit addMagazine _magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error position: <_magazine; }; _unit addWeapon _weapon; _> 13:43:26 Error Undefined variable in expression: _magazine 13:43:26 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 76 13:43:26 Warning Message: No entry 'bin\config.bin/CfgWeapons.Remington870_lamp'. 13:43:26 Warning Message: No entry '.scope'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: Error: creating weapon Remington870_lamp with scope=private 13:43:26 Warning Message: No entry '.displayName'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.nameSound'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.type'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.picture'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.Library'. 13:43:26 Warning Message: No entry '.libTextDesc'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.model'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.simulation'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.fireLightDuration'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.fireLightIntensity'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.weaponLockDelay'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.weaponLockSystem'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.cmImmunity'. 13:43:26 Warning Message: '/' is not a value 13:43:26 Warning Message: No entry '.lockingTargetSound'. 13:43:26 Warning Message: Size: '/' not an array 13:43:26 Warning Message: No entry '.lockedTargetSound'. 13:43:26 Warning Message: Size: '/' not an array 13:43:26 Warning Message: No entry '.muzzles'. 13:43:26 Warning Message: Size: '/' not an array 13:43:26 No owner 13:43:26 No owner

 

Link to comment
Share on other sites

  • 0
8 hours ago, Dusty459 said:

@theduke  Does that work for The DZMS/DAZI/WAI 1.0.6? want to make sure before I fiddle with the files

 

I dont have single currency installed yet to test it... but i cant see why not, jsut changing the variable really...

Link to comment
Share on other sites

  • 0

Hi

After adding dzms to my 1.0.6.1rc1 test server I have a spam in server rpt:

 9:24:34 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d
 9:24:40 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d
 9:24:45 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d
 9:24:50 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d
 9:24:55 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d
 9:24:55 Ref to nonnetwork object 2468dd00# 1055274: asc_lampa_old.p3d

Full RPT is here.

Link to comment
Share on other sites

  • 0
Spoiler

z\addons\dayz_code\gui\description.hpp, line 153: .RscTitles: Member already defined.
22:00:48 NetServer::finishDestroyPlayer(656103969): DESTROY immediately after CREATE, both cancelled

error in my rpt server wont start after updating and installing stuff again

Link to comment
Share on other sites

  • 0

DZMS Question: 

I'm running an OLD modded version of EMS/DZMS

All the missions spawn and complete with the loot crates like normal however 

The AI despawn in about 60 seconds after death no matter what I set these to in the config :

DZ2MSCleanDeath = false;

DZ2MSBodyTime = 2400;

It's an previous issue and I've found a "fix" but it was already part of my files. 
https://github.com/SMVampire/DZMS-DayZMissionSystem/commit/820177c125ad0c2ccc66a39311a901b7be8145e5

 

MajTimer ~

Spoiler

/*
    DayZ Mission System Timer by Vampire
    Based on fnc_hTime by TAW_Tonic and SMFinder by Craig
    This function is launched by the Init and runs continuously.
*/
private["_run","_timeDiff","_timeVar","_wait","_cntMis","_ranMis","_varName","_missionarray"];

//Let's get our time Min and Max
_timeDiff = DZ2MSMajorMax - DZ2MSMajorMin;
_timeVar = _timeDiff + DZ2MSMajorMin;

diag_log text format ["[EMS]: Major Mission Clock Starting!"];

//Lets get the loop going
_run = true;
while {_run} do
{
    //Lets wait the random time
    _wait  = round(random _timeVar);
    [_wait,5] call DZ2MSSleep;
    
    //Let's check that there are missions in the array.
    //If there are none, lets end the timer.
    _cntMis = count DZ2MSMajorArray;
    if (_cntMis == 0) then { _run = false; };
    
    //Lets pick a mission
    _missionarray = DZ2MSMajorArray call DZ2MSarrayShuffle;
    _ranMis = floor (random _cntMis);
    _varName = _missionarray select _ranMis;    
    
    
    // clean up all the existing units before starting a new one
    {if (alive _x) then {_x call DZ2MSPurgeObject;};} forEach DZ2MSUnitsMajor;
    
    // rebuild the array for the next mission
    DZ2MSUnitsMajor = [];
    
    //Let's Run the Mission
    [] execVM format ["\z\addons\dayz_server\EMS2\Missions\Major\%1.sqf",_varName];
    diag_log text format ["[EMS]: Running Major Mission %1.",_varName];
    
    //Let's wait for it to finish or timeout
    sleep 60;
    waitUntil {sleep 10;DZ2MSMajDone};
    DZ2MSMajDone = false;
};

MinTimer ~

Spoiler

/*
    DayZ Mission System Timer by Vampire
    Based on fnc_hTime by TAW_Tonic and SMFinder by Craig
    This function is launched by the Init and runs continuously.
*/
private["_run","_timeDiff","_timeVar","_wait","_cntMis","_ranMis","_varName","_missionarray"];

//Let's get our time Min and Max
_timeDiff = DZ2MSMinorMax - DZ2MSMinorMin;
_timeVar = _timeDiff + DZ2MSMinorMin;

diag_log text format ["[EMS]: Minor Mission Clock Starting!"];

//Lets get the loop going
_run = true;
while {_run} do
{
    //Lets wait the random time
    _wait  = round(random _timeVar);
    [_wait,5] call DZ2MSSleep;
    
    //Let's check that there are missions in the array.
    //If there are none, lets end the timer.
    _cntMis = count DZ2MSMinorArray;
    if (_cntMis == 0) then { _run = false; };
    
    //Lets pick a mission
    _missionarray = DZ2MSMinorArray call DZ2MSarrayShuffle;
    _ranMis = floor (random _cntMis);
    _varName = _missionarray select _ranMis;    
    
    
    // clean up all the existing units before starting a new one
    {if (alive _x) then {_x call DZ2MSPurgeObject;};} forEach DZ2MSUnitsMinor;
    
    // rebuild the array for the next mission
    DZ2MSUnitsMinor = [];
    
    //Let's Run the Mission
    [] execVM format ["\z\addons\dayz_server\EMS2\Missions\Minor\%1.sqf",_varName];
    diag_log text format ["[EMS]: Running Minor Mission %1.",_varName];
    
    //Let's wait for it to finish or timeout
    sleep 60;
    waitUntil {sleep 10;DZ2MSMinDone};
    DZ2MSMinDone = false;
};



- I've opened every file looking for something that might change this but no luck.

======================

If anyone can lead me in the right direction I would appreciate it, 

Thanks,

Link to comment
Share on other sites

  • 0
13 hours ago, A Man said:

@Bricktop

You can stop the fast body clearing with that entry in theDZMSAIKilled.sqf :

Add that over the remove launcher code block.

_unit setVariable ["bodyName","unknown",false];

 

Thanks for this, I placed it here : Did I understand right?

==================================

} else {

    //diag_log text format ["[EMS]: Debug: Unit killed by %1 at %2", _player, mapGridPosition _unit];

    if (DZ2MSRunGear) then {
        //Since a player ran them over, or they died from unknown causes
        //Lets strip their gear
        removeBackpack _unit;
        removeAllWeapons _unit;
        {
            _unit removeMagazine _x
        } forEach magazines _unit;
    };
    
};

_unit setVariable ["bodyName","unknown",false];
if (DZ2MSUseRPG AND ("RPG7V" in (weapons _unit))) then {
    _unit removeMagazines "PG7V";
};

if (DZ2MSCleanDeath) then {
    _unit call DZ2MSPurgeObject;
    if (DZ2MSCleanDeath) exitWith {};
};

if (DZ2MSUseNVG) then {
    _unit removeWeapon "NVGoggles";
};

//Dead body timer and cleanup
[DZ2MSBodyTime,10] call DZ2MSSleep;
_unit call DZ2MSPurgeObject;

 

=======================

EDIT: Works perfect thanks again,

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

×
×
  • Create New...