[Atmosphere] Epoch Survivor Parties Support Thread

so to get this to work for epoch im placing it in my server_monitor.sqf like this?
I ve put it there too.
The message pops up, I have the marker on the map and it spawns a fire and some boxes.
No dancers, no tents.

this shows my RPT:
Code:
 4:03:32 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
4:03:32 Error in expression <ret = _this select _ret;         
};

_ret;>
4:03:32   Error position: <_ret;>
4:03:32   Error Undefined variable in expression: _ret
4:03:32 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24
4:03:32 Error in expression < to _survivorCount - 2 do {
_HoD_male = DayZ_Male call BIS_fnc_selectRandom;
_Ho>
4:03:32   Error position: <DayZ_Male call BIS_fnc_selectRandom;
_Ho>
4:03:32   Error Undefined variable in expression: dayz_male
4:03:32 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 63
4:03:32 Error in expression <objectCount - 1 do {
_HoD_cutterSpawn = DayZ_cutter call BIS_fnc_selectRandom;
}>
4:03:32   Error position: <DayZ_cutter call BIS_fnc_selectRandom;
}>
4:03:32   Error Undefined variable in expression: dayz_cutter
4:03:32 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 75
4:03:32 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
4:03:32 "DZSC DEBUG: Camp site spawned at location [8122.78,13491.5] with a total of 2 survivors and 1 total objects."
4:03:32 "DZSC DEBUG: Spawn limit has been disabled."
4:03:32 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
4:03:32 Error in expression <;

_unitpos = [_xpos-_xX,_ypos+_xY,0];

