Snakeyes
Member
I played DayZ Epoch with DZMS all afternoon Saturday. Lots of fun and the guys on my server liked it. Thanks Vampire! 
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.
Are you also running Taviana?
your problem is not in the mission system but in server_functions.sqf, line 254I posted in another thread for help with my Zero divisor error issue in the RPT. Since I have no idea how to solve it, hoping for someone to look at it. Really wanna get this DZMS working properly so my friends can enjoy the server.
http://pastebin.com/L0bW8w4K
22:04:52 "[DZMS]: Starting DayZ Mission System."
22:04:52 "[DZMS]: DZAI Found! Using DZAI's Relations!"
22:04:52 "[DZMS]: Mission and Extended Configuration Loaded!"
22:04:52 "[DZMS]: tavi Detected. Map Specific Settings Adjusted!"
22:04:52 "[DZMS]: Mission Functions Script Loaded!"
22:04:52 "[DZMS]: Major Mission Clock Starting!"
22:04:52 "[DZMS]: Minor Mission Clock Starting!"
22:04:52 "[DZMS]: Mission Marker Loop for JIPs Starting!"
your problem is not in the mission system but in server_functions.sqf, line 254
the mission initializes after without errors:
Code:22:04:52 "[DZMS]: Starting DayZ Mission System." 22:04:52 "[DZMS]: DZAI Found! Using DZAI's Relations!" 22:04:52 "[DZMS]: Mission and Extended Configuration Loaded!" 22:04:52 "[DZMS]: tavi Detected. Map Specific Settings Adjusted!" 22:04:52 "[DZMS]: Mission Functions Script Loaded!" 22:04:52 "[DZMS]: Major Mission Clock Starting!" 22:04:52 "[DZMS]: Minor Mission Clock Starting!" 22:04:52 "[DZMS]: Mission Marker Loop for JIPs Starting!"
Hey vampire, I fixed the zero divisor problem. Here is my new RPT log, let it run for an hour and no zero divisor problem. But the map markers are still not showing up on the map. Is there some kind of option related to these map markers which turns them off and on? Btw I'm also using DZAI along with this, could an option there turn off map markers?
http://pastebin.com/uFiFHcj1
Hi Vampire,
thanks first for your mission system. Great work i like it. I have a question / suggestion for a future update.
Can you add an optional function that avoids spawning missions in designated areas ? So that missions are not spawning within any e.g. specially named marker ?
Would be great.
Install the newest version from the github, and in DZMS Functions.sqf find this line:
//diag_log format ["[DZMS]: DEBUG: Pos:[%1,%2] / noWater?:%3 / okDistance?:%4 / TaviHeight:%5", _posX, _posY, _noWater, _okDis, _tavHeight];
and remove the //
I want to see if the height is still coming back as undefined.
//Water Check
_noWater = (!surfaceIsWater _pos && !surfaceIsWater _feel1 && !surfaceIsWater _feel2 && !surfaceIsWater _feel3 && !surfaceIsWater _feel4);
//Lets test the height on Taviana
if (_isTavi) then {
_tavTest = createVehicle ["Can_Small",[_posX,_posY,0.001],[], 0, "CAN_COLLIDE"];
_tavHeight = (getPosASL _tavTest) select 2;
deleteVehicle _tavTest;
};
if ((_posX != _hardX) AND (_posY != _hardY) AND _noWater) then {
if (!(_isTavi)) then {
_findRun = false;
};
if (_isTavi AND (_tavHeight < 185)) then {
_findRun = false;
};
};
sleep 2;
};
};
_fin = [(_pos select 0), (_pos select 1), 0];
_fin
Install the newest version from the github, and in DZMS Functions.sqf find this line:
//diag_log format ["[DZMS]: DEBUG: Pos:[%1,%2] / noWater?:%3 / okDistance?:%4 / TaviHeight:%5", _posX, _posY, _noWater, _okDis, _tavHeight];
and remove the //
I want to see if the height is still coming back as undefined.
Above
addCode:_tavHeight = (getPosASL _tavTest) select 2;
Code:sleep 3;
Then retry it with the debug line still there.
Remove this line:
Code:deleteVehicle _tavTest;
and above this line
Code://Lets check for minimum mission separation distance
Add this:
if (isNull _tavTest) then {
diag_log format ["[DZMS]: DEBUG: TavTest is Null"];
};
I apologize for how many times I'm having you run code, but I have one more fix to try before I'll just revert the tavi height check.
_tavHeight = (getPosASL _tavTest) select 2;
_tavHeight = ((getPosASL _tavTest) select 2);
I apologize for how many times I'm having you run code, but I have one more fix to try before I'll just revert the tavi height check.
becomesCode:_tavHeight = (getPosASL _tavTest) select 2;
Code:_tavHeight = ((getPosASL _tavTest) select 2);
This is really boggling my mind as this exact code works as-is in the editor.
diag_log format ["[DZMS]: DEBUG: Pos:[%1,%2] / noWater?:%3 / okDistance?:%4 / TaviHeight:%5", _posX, _posY, _noWater, _okDis, str(_tavHeight)];
Hey just installed this mission system on my epoch server and i now get black screen and
17:51:38 "DayZ Epoch: MPframework inited"
17:51:38 Error in expression <eight = round ((_itemChances select _l) * 100);
for "_k" from 0 to _weight - 1 d>
17:51:38 Error position: <* 100);
for "_k" from 0 to _weight - 1 d>
17:51:38 Error *: Type String, expected Number
17:51:38 File mpmissions\DayZ_Epoch_17.Chernarus\init\loot_init.sqf, line 75
without it no error and it restarts just fine,