[Atmosphere] Epoch Survivor Parties Support Thread

Discussion in 'Script/Addon help' started by Stuff and Junk, Dec 21, 2013.

  1. hans1

    hans1 New Member

    Joined:
    Jan 14, 2013
    Messages:
    9
    Likes Received:
    0
    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"
     
  2. Stuff and Junk

    Stuff and Junk Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    266
    Likes Received:
    21
    Try downloading the files again and replacing the existing ones.
     
  3. Stuff and Junk

    Stuff and Junk Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    266
    Likes Received:
    21
    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.
     
  4. affraid

    affraid Member

    Joined:
    Mar 11, 2013
    Messages:
    35
    Likes Received:
    4
    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
     
  5. Stuff and Junk

    Stuff and Junk Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    266
    Likes Received:
    21
    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.
     
  6. affraid

    affraid Member

    Joined:
    Mar 11, 2013
    Messages:
    35
    Likes Received:
    4
    It works now, No more errors. Thank you sir
     
  7. Stuff and Junk

    Stuff and Junk Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    266
    Likes Received:
    21
    Nice! Glad to get it working. Been working on the next update and its going better than i had hoped.
     
  8. hans1

    hans1 New Member

    Joined:
    Jan 14, 2013
    Messages:
    9
    Likes Received:
    0
    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: Jul 30, 2015
  9. Stuff and Junk

    Stuff and Junk Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    266
    Likes Received:
    21
    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.
     
  10. RichiT

    RichiT New Member

    Joined:
    Jul 6, 2017
    Messages:
    1
    Likes Received:
    0
    http://www.mp3party.cc
     

Share This Page