Fox
Well-Known Member
Nvm got the patch Working with a New install of arma2
Gesendet von meinem GT-I9100 mit Tapatalk
Gesendet von meinem GT-I9100 mit Tapatalk
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
switch (_skill) do {
case 0: {_aicskill = DZMSSkills0;};
case 1: {_aicskill = DZMSSkills1;};
case 2: {_aicskill = DZMSSkills2;};
case 3: {_aicskill = DZMSSkills3;};
};
switch (_skill) do {
case 0: {_aicskill = DZMSSkills0;};
case 1: {_aicskill = DZMSSkills1;};
case 2: {_aicskill = DZMSSkills2;};
case 3: {_aicskill = DZMSSkills3;};
default {_aicskill = DZMSSkills1;};
};
_aicskill = DZMSSkills1;
I, too, am still getting these spamming my .RPT. Any solutions?
2:25:23 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
2:25:23 Error Undefined variable in expression: dzmsmindone
2:25:23 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42
2:25:23 Error in expression <or Mission %1.",_varName];
I Follow the steps EXACTLY... upload the server.pbo to my server host, restart the server, run the server.. but all me and my friends get is waiting for server to authenticate... up to like 70.. what the hack...?
Im gonna take a guess and say that your PBO editor is either corrupting your PBO's OR more likely it isn't including the prefix when you repack it. This is very common with PBO manager. Before repacking the PBO, open the server file, click on the properties tab at the top (looks like a cog) and under "Property" type prefix and under "value" type z\addons\dayz_server, then save and repack.I Follow the steps EXACTLY... upload the server.pbo to my server host, restart the server, run the server.. but all me and my friends get is waiting for server to authenticate... up to like 70.. what the hack...?
edit DZMSMinTimer.sqf,
add this
beforeCode:DZMSMinDone = false;
Code:while {_run} do
and change this
to thisCode:DZMSMinDone = nil;
Code:DZMSMinDone = false;
same for DZMSMajDone variable in DZMSMajTimer.sqf
Running the current files from the github.To anyone getting DZMSMinDone and DZMSMajDone errors, make sure you updated DZMSMinTimer.sqf and DZMSMajTimer.sqf from the github.
/*
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"];
//Let's get our time Min and Max
_timeDiff = DZMSMinorMax - DZMSMinorMin;
_timeVar = _timeDiff + DZMSMinorMin;
diag_log text format ["[DZMS]: 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 DZMSSleep;
//Let's check that there are missions in the array.
//If there are none, lets end the timer.
_cntMis = count DZMSMinorArray;
if (_cntMis == 0) then { _run = false; };
//Lets pick a mission
_ranMis = floor (random _cntMis);
_varName = DZMSMinorArray select _ranMis;
// clean up all the existing units before starting a new one
{if (alive _x) then {_x call DZMSPurgeObject;};} forEach DZMSUnitsMinor;
// rebuild the array for the next mission
DZMSUnitsMinor = [];
//Let's Run the Mission
[] execVM format ["\z\addons\dayz_server\DZMS\Missions\Minor\%1.sqf",_varName];
diag_log text format ["[DZMS]: Running Minor Mission %1.",_varName];
//Let's wait for it to finish or timeout
waitUntil {DZMSMinDone};
DZMSMinDone = false;
};
/*
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"];
//Let's get our time Min and Max
_timeDiff = DZMSMajorMax - DZMSMajorMin;
_timeVar = _timeDiff + DZMSMajorMin;
diag_log text format ["[DZMS]: 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 DZMSSleep;
//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; };
//Lets pick a mission
_ranMis = floor (random _cntMis);
_varName = DZMSMajorArray select _ranMis;
// clean up all the existing units before starting a new one
{if (alive _x) then {_x call DZMSPurgeObject;};} forEach DZMSUnitsMajor;
// rebuild the array for the next mission
DZMSUnitsMajor = [];
//Let's Run the Mission
[] execVM format ["\z\addons\dayz_server\DZMS\Missions\Major\%1.sqf",_varName];
diag_log text format ["[DZMS]: Running Major Mission %1.",_varName];
//Let's wait for it to finish or timeout
waitUntil {DZMSMajDone};
DZMSMajDone = false;
};
3:38:34 Error Undefined variable in expression: dzmsmindone
3:38:34 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42
3:38:34 Error in expression <or Mission %1.",_varName];
waitUntil {DZMSMinDone};
DZMSMinDone = nil;
};>
3:38:34 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
3:38:34 Error Undefined variable in expression: dzmsmindone
3:38:34 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42
3:38:34 Error in expression <or Mission %1.",_varName];
waitUntil {DZMSMinDone};
DZMSMinDone = nil;
};>
3:38:34 Error position: <DZMSMinDone};
DZMSMinDone = nil;
};>
3:38:34 Error Undefined variable in expression: dzmsmindone
3:38:34 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42
3:38:34 Error in expression <or Mission %1.",_varName];
Running the current files from the github.
Help would be greatly appreciated. Been working on this for hours, and not sure what I am doing wrong. Tried reinstalling to a fresh unconfigured DZMS and still get the errors.