Jump to content

[EMS] 0.2.6 Epoch Mission System


Fuchs

  

143 members have voted

  1. 1. Do you want the boxes integrated from EMS into the new system?

    • Yes ,highly recommended !
      129
    • No ,i don't care about !
      14


Recommended Posts

Okay, I solved my code issu. It's all installed but I cannot get past the Authentication part, I tries to complete it but repeats then sends me back to the lobby?

U still made some typo then , but 1 question wich Epoch version u run ? if its 1.0.4.2 u better try this https://github.com/Thisnameisnottaken

Why it solves the problem of vehicles blowup , it wont save them to the database or they stay after a server restart

And easier to implement and no Sarge needed (only Quake3-Sarge has a sigar) , if u want AI i recommend DZAI ( they can be a real pain in the butt , but thats whats makes dayz )

Link to comment
Share on other sites

//Weapons Cache by lazyink (Full credit for original code to TheSzerdi & TAW_Tonic)
//Edited for EMS by Fuchs
 
private ["_coords","_MainMarker","_wait"];
[] execVM "\z\addons\dayz_server\EMS\SMGoMajor.sqf";
WaitUntil {MissionGo == 1};
 
_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;
 
_uniqueid = str(round(random 999999));
 
diag_log "EMS: Major mission created (SM1)";
 
//Mission start
[nil,nil,rTitleText,"Bandits have discovered a weapons cache! Check your map for the location!", "PLAIN",10] call RE;
 
Ccoords = _coords;
publicVariable "Ccoords";
[] execVM "debug\addmarkers.sqf";
 
_hummer = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 10, (_coords select 1) - 20,0],[], 0, "CAN_COLLIDE"];
_hummer1 = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 20, (_coords select 1) - 10,0],[], 0, "CAN_COLLIDE"];
_hummer2 = createVehicle ["SUV_Camo",[(_coords select 0) + 30, (_coords select 1) + 10,10],[], 0, "CAN_COLLIDE"];
 
_hummer setVariable ["Sarge",1,true];
_hummer1 setVariable ["Sarge",1,true];
_hummer2 setVariable ["Sarge",1,true];
 
_hummer setVariable ["ObjectID", _uniqueid, true];
_hummer setVariable ["ObjectUID", _uniqueid, true];
_hummer1 setVariable ["ObjectID", _uniqueid, true];
_hummer1 setVariable ["ObjectUID", _uniqueid, true];
_hummer2 setVariable ["ObjectID", _uniqueid, true];
_hummer2 setVariable ["ObjectUID", _uniqueid, true];
 
_crate = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"];
[_crate] execVM "\z\addons\dayz_server\EMS\misc\fillBoxes.sqf";
_crate setVariable ["permaLoot",true];
 
 
_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
 
waitUntil{{isPlayer _x && _x distance _hummer < 30  } count playableunits > 0}; 
 
//Mission completed
[nil,nil,rTitleText,"The weapons cache is under survivor control!", "PLAIN",6] call RE;
 
[] execVM "debug\remmarkers.sqf";
MissionGo = 0;
Ccoords = 0;
publicVariable "Ccoords";
 
SM1 = 1;
[0] execVM "\z\addons\dayz_server\EMS\major\SMfinder.sqf";
Link to comment
Share on other sites

private ["_coords","_veh"];
[] execVM "\z\addons\dayz_server\EMS\SMGoMajor.sqf";
WaitUntil {MissionGo == 1};
_coords = [getMarkerPos "center",0,6000,20,0,10,0] call BIS_fnc_findSafePos;
diag_log "EMS: Major mission created (SM1)";

[nil,nil,rTitleText,"Bandits have discovered a weapons cache!", "PLAIN",10] call RE;
Ccoords = _coords;
publicVariable "Ccoords";
[] execVM "debug\addmarkers.sqf";

_veh = createVehicle ["HMMWV_DZ",[(_coords select 0) - 5, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];
_veh setVariable ["ObjectID","1",true];
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];
sleep 1;

_crate = createVehicle ["USVehicleBox",[(_coords select 0) - 1, _coords select 1,0],[], 0, "CAN_COLLIDE"];
[_crate] execVM "\z\addons\dayz_server\EMS\misc\fillBoxes.sqf";
_crate setVariable ["permaLoot",true];
sleep 1;

