Jump to content

[Release] ESSV3 - Enhanced Spawn Selection [Updated for 1.0.7.1+]


ebayShopper

Recommended Posts

Anyone able to help me here. I followed the instruction but after selecting my spawn point I am placed in the debug plains.

I have this error in my RPT 

Quote

 Error position: <dayz_clientPreload and !(isNull _agent)>
  Error Undefined variable in expression: dayz_clientpreload
Error in expression <dayz_clientPreload and !(isNull _agent)>

I get the spawn selection, etc all fine but end up in the debug plains and this comes up in my RPT. Any ideas on how to fix? Thanks in advance!

Link to comment
Share on other sites

  • 2 weeks later...
23 minutes ago, andyq said:

Hi I got little issue with this mod. the loadout is working but is problem with players spawn. All players are spawned on top left corner of the map.

I would go back over the install instructions to make sure you have done them correctly

Link to comment
Share on other sites

1 hour ago, JohnnyLube said:

Okay whats going wrong here :-) I have infistar and as an active character when i start the game this comes up. I just esc past the 3 screens to get in game. Which bit have ai buggered up??

 

Cheers

ArmA2OA 2017-03-09 15-53-30-14.jpg

Any client RPT errors? I have a vague memory that there is an error that comes up at this point with infistar.

In future, please attach your client RPT as it helps us find out errors faster instead of playing email tag

To find this logfile:

C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT

Cheers

Link to comment
Share on other sites


if !(PVCDZ_plr_Login2 select 3) exitWith {
#line 1 "mpmissions>
  Error position: <select 3) exitWith {
#line 1 "mpmissions>
  Error Zero divisor
File mpmissions\__CUR_MP.Chernarus\spawn\main.sqf, line 25
[24576.6,"onPreloadFinished"]
Error in expression <efault {[.88,.88,.88,1]};
}];
} forEach class_public;>
  Error position: <class_public;>
  Error Undefined variable in expression: class_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_fillList.sqf, line 40
Error in expression < (_female) then {_class select 2} else {_class select 1};
_weps = _class select >
  Error position: <_class select 1};
_weps = _class select >
  Error Undefined variable in expression: _class
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 14
String STR_EVAL_TYPENAN not found
Error in expression <ffset;
} else {
spawn_camera setPosATL (ASLtoATL _offset);
};>
  Error position: <ASLtoATL _offset);
};>
  Error Type Number, expected Number
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 54
Error in expression <functions\class_preview.sqf"


_class = class_public select 0;
_name = lbText [8>
  Error position: <class_public select 0;
_name = lbText [8>
  Error Undefined variable in expression: class_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 5
Error in expression <ult {[.88,.88,.88,1]};
}];
};
} forEach spawn_public;

if (_inGroup && spawn_nea>
  Error position: <spawn_public;

if (_inGroup && spawn_nea>
  Error Undefined variable in expression: spawn_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\spawn_fill.sqf, line 84
Error in expression <)) exitWith {
_spawn = _x;
};
} forEach spawn_public;

_grid = switch true do {
>
  Error position: <spawn_public;

_grid = switch true do {
>
  Error Undefined variable in expression: spawn_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\spawn_map.sqf, line 12
Error in expression <_grid = _pos;};
};
};
};

preloadCamera _grid;
player switchMove "";