_CGCskinSelect createUnit [_unitpos, _ai>
4:03:32   Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
4:03:32   Error Undefined variable in expression: _cgcskinselect
4:03:32 File z\addons\dayz_server\DZSC\dancers1.sqf, line 20
4:03:32 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
4:03:32   Error position: <dayz_serverObjectMonitor set [count dayz>
4:03:32   Error Undefined variable in expression: dayz_serverobjectmonitor
4:03:32 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
4:03:32 Error in expression <ection.sqf"
 
Great job on the script. I'm getting a few errors and not all the items are spawning in at the party. Below will be the errors i'm getting . Any help would be great. Thanks in Advance,

1...Error in expression < BIS_fnc_selectRandom;
_HoD_tentSpawn = DayZ_Tents call BIS_fnc_selectRandom;
_n>
2:57:06 Error position: <DayZ_Tents call BIS_fnc_selectRandom;
_n>
2:57:06 Error Undefined variable in expression: dayz_tents
2:57:06 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 66

2..Error in expression <to _objectCount do {
_HoD_cutterSpawn = DayZ_cutter call BIS_fnc_selectRandom;
}>
2:57:06 Error position: <DayZ_cutter call BIS_fnc_selectRandom;
}>
2:57:06 Error Undefined variable in expression: dayz_cutter
2:57:06 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 75

3..Error in expression <",1,"PRIVATE"];
_tent = createVehicle [_CGCtentSelect, _unitpos,[], 2, "CAN_COL>
2:57:06 Error position: <_CGCtentSelect, _unitpos,[], 2, "CAN_COL>
2:57:06 Error Undefined variable in expression: _cgctentselect
2:57:06 File z\addons\dayz_server\DZSC\relaxers1.sqf, line 26
Try downloading the files again and replacing the existing ones.
 
I ve put it there too.
The message pops up, I have the marker on the map and it spawns a fire and some boxes.
No dancers, no tents.

this shows my RPT:
Code:
 4:03:32 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
4:03:32 Error in expression <ret = _this select _ret;       
};

_ret;>
4:03:32   Error position: <_ret;>
4:03:32   Error Undefined variable in expression: _ret
4:03:32 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24
4:03:32 Error in expression < to _survivorCount - 2 do {
_HoD_male = DayZ_Male call BIS_fnc_selectRandom;
_Ho>
4:03:32   Error position: <DayZ_Male call BIS_fnc_selectRandom;
_Ho>
4:03:32   Error Undefined variable in expression: dayz_male
4:03:32 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 63
4:03:32 Error in expression <objectCount - 1 do {
_HoD_cutterSpawn = DayZ_cutter call BIS_fnc_selectRandom;
}>
4:03:32   Error position: <DayZ_cutter call BIS_fnc_selectRandom;
}>
4:03:32   Error Undefined variable in expression: dayz_cutter
4:03:32 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 75
4:03:32 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
4:03:32 "DZSC DEBUG: Camp site spawned at location [8122.78,13491.5] with a total of 2 survivors and 1 total objects."
4:03:32 "DZSC DEBUG: Spawn limit has been disabled."
4:03:32 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
4:03:32 Error in expression <;

_unitpos = [_xpos-_xX,_ypos+_xY,0];

_CGCskinSelect createUnit [_unitpos, _ai>
4:03:32   Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
4:03:32   Error Undefined variable in expression: _cgcskinselect
4:03:32 File z\addons\dayz_server\DZSC\dancers1.sqf, line 20
4:03:32 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
4:03:32   Error position: <dayz_serverObjectMonitor set [count dayz>
4:03:32   Error Undefined variable in expression: dayz_serverobjectmonitor
4:03:32 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
4:03:32 Error in expression <ection.sqf"
I do not think epoch has a dayz_cutter variable you will need to create it. This is the part where it deviates from the original mod. You would either have to edit it out or edit the variable in. The same goes for the ai gender creation part.
 
Re downloaded and used new files. still get these errors.

Error in expression < BIS_fnc_selectRandom;
_HoD_tentSpawn = DayZ_Tents call BIS_fnc_selectRandom;
_n>
20:13:35 Error position: <DayZ_Tents call BIS_fnc_selectRandom;
_n>
20:13:35 Error Undefined variable in expression: dayz_tents
20:13:35 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 66
20:13:35 Error in expression <objectCount - 1 do {
_HoD_cutterSpawn = DayZ_cutter call BIS_fnc_selectRandom;
}>
20:13:35 Error position: <DayZ_cutter call BIS_fnc_selectRandom;
}>
20:13:35 Error Undefined variable in expression: dayz_cutter
20:13:35 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 75

Error in expression <",1,"PRIVATE"];

_tent = createVehicle [_CGCtentSelect, _unitpos,[], 2, "CAN_COL>
20:13:35 Error position: <_CGCtentSelect, _unitpos,[], 2, "CAN_COL>
20:13:35 Error Undefined variable in expression: _cgctentselect
20:13:35 File z\addons\dayz_server\DZSC\relaxers1.sqf, line 26
 
I have updated the instructions to include the addition of some global variables. I believe I may have left this part out. My apologies.

This should fix all those undefined variable errors.
 
I ve reinstalled the new version of the script. Still I get the message on screen, have the marker on the map and there spawns a fire with a box, nothing else.

The cutter variables seems ok, but other errors are still there.
I run an overpoch server, this shows the RPT:

2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
2:10:27 Error in expression <ret = _this select _ret;
};

_ret;>
2:10:27 Error position: <_ret;>
2:10:27 Error Undefined variable in expression: _ret
2:10:27 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24
2:10:27 Error in expression < to _survivorCount - 2 do {
_HoD_male = DayZ_Male call BIS_fnc_selectRandom;
_Ho>
2:10:27 Error position: <DayZ_Male call BIS_fnc_selectRandom;
_Ho>
2:10:27 Error Undefined variable in expression: dayz_male
2:10:27 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 63
2:10:27 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
2:10:27 "DZSC DEBUG: Camp site spawned at location [12636.3,8565.48] with a total of 2 survivors and 1 total objects."
2:10:27 "DZSC DEBUG: Spawn limit has been disabled."
2:10:27 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
2:10:27 Error in expression <;

_unitpos = [_xpos-_xX,_ypos+_xY,0];

_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error Undefined variable in expression: _cgcskinselect
2:10:27 File z\addons\dayz_server\DZSC\dancers1.sqf, line 20
2:10:27 Cannot create non-ai vehicle DomeTentStorage4,
2:10:27 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
2:10:27 Error position: <dayz_serverObjectMonitor set [count dayz>
2:10:27 Error Undefined variable in expression: dayz_serverobjectmonitor
2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
2:10:27 Error in expression <_unitpos2 = [_xpos+_xX1,_ypos+_xY2,0];

_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error Undefined variable in expression: _cgcskinselect
2:10:27 File z\addons\dayz_server\DZSC\relaxers1.sqf, line 24
2:10:27 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
2:10:27 Error position: <dayz_serverObjectMonitor set [count dayz>
2:10:27 Error Undefined variable in expression: dayz_serverobjectmonitor
2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4

ps. thank you for your work and time you spend on making these scripts.
 
Last edited:
I ve reinstalled the new version of the script. Still I get the message on screen, have the marker on the map and there spawns a fire with a box, nothing else.

The cutter variables seems ok, but other errors are still there.
I run an overpoch server, this shows the RPT:

2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
2:10:27 Error in expression <ret = _this select _ret;
};

_ret;>
2:10:27 Error position: <_ret;>
2:10:27 Error Undefined variable in expression: _ret
2:10:27 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24
2:10:27 Error in expression < to _survivorCount - 2 do {
_HoD_male = DayZ_Male call BIS_fnc_selectRandom;
_Ho>
2:10:27 Error position: <DayZ_Male call BIS_fnc_selectRandom;
_Ho>
2:10:27 Error Undefined variable in expression: dayz_male
2:10:27 File z\addons\dayz_server\DZSC\DZSC_init.sqf, line 63
2:10:27 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
2:10:27 "DZSC DEBUG: Camp site spawned at location [12636.3,8565.48] with a total of 2 survivors and 1 total objects."
2:10:27 "DZSC DEBUG: Spawn limit has been disabled."
2:10:27 "/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/"
2:10:27 Error in expression <;

_unitpos = [_xpos-_xX,_ypos+_xY,0];

_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error Undefined variable in expression: _cgcskinselect
2:10:27 File z\addons\dayz_server\DZSC\dancers1.sqf, line 20
2:10:27 Cannot create non-ai vehicle DomeTentStorage4,
2:10:27 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
2:10:27 Error position: <dayz_serverObjectMonitor set [count dayz>
2:10:27 Error Undefined variable in expression: dayz_serverobjectmonitor
2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4
2:10:27 Error in expression <_unitpos2 = [_xpos+_xX1,_ypos+_xY2,0];

_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error position: <_CGCskinSelect createUnit [_unitpos, _ai>
2:10:27 Error Undefined variable in expression: _cgcskinselect
2:10:27 File z\addons\dayz_server\DZSC\relaxers1.sqf, line 24
2:10:27 Error in expression <ection.sqf"

_object = _this select 0;

dayz_serverObjectMonitor set [count dayz>
2:10:27 Error position: <dayz_serverObjectMonitor set [count dayz>
2:10:27 Error Undefined variable in expression: dayz_serverobjectmonitor
2:10:27 File z\addons\dayz_server\DZSC\scripts\objectProtection.sqf, line 4

ps. thank you for your work and time you spend on making these scripts.
This feature is not currently being developed for any other mods, only DayZ Mod. You do not have the same variables defined in your mod. dayz_male and dayz_female are variables in the vanilla mod.

I find myself growing impatient with people not actually reading the description. So I will give you the variables to put in your custom variables, wherever that may be. Here are the global variables:

Code:
DayZ_Male = ["Survivor_DZ","Survivor1_DZ","Survivor2_DZ","Survivor3_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Bandit1_DZ"];
DayZ_Female = ["SurvivorW2_DZ","BanditW1_DZ"];

As for the serverObjectMonitor variable I believe it is actually DZE_serverObjectMonitor or just serverObjectMonitor, I cannot be 100% on that.
 
if i wanna call the ogg file from the server pbo can i call it like this

sound[]={dayz_server\sounds\danceMusic.ogg, 0.4, 1};

and if this work can i use this on more scripts ?
i am not new new to scripting
but i am trying to understand the code some more instead of only cut paste

Thanks for the help guys i love this scripting sooooo much
specialy if something is working afther alot of errors

And my eng is not perfect sorry folks :)


O BTW i found a online converter for some files
Maybe this is usefull for more ppl
http://www.online-convert.com/

http://www.mp3party.cc
 
Back
Top