9:11:53 Error in expression < = _primary select 8;
if (!(_model in AllPlayers)) then {
_model = "Survivor2_>
9:11:53 Error position: <AllPlayers)) then {
_model = "Survivor2_>
9:11:53 Error Undefined variable in expression: allplayers
9:11:53 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 75
9:11:53 "TIME SYNC: Local Time set to [2013,8,3,13,11]"
Here is a snippet from my server_playerLogin.sqf around that line
//Process request
_newPlayer = _primary select 1;
_isNew = count _primary < 7; //_result select 1;
_charID = _primary select 2;
#ifdef DZE_SERVER_DEBUG
diag_log ("LOGIN RESULT: " + str(_primary));
#endif
/* PROCESS */
_hiveVer = 0;
if (!_isNew) then {
//RETURNING CHARACTER
_inventory = _primary select 4;
_backpack = _primary select 5;
_survival = _primary select 6;
_model = _primary select 7;
_hiveVer = _primary select 8;
if (!(_model in AllPlayers)) then {
_model = "Survivor2_DZ";
};
} else {
if (DZE_PlayerZed) then {
_isInfected = _primary select 3;
} else {
_isInfected = 0;
};
_model = _primary select 4;
_hiveVer = _primary select 5;
if (isNil "_model") then {
_model = "Survivor2_DZ";
} else {
if (_model == "") then {
_model = "Survivor2_DZ";
};
};
I was wondering if someone could tell me what it means please and if it could be the reason that when my server gets over 20ish players some people have trouble joining.
Question
robbiedarza
Hello all,
i have an error in my rpt, here it is
Here is a snippet from my server_playerLogin.sqf around that line
I was wondering if someone could tell me what it means please and if it could be the reason that when my server gets over 20ish players some people have trouble joining.
Many thanks
Robbie
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now