_aispawn = [_coords,60,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";
_aispawn = [_coords,60,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server2.sqf";
_aispawn = [_coords,40,3,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";
sleep 1;

waitUntil{{isPlayer _x && _x distance _veh < 10 } count playableunits > 0};

[nil,nil,rTitleText,"The weapons cache is under control!", "PLAIN",6] call RE;
MissionGo = 0;
Ccoords = 0;
publicVariable "Ccoords";
SM1 = 1;
[0] execVM "\z\addons\dayz_server\EMS\major\SMfinder.sqf";
 

 

This works flawless on Epoch 1.0.4.2  , it only wont save Vehicles to the database

Link to comment
Share on other sites

The markers seems to stop showing after a few missions and the RPT spam beings.

Does anyone know what's causing this? Thank you!
 

16:11:55   Error 0 elements provided, 3 expected
16:11:55 File mpmissions\DayZ_Epoch_11.Chernarus\debug\addmarkers.sqf, line 3
16:11:57 Wrong text element 'null'
16:11:57 Wrong text element 'null'
16:11:57 Wrong text element 'null'
16:11:57 Wrong text element 'null'
16:11:57 Wrong text element 'null'
16:12:00 Wrong text element 'null'
16:12:00 Wrong text element 'null'
16:12:00 Wrong text element 'null'
16:12:00 Wrong text element 'null'
16:12:00 Wrong text element 'null'
16:12:03 Wrong text element 'null'
16:12:03 Wrong text element 'null'
16:12:03 Wrong text element 'null'
16:12:03 Wrong text element 'null'
16:12:03 Wrong text element 'null'
16:12:06 Wrong text element 'null'
16:12:06 Wrong text element 'null'
16:12:06 Wrong text element 'null'
16:12:06 Wrong text element 'null'
16:12:06 Wrong text element 'null'
16:12:06 Bad conversion: array
16:12:06 Error in expression <sionGoMinor == 1} do { 
_MainMarker75 = createMarker["MainMarker75", MCoords];
_>
16:12:06   Error position: <createMarker["MainMarker75", MCoords];
_>
16:12:06   Error 0 elements provided, 3 expected
16:12:06 File mpmissions\DayZ_Epoch_11.Chernarus\debug\addmarkers75.sqf, line 3
16:12:09 Wrong text element 'null'
16:12:09 Wrong text element 'null'
16:12:09 Wrong text element 'null'
16:12:09 Wrong text element 'null'
16:12:09 Wrong text element 'null'
16:12:12 Wrong text element 'null'
16:12:12 Wrong text element 'null'
16:12:12 Wrong text element 'null'
16:12:12 Wrong text element 'null'
16:12:12 Wrong text element 'null'
16:12:15 Wrong text element 'null'
16:12:15 Wrong text element 'null'
16:12:15 Wrong text element 'null'
16:12:15 Wrong text element 'null'
16:12:15 Wrong text element 'null'
16:12:18 Wrong text element 'null'
16:12:18 Wrong text element 'null'
16:12:18 Wrong text element 'null'
16:12:18 Wrong text element 'null'
16:12:18 Wrong text element 'null'
16:12:19 "TIME SYNC: Local Time set to [2013,8,3,7,12]"
16:12:20 Error in expression <ile{MissionGo == 1} do { 
_MainMarker = createMarker ["MainMarker", Ccoords];
_M>
16:12:20   Error position: <createMarker ["MainMarker", Ccoords];
_M>
16:12:20   Error 0 elements provided, 3 expected
16:12:20 File mpmissions\DayZ_Epoch_11.Chernarus\debug\addmarkers.sqf, line 3
16:12:21 Wrong text element 'null'
16:12:21 Wrong text element 'null'
16:12:21 Wrong text element 'null'
16:12:21 Wrong text element 'null'
16:12:21 Wrong text element 'null'
16:12:24 Wrong text element 'null'
16:12:24 Wrong text element 'null'
16:12:24 Wrong text element 'null'
16:12:24 Wrong text element 'null'
16:12:24 Wrong text element 'null'
16:12:27 Wrong text element 'null'
16:12:27 Wrong text element 'null'
16:12:27 Wrong text element 'null'
16:12:27 Wrong text element 'null'
16:12:27 Wrong text element 'null'
16:12:30 Wrong text element 'null'
16:12:30 Wrong text element 'null'
16:12:30 Wrong text element 'null'
16:12:30 Wrong text element 'null'
16:12:30 Wrong text element 'null'
16:12:31 Bad conversion: array
16:12:31 Error in expression <sionGoMinor == 1} do { 
_MainMarker75 = createMarker["MainMarker75", MCoords];
_>
16:12:31   Error position: <createMarker["MainMarker75", MCoords];
_>
Link to comment
Share on other sites

Hello, I've done everything exactly as the instructions said, but it gets stuck on "Waiting for server to start authentication". Is this a common problem? Does this even work with the latest version of Epoch?

 

My server is just pure, latest Epoch. No addons of any kind yet. Stock.

 

The only difference I noticed is that I don't have a mission.pbo file. I just have a "DayZ_Epoch_11.Chernarus" folder with several things inside it, including my init.sqf. Is this normal?

Link to comment
Share on other sites

Please somebody help me with this part.

This will make the mission markers show up on the map for players that have died and respawn, or connect to the server after a mission has already spawned.

The 

BIS_fnc_spawnGroup

I dont understand how to do this but i really would like this for my server. can somebody explain in detail

Link to comment
Share on other sites

I got mine to work, but only once, soon as a player clears the mission, no other mission markers will show up.

A message will display saying that the next mission is blah blah blah, but no marker will display the next mission area.

 

*Edited, I found out not all missions will show up on the map.

Link to comment
Share on other sites

Hi there,

 

I am trying to get this mod but am missing something obviously (and I'm a complete novice to coding/scripting).

 

When it comes to changing line of code in server_cleanup.fsm - I don't have any of that in my file...

What am I missing?

I do have SARGE AI installed.

 

Cheers

Link to comment
Share on other sites

  • 2 weeks later...

 EMS DATA LOSS :2 months ago by a leak in the Watercoolingsystem ,destroyed all my HDD's ,GPU ,CPU etc. ..  :(

 

@Fuchs 

 

Thats a bad thing to happen , 2 yrs ago had powersurge lighted up my PC as a cristmastree all gone

Bad thing was all the data gone ,  except a few backup dvd's

Link to comment
Share on other sites

It was hard to get all the passwords back with different passwords : email accounts ,  such as logins for steam ,origin - but i'm glad i got almost all accounts back and saw a backup from dropbox !

Link to comment
Share on other sites

  • 3 weeks later...

I have this problem, help pls, rpt is linked below

 

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

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

 

https://drive.google.com/file/d/0Bwfhc1d6vFwXN1VNMWsxRDBGSUU/edit?usp=sharing

 

Thanks

Link to comment
Share on other sites

Hi, Im looking for a little assistance with an issue that i am experiencing since installing this version of the EMS.

 

Since installing the EMS i have an issue with player placed safes. No one on the server seems to be able to open their Safes. They get the option to enter the pin code, but as soon as they enter the code it bugs the player. They end up not being able to open the safe and also are not able to unlock vehicles. If they log out and back in again they can open vehicles as normal and the safe appears as if the code was never entered. Attempting to enter the pin causes the same bug repeatedly.

 

Any ideas?

 

Ive seen a few posts suggesting this is related to self bloodbg, but we arent using that script.

Link to comment
Share on other sites

 

Try this: (replace your current /Major/SM1.sqf)

//Weapons Cache by lazyink (Full credit for original code to TheSzerdi & TAW_Tonic)
//Edited for EMS by Fuchs

private ["_coords","_MainMarker","_wait","_uniqueid"];
[] execVM "\z\addons\dayz_server\EMS\SMGoMajor.sqf";
WaitUntil {MissionGo == 1};

_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;

_uniqueid = str(round(random 999999));

diag_log "EMS: Major mission created (SM1)";

//Mission start
[nil,nil,rTitleText,"Bandits have discovered a weapons cache! Check your map for the location!", "PLAIN",10] call RE;

Ccoords = _coords;
publicVariable "Ccoords";
[] execVM "debug\addmarkers.sqf";

_hummer = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 10, (_coords select 1) - 20,0],[], 0, "CAN_COLLIDE"];
_hummer1 = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 20, (_coords select 1) - 10,0],[], 0, "CAN_COLLIDE"];
_hummer2 = createVehicle ["SUV_Camo",[(_coords select 0) + 30, (_coords select 1) + 10,0],[], 0, "CAN_COLLIDE"];

_hummer setVariable ["ObjectID", _uniqueid, true];
_hummer setVariable ["ObjectUID", _uniqueid, true];
_hummer1 setVariable ["ObjectID", _uniqueid, true];
_hummer1 setVariable ["ObjectUID", _uniqueid, true];
_hummer2 setVariable ["ObjectID", _uniqueid, true];
_hummer2 setVariable ["ObjectUID", _uniqueid, true];

_crate = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"];
[_crate] execVM "\z\addons\dayz_server\EMS\misc\fillBoxes.sqf";
_crate setVariable ["permaLoot",true];


_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;
_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\EMS\add_unit_server.sqf";//AI Guards
sleep 5;

waitUntil{{isPlayer _x && _x distance _hummer < 30  } count playableunits > 0}; 

//Mission completed
[nil,nil,rTitleText,"The weapons cache is under survivor control!", "PLAIN",6] call RE;

MissionGo = 0;
Ccoords = 0;
publicVariable "Ccoords";

SM1 = 1;

[0] execVM "\z\addons\dayz_server\EMS\major\SMfinder.sqf";

Thank you for this, just used it, tested & working fine. Liked the post & credit given in Defent's Edit thread.

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
×
×
  • Create New...