if ((halo_>
  Error position: <_grid;
player switchMove "";

if ((halo_>
  Error Undefined variable in expression: _grid
File mpmissions\__CUR_MP.Chernarus\spawn\main.sqf, line 198
"keyboard_keys reset"
String STR_TGW_VIL_AK74_GP25 not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
String STR_FAL_Street_Sign not found
Cannot create non-ai vehicle c_grasstall,
"PRELOAD_ Functions\init [[L 1-1-A:1 REMOTE],any]"
"MPframework inited"
"dayz_preloadFinished reset"
"Loading custom client compiles"
DEPLOY: loading version 2.8.2 ...
"WARNING: Clearing annoying benches from Chernarus"
SUICIDE v1.2.3: initializing...
CLICK ACTIONS: loading...
DEPLOY: waiting for login...
Service Point: loading config...
PLOTBUFF: launching main removal loop
"z\addons\dayz_code\system\antihack.sqf: Plants libs tests done!"
"Res3tting B!S effects..."
["Sent to server: PVDZ_plr_Login1",["76561198016395135",B 1-1-A:1 (JohnnyLube)]]
["Sent to server: PVDZ_send",[B 1-1-A:1 (JohnnyLube),"dayzSetDate",[B 1-1-A:1 (JohnnyLube)]]]
"PLAYER RESULT: true"
[26574.4,"z\addons\dayz_code\system\scheduler\sched_init.sqf","Scheduler started"]
No owner
No owner
No owner
No owner
["Sent to server: PVDZ_plr_Login2",["1",B 1-1-B:1 (JohnnyLube),"76561198016395135",9,[["SCAR_H_CQC_CCO_SD","M9_SD_DZ","ItemGPS","ItemKnife","ItemMap","ItemKeyBlack1270","ItemEtool","ItemHatchet","ItemToolbox","ItemRadio"],["20Rnd_762x51_SB_SCAR","20Rnd_762x51_SB_SCAR","20Rnd_762x51_SB_SCAR","20Rnd_762x51_SB_SCAR","ItemBandage","ItemBandage","ItemBandage",["15Rnd_9x19_M9",12],"15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9"],"MeleeBaseBallBat"]]]
["Date & time received:",[2012,8,2,13,34]]
["Local date on this client:",[2012,8,2,13,34]]
"Sent to server PVDZ_plr_LoginRecord: [76561198016395135, 1, 0, JohnnyLube]"
[]
"player_forceSave called from fsm"
No owner
No owner
No owner
No owner
No owner
No owner
No owner
No owner
[26575.2,"onPreloadStarted"]
"[Random_Weed_Farm]: Client awaiting markers ..."
"[Random_Weed_Farm]: Client created marker 1 ..."
"[Random_Weed_Farm]: Client created marker 2 ..."
"[Random_Weed_Farm]: Client created marker 3 ..."
"[Random_Weed_Farm]: Client created marker 4 ..."
"[Random_Weed_Farm]: Client created marker 5 ..."
Error in expression <ginCompleted"};


if !(PVCDZ_plr_Login2 select 3) exitWith {
#line 1 "mpmissions>
  Error position: <select 3) exitWith {
#line 1 "mpmissions>
  Error Zero divisor
File mpmissions\__CUR_MP.Chernarus\spawn\main.sqf, line 25
[26575.4,"onPreloadFinished"]
Error in expression <efault {[.88,.88,.88,1]};
}];
} forEach class_public;>
  Error position: <class_public;>
  Error Undefined variable in expression: class_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_fillList.sqf, line 40
Error in expression < (_female) then {_class select 2} else {_class select 1};
_weps = _class select >
  Error position: <_class select 1};
_weps = _class select >
  Error Undefined variable in expression: _class
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 14
String STR_EVAL_TYPENAN not found
Error in expression <ffset;
} else {
spawn_camera setPosATL (ASLtoATL _offset);
};>
  Error position: <ASLtoATL _offset);
};>
  Error Type Number, expected Number
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 54
Error in expression <functions\class_preview.sqf"


_class = class_public select 0;
_name = lbText [8>
  Error position: <class_public select 0;
_name = lbText [8>
  Error Undefined variable in expression: class_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\class_preview.sqf, line 5
Error in expression <ult {[.88,.88,.88,1]};
}];
};
} forEach spawn_public;

if (_inGroup && spawn_nea>
  Error position: <spawn_public;

if (_inGroup && spawn_nea>
  Error Undefined variable in expression: spawn_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\spawn_fill.sqf, line 84
Error in expression <)) exitWith {
_spawn = _x;
};
} forEach spawn_public;

_grid = switch true do {
>
  Error position: <spawn_public;

_grid = switch true do {
>
  Error Undefined variable in expression: spawn_public
File mpmissions\__CUR_MP.Chernarus\spawn\functions\spawn_map.sqf, line 12
Error in expression <_grid = _pos;};
};
};
};

preloadCamera _grid;
player switchMove "";

if ((halo_>
  Error position: <_grid;
player switchMove "";

if ((halo_>
  Error Undefined variable in expression: _grid
File mpmissions\__CUR_MP.Chernarus\spawn\main.sqf, line 198
"keyboard_keys reset"


 

Think thats how you do spoilers :-) LOOK AT ALL THOSE ERRORS!!!

Link to comment
Share on other sites

Getting all the big guns out on this problem tonight :-)

Step 4

PVCDZ_plr_Login2 = [[0,respawn_west_original],_state,_worldspace,_randomSpot,([_randomSpot,_playerID] call spawn_config)];
_clientID = owner _playerObj;
_clientID publicVariableClient "PVCDZ_plr_Login2";
if (dayz_townGenerator) then {
    _clientID publicVariableClient "PVCDZ_plr_plantSpawner";
};


Step 6

// Precise base building 1.0.5
call compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\kk_functions.sqf";
#include "spawn_config.sqf"
[] execVM "\a2_infiSTAR\AH.sqf";
 

Should I drop the #include bit below the infistar entry?

Link to comment
Share on other sites

Very occasionnally getting this error pop up, and players cant respawn, they are just stuck in debug. Actually had it happen to me aswell.

Would it be an issue with the spawn loadouts perhaps? Ive not touched server_playerDied except to add this script and its weird its only very random and occasional.

When it happened to me, and also to another player, the kill message showed twice, and even though theey were "dead", their esp marker still showed on thier body like they werent.

Spoiler

13:30:32 Error in expression <died set [count dayz_died, _playerID];

_newObject setVariable ["bodyName",_play>
13:30:32   Error position: <_newObject setVariable ["bodyName",_play>
13:30:32   Error Undefined variable in expression: _newobject
13:30:32 File z\addons\dayz_server\compile\server_playerDied.sqf, line 20

 

Link to comment
Share on other sites

Quote

class_selection = true; //Enable class selection dialog
#define START_ITEMS "HandRoadFlare","ItemBandage",2,"ItemPainkiller","ItemWaterbottle","FoodPistachio"
class_public = [ // These are visible to anyone on the server
    [(localize "str_playerstats_bandit")+" Lvl1","Bandit1_DZ","BanditW1_DZ",[START_ITEMS,"17Rnd_9x19_glock17",2],["G17_DZ"],"",[],[],0,-5000,0,""],
    [(localize "str_playerstats_bandit")+" Lvl2","Bandit1_DZ","BanditW1_DZ",[START_ITEMS,"17Rnd_9x19_glock17",3,"ItemMorphine"],["G17_DZ"],"DZ_Assault_Pack_EP1",[],[],0,-10000,0,""],
    [(localize "str_playerstats_bandit")+" Lvl3","Bandit1_DZ","BanditW1_DZ",[START_ITEMS,"17Rnd_9x19_glock17",4,"ItemMorphine"],["G17_DZ"],"DZ_TK_Assault_Pack_EP1",[],[],0,-15000,0,"MeleeHatchet"],
    
    ["VIP1",    "Sniper1_DZ","SurvivorW2_DZ",["100Rnd_556x45_BetaCMag",2],["M4SPR"],"DZ_LargeGunBag_EP1",[],[],1,0,5000], //"Crossbow_CCO_DZ"
    ["VIP2",    "Sniper1_DZ","SurvivorW2_DZ",["5Rnd_762x51_M24",4,"30Rnd_556x45_StanagSD",2],["M24_Gh_DZ"],"DZ_LargeGunBag_EP1",[],[],2,0,5000,"M4A1_CCO_SD_MFL_DZ"],
    ["VIP3",    "Sniper1_DZ","SurvivorW2_DZ",    ["20Rnd_762x51_DMR",2,"100Rnd_762x51_M240",2],["DMR_Gh_DZ"], "DZ_LargeGunBag_EP1",    [],[],3,0,5000,"Mk48_Holo_DZ"],
    
    [(localize "str_playerstats_hero")+" Lvl1",if (class_epoch) then {"Soldier_Sniper_PMC_DZ"} else {"Survivor3_DZ"},"SurvivorW2_DZ",[START_ITEMS,"6Rnd_45ACP",2],["Revolver_DZ"],"",[],[],0,5000,0,""],
    [(localize "str_playerstats_hero")+" Lvl2",if (class_epoch) then {"Soldier_Sniper_PMC_DZ"} else {"Survivor3_DZ"},"SurvivorW2_DZ",[START_ITEMS,"6Rnd_45ACP",3,"ItemMorphine"],["Revolver_DZ"],"DZ_Assault_Pack_EP1",[],[],0,10000,0,""],
    [(localize "str_playerstats_hero")+" Lvl3",if (class_epoch) then {"Soldier_Sniper_PMC_DZ"} else {"Survivor3_DZ"},"SurvivorW2_DZ",[START_ITEMS,"6Rnd_45ACP",4,"ItemMorphine"],["Revolver_DZ"],"DZ_TK_Assault_Pack_EP1",[],[],0,15000,0,"MeleeHatchet"],
    [localize "str_playerstats_survivor","Survivor2_DZ","SurvivorW2_DZ",[START_ITEMS,"8Rnd_9x18_Makarov",2],["Makarov_DZ"],"",[],[],0,0,0]
];

They dont seem to work correctly like your previous builds. I've tested stock with above code and uid in class_level1 (tested server sided and client sided) and they show in the list but are not blocked. Maybe it has something to do with the block list? Tried adding code but it didnt work :S

 

Quote

_block = switch true do {
    case (_hlevel < 0 && _humanity >= _hlevel): {systemChat format[localize "STR_ESS_HUMANITY_TOO_HIGH",_hlevel]; true};
    case (_hlevel > 0 && _humanity <= _hlevel): {systemChat format[localize "STR_ESS_HUMANITY_TOO_LOW",_hlevel]; true};
    case ((_level == 1) && {!(_puid in _classLevel1)}): {systemChat format ["You need reward level %1 for this class",_level]; true};
    case ((_level == 2) && {!(_puid in _classLevel2)}): {systemChat format ["You need reward level %1 for this class",_level]; true};
    case ((_level == 3) && {!(_puid in _classLevel3)}): {systemChat format ["You need reward level %1 for this class",_level]; true};

    default {false};
};

 

Link to comment
Share on other sites

2 hours ago, MG-Maximus said:

They dont seem to work correctly like your previous builds. I've tested stock with above code and uid in class_level1 (tested server sided and client sided) and they show in the list but are not blocked. Maybe it has something to do with the block list? Tried adding code but it didnt work :S

 

 

you are in the mission file... you need to edit the server sided file. Ebay moved it to the server so uids and vips arnt shown mission sided.

 

go in your server pbo and init folder. you should have a spawn_config.sqf there if you followed the instructions.

Thats the file you need to edit for VIP or admin loadouts

Link to comment
Share on other sites

22 minutes ago, theduke said:

you are in the mission file... you need to edit the server sided file. Ebay moved it to the server so uids and vips arnt shown mission sided.

 

go in your server pbo and init folder. you should have a spawn_config.sqf there if you followed the instructions.

Thats the file you need to edit for VIP or admin loadouts

I have done that.. they work but are invisible to all but the person who's uid is in the list - we like them to visible to all players but locked to players not in the uid list.

Link to comment
Share on other sites

2 minutes ago, MG-Maximus said:

I have done that.. they work but are invisible to all but the person who's uid is in the list - we like them to visible to all players but locked to players not in the uid list.

dont think is the issue why they arnt showing, but you're sequence is broken it seems

first line should have ,"" after ,5000..if im not mistaken. honestly not sure if it makes a difference lol

  ["VIP1",    "Sniper1_DZ","SurvivorW2_DZ",["100Rnd_556x45_BetaCMag",2],["M4SPR"],"DZ_LargeGunBag_EP1",[],[],1,0,5000], //"Crossbow_CCO_DZ"
    ["VIP2",    "Sniper1_DZ","SurvivorW2_DZ",["5Rnd_762x51_M24",4,"30Rnd_556x45_StanagSD",2],["M24_Gh_DZ"],"DZ_LargeGunBag_EP1",[],[],2,0,5000,"M4A1_CCO_SD_MFL_DZ"],
    ["VIP3",    "Sniper1_DZ","SurvivorW2_DZ",    ["20Rnd_762x51_DMR",2,"100Rnd_762x51_M240",2],["DMR_Gh_DZ"], "DZ_LargeGunBag_EP1",    [],[],3,0,5000,"Mk48_Holo_DZ"],

like so

["VIP1",   "Sniper1_DZ","SurvivorW2_DZ",["100Rnd_556x45_BetaCMag",2],["M4SPR"],"DZ_LargeGunBag_EP1",[],[],1,0,5000,""], //"Crossbow_CCO_DZ"

Link to comment
Share on other sites

1 hour ago, theduke said:

dont think is the issue why they arnt showing, but you're sequence is broken it seems

first line should have ,"" after ,5000..if im not mistaken. honestly not sure if it makes a difference lol

  ["VIP1",    "Sniper1_DZ","SurvivorW2_DZ",["100Rnd_556x45_BetaCMag",2],["M4SPR"],"DZ_LargeGunBag_EP1",[],[],1,0,5000], //"Crossbow_CCO_DZ"
    ["VIP2",    "Sniper1_DZ","SurvivorW2_DZ",["5Rnd_762x51_M24",4,"30Rnd_556x45_StanagSD",2],["M24_Gh_DZ"],"DZ_LargeGunBag_EP1",[],[],2,0,5000,"M4A1_CCO_SD_MFL_DZ"],
    ["VIP3",    "Sniper1_DZ","SurvivorW2_DZ",    ["20Rnd_762x51_DMR",2,"100Rnd_762x51_M240",2],["DMR_Gh_DZ"], "DZ_LargeGunBag_EP1",    [],[],3,0,5000,"Mk48_Holo_DZ"],

like so

["VIP1",   "Sniper1_DZ","SurvivorW2_DZ",["100Rnd_556x45_BetaCMag",2],["M4SPR"],"DZ_LargeGunBag_EP1",[],[],1,0,5000,""], //"Crossbow_CCO_DZ"

Thanks I'll try that

Link to comment
Share on other sites

This Works:

Add in Class pick sqf above _humanity = player getVariable ["humanity",0];

Quote

_level = _class select 8;
_puid = getPlayerUID player;
if ((_level == 1) && {!(_puid in class_Level1)}) exitWith {systemChat "This class is for Event Winner only.";_block=true;};
if ((_level == 2) && {!(_puid in class_Level2)}) exitWith {systemChat "This class is for Event Winner only.";_block=true;};
if ((_level == 3) && {!(_puid in class_Level3)}) exitWith {systemChat "This class is for Event Winner only.";_block=true;};

Then the server config add:

Quote

class_level1 = [
"0"
];
class_level2 = [
"0"
];
class_level3 = [
"0"
];
publicVariable "class_level1";
publicVariable "class_level2";
publicVariable "class_level3";

Not sure its the best way to do it but maybe ebay wouldnt mind cleaning up when he's free-

also needs something to add the lock sign

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