Jump to content

[Official Release] EMS 0.3


Fuchs

Recommended Posts

 

Heres the full error in the RPT, I don't think its a mission issue as it occurs as soon as the server initializes the EMS.

18:06:49 "[DZMS]: Running Minor Mission SM10."
18:06:51 Error in expression <"_object","_objectID"];
_object = _this select 0;

_objectID = str(round(random >
18:06:51   Error position: <select 0;

_objectID = str(round(random >
18:06:51   Error select: Type Object, expected Array,Config entry
18:06:51 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 157

I've fixed so many errors and omissions now, I've lost track of whats been changed, but as I said, the problem will be the individual mission, otherwise you'd get the same error on every mission when it calls DZMSFunctions. My Minor SM10 looks like the following; (you'll notice it looks like it should have 3 crates spawned, but none are created during the mission)

private ["_missName","_coords","_crash","_crate","_crate1","_crate2"];

//Name of the Mission

_missName = "Bandit Weapons Truck";

//DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result

_coords = call DZMSFindPos;

[nil,nil,rTitleText,"A Bandit Weapons Truck has crashed! Check your map for the location!", "PLAIN",10] call RE;

//DZMSAddMinMarker is a simple script that adds a marker to the location

[_coords,_missName] ExecVM DZMSAddMinMarker;

_vehicle = createVehicle ["Mi8Wreck",[(_coords select 0) + 10, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];

[_vehicle] call DZMSProtectObj;

[_coords,4,2] ExecVM DZMSAISpawn;

sleep 1;

[_coords,6,3] ExecVM DZMSAISpawn;

sleep 1;

//Wait until the player is within 30meters

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

//Let everyone know the mission is over

[nil,nil,rTitleText,"Good work, Survivors secured the crash site!!", "PLAIN",6] call RE;

diag_log format["[DZMS]: Minor SM10 Heli Crash Mission has Ended."];

deleteMarker "DZMSMinMarker";

deleteMarker "DZMSMinDot";

//Let the timer know the mission is over

DZMSMinDone = true;

 

Actually, the more I look at this mission, the more messed up it is...Starts with Bandit Weapons truck, ends with Heli crash site, no crates spawned, _crash should actually be _vehicle....it needs some work :D

Link to comment
Share on other sites

Hey

 

i installed it and it run perfect unless i add rpgs to the ais there allways come errors in my rpt:

 

_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:22:28   Error position: <createUnit [_aiskin, [(_position select >
13:22:28   Error Type Any, expected String
13:22:28 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 32
13:22:28 Error in expression <_fnc_selectRandom;


_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:22:28   Error position: <createUnit [_aiskin, [(_position select >
13:22:28   Error Type Any, expected String
13:22:28 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 32
13:22:28 Error in expression <_fnc_selectRandom;


_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:22:28   Error position: <createUnit [_aiskin, [(_position select >
13:22:28   Error Type Any, expected String
13:22:28 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 32

this like 100 times and no ai spawns on the missions so my users just walk in and grap the loot

 

can some one help me pls?

 

thanks

Link to comment
Share on other sites

Hey

 

i installed it and it run perfect unless i add rpgs to the ais there allways come errors in my rpt:

this like 100 times and no ai spawns on the missions so my users just walk in and grap the loot

 

can some one help me pls?

 

thanks

 

You added the RPGs incorrectly, probably missing a comma in DZMSAIConfig.sqf

Link to comment
Share on other sites

Hey, i now checked again and couldnt find any error :/

 

 

//////////////////////////////////////////////////////////////
// This is the primary weaponlist that can be assigned to AI
// These are assigned based on AI difficulty level
DZMSWeps1 = [
"M4A3_RCO_GL_EP1",
"M16A2GL",
"AK_74",
"M4A1_Aim",
"MAAWS",
"AKS_74_U",
"AK_47_M",
"M24",
"M1014",
"SVD",
"M4A1",
"m16a4_acg",
"Remington870_lamp",
"BAF_L85A2_RIS_SUSAT",
"BAF_L85A2_RIS_SUSAT",
"M4A3_CCO_EP1"
];

DZMSWeps2 = [
"M4A3_RCO_GL_EP1",
"M16A2GL",
"M249_DZ",
"AK_74",
"M4A1_Aim",
"MAAWS",
"MAAWS",
"AK_47_M",
"M24",
"SVD_CAMO",
"M1014",
"SVD",
"M4A1",
"m16a4_acg",
"Remington870_lamp",
"M240_DZ",
"M4A1_AIM_SD_camo",
"M16A4_ACG",
"M4A1_HWS_GL_camo",
"m240_scoped_EP1",
"M4A3_CCO_EP1",
"Sa58V_RCO_EP1",
"Sa58V_CCO_EP1",
"Huntingrifle",
"Sa58P_EP1",
"Sa58V_EP1"
];

DZMSWeps3 = [
"FN_FAL",
"FN_FAL_ANPVS4",
"m240_scoped_EP1",
"M249_DZ",
"BAF_L85A2_RIS_Holo",
"G36C",
"G36C_camo",
"G36A_camo",
"G36K_camo",
"AK_47_M",
"MAAWS",
"m16a4_acg",
"bizon_silenced",
"SVD",
"RPK_74"
];

tryed the MAAWS and the RPG7V

 

i running epoch 1.0.4.2 on chernarus.

 

thanks for your help :)

Link to comment
Share on other sites

http://pastebin.com/Vj24Pp0i

 

Thank you very much for your help

 

There's the error.

////////////////////////////////////////////////////////////
// These are the backpacks that can be assigned to AI units.
DZMSPacklist = [
"DZ_Patrol_Pack_EP1",
"DZ_Assault_Pack_EP1",
"DZ_Czech_Vest_Puch",
"DZ_ALICE_Pack_EP1", <------
];

That comma needs removed.

Link to comment
Share on other sites

I had the same problem so I'm changing this to the M2 version.  But I kinda want to keep the crows version as it sounds like an awesome upgrade to the other armored humvees.  What makes the class name incorrect?

 

"HMMWV_M998_crows_MK19_DES_EP1_DZE"

 

This is the same classname in the arma 2 OA armory but with the addition of the "_DZE" part

 

So I should just remove the _DZE?

 

When in doubt, find something that's already in your database or at a trader on your server.

Link to comment
Share on other sites

Народ, что за хрень вылазит, и как её исправить?

Eng:

People, what the hell climbs, and how to fix it?

----

HiveExt{0}: [Error excuting |CHILD :388:|

Sba4o.png

 

I got same problem,,,.

when missName is "HMMWV's".

maybe, we can fix that.

plz open your server.pbo's  / EMS / Missions / Major / SM11.sqf

 

and plz search the line↓ line  40???

[_vehicle] ExecVM DZMSSaveVeh;

 

u have to add↓ under taht line.

[_vehicle1] ExecVM DZMSSaveVeh;

 

maybe this is save problem, for save your database.

 

Sorry about my poor English.

Link to comment
Share on other sites

Did as you say, the error persists.
Can throw the whole folder in EMS mission, planete that is not so.

I got same problem,,,.

when missName is "HMMWV's".

maybe, we can fix that.

plz open your server.pbo's  / EMS / Missions / Major / SM11.sqf

 

and plz search the line↓ line  40???

[_vehicle] ExecVM DZMSSaveVeh;

 

u have to add↓ under taht line.

[_vehicle1] ExecVM DZMSSaveVeh;

 

maybe this is save problem, for save your database.

 

Sorry about my poor English.

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...