Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
olsen

Found this in the arma2oa.rpt regarding never ending loading

Recommended Posts

My friend has the problem that it says loading forever so i switched my cdkey with his in regedit and trying to play on his i got the same forever loading bug. The arma2oa.rpt showed that it cannot get past this check, it just spams it. Both me and him on 2 seperate machines in 2 seperate appartments are getting the same errors in the arma2oa.rpt using his cdkey.

Error in expression <count (dayzPlayerLogin2) > 0>
Error position: <dayzPlayerLogin2) > 0>
Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
Error position: <dayzPlayerLogin2) > 0>
Error Undefined variable in expression: dayzplayerlogin2

The code for it is loacted here in dayz_code\z\addons\dayz_code\system\player_monitor.fsm and dayzPlayerLogin2 is not mentioned anywhere else in the dayzcode.

Line 633

	 "dayzPlayerLogin2 = [];" \n

Line 643


class Links
{
/*%FSM<LINK "Response">*/
class Response
{
priority = 0.000000;
to="Phase_Two";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"count (dayzPlayerLogin2) > 0"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/"_msg = player getVariable[""worldspace"",[]];"/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};

Line 659


class Phase_Two
{
name = "Phase_Two";
init = /*%FSM<STATEINIT""">*/"0 cutText [""Character Data received from server"", ""BLACK FADED"",60];" \n
"diag_log ""Finished..."";" \n
"" \n
"_worldspace = dayzPlayerLogin2 select 0;" \n
"_state = dayzPlayerLogin2 select 1;" \n
"" \n
"_setDir = _worldspace select 0;" \n
"_setPos = _worldspace select 1;" \n
"" \n
"player setPosATL _setPos;" \n
"player setDir _setDir;" \n
"" \n
"//Legs and Arm fractures" \n
"_legs = player getVariable [""hit_legs"",0];" \n
"_arms = player getVariable [""hit_hands"",0];" \n
"" \n
"if (_legs > 1) then {" \n
" player setHit[""legs"",1];" \n
" r_fracture_legs = true;" \n
"};" \n
"if (_arms > 1) then {" \n
" player setHit[""hands"",1];" \n
" r_fracture_arms = true;" \n
"};" \n
"" \n
"//Record current weapon state" \n
"dayz_myWeapons = weapons player; //Array of last checked weapons" \n
"dayz_myItems = items player; //Array of last checked items" \n
"dayz_myMagazines = magazines player;" \n
"" \n
"dayz_playerUID = _playerUID;" \n
"" \n
"if ((_isNew) OR (count _inventory == 0)) then {" \n
" //player is new, add initial loadout" \n
" _config = (configFile >> ""CfgSurvival"" >> ""Inventory"" >> ""Default"");" \n
" _mags = getArray (_config >> ""magazines"");" \n
" _wpns = getArray (_config >> ""weapons"");" \n
" _bcpk = getText (_config >> ""backpack"");" \n
" _bcpkWpn = getText (_config >> ""backpackWeapon"");" \n
" " \n
" //Add inventory" \n
" {" \n
" _isOK = isClass(configFile >> ""CfgMagazines"" >> _x);" \n
" if (_isOK) then {" \n
" player addMagazine _x;" \n
" };" \n
" } forEach _mags;" \n
" {" \n
" _isOK = isClass(configFile >> ""CfgWeapons"" >> _x);" \n
" if (_isOK) then {" \n
" player addWeapon _x;" \n
" };" \n
" } forEach _wpns;" \n
" " \n
" player addBackpack _bcpk; " \n
" dayz_myBackpack = unitBackpack player;" \n
"" \n
" if (_bcpkWpn != """") then {" \n
" dayz_myBackpack addWeaponCargoGlobal [_bcpkWpn,1];" \n
" };" \n
"};" \n
"" \n
"//Work out survival time" \n
"_totalMins = _survival select 0;" \n
"_days = floor (_totalMins / 1440);" \n
"_totalMins = (_totalMins - (_days * 1440));" \n
"_hours = floor (_totalMins / 60);" \n
"_mins = (_totalMins - (_hours * 60));" \n
"" \n
"//player variables" \n
"dayz_characterID = _charID;" \n
"dayz_hasFire = objNull; //records players Fireplace object" \n
"dayz_myCursorTarget = objNull;" \n
"dayz_myPosition = getPosATL player; //Last recorded position" \n
"dayz_lastMeal = (_lastAte * 60);" \n
"dayz_lastDrink = (_lastDrank * 60);" \n
"dayz_zombiesLocal = 0; //Used to record how many local zombies being tracked" \n
"" \n
"//load in medical details" \n
"r_player_dead = player getVariable[""USEC_isDead"",false];" \n
"r_player_unconscious = player getVariable[""NORRN_unconscious"", false];" \n
"r_player_infected = player getVariable[""USEC_infected"",false];" \n
"r_player_injured = player getVariable[""USEC_injured"",false];" \n
"r_player_inpain = player getVariable[""USEC_inPain"",false];" \n
"r_player_cardiac = player getVariable[""USEC_isCardiac"",false];" \n
"r_player_lowblood = player getVariable[""USEC_lowBlood"",false];" \n
"r_player_blood = player getVariable[""USEC_BloodQty"",r_player_bloodTotal];" \n
"" \n
"//Hunger/Thirst" \n
"_messing = player getVariable[""messing"",[0,0]];" \n
"dayz_hunger = _messing select 0;" \n
"dayz_thirst = _messing select 1;" \n
"" \n
"//player setVariable [""humanity"",-3000, true];"/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "Alive">*/
class Alive
{
priority = 0.000000;
to="Position";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"!r_player_dead"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
/*%FSM<LINK "Dead_Player">*/
class Dead_Player
{
priority = 0.000000;
to="ERROR__Player_Already";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"r_player_dead"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};

Edited by MOlsen

Share this post


Link to post
Share on other sites

I know nothing but...

Looks like your player data was not fetched from the Hive.

No data, no spawn.

Public, Private or both ? (public I bet).

Not that anything I have written will help!

Good luck.

Share this post


Link to post
Share on other sites

vilayer on panthera

Edited by MOlsen

Share this post


Link to post
Share on other sites

Found some more info in my arma2oa.rpt any ideas?


"Locality Event"
"Locality Event"
"DAYZ: CLIENT IS RUNNING DAYZ_CODE "1.6.1""
"PLOGIN: Initating"
Old style material 201 used in ReportStack not available
Old style material 201 used in ReportStack not available
"PLOGIN: Player Model Exists"
"PLOGIN: Player Ready"
"PLOGIN: Requesting Authentication... (12333830)"
"Locality Event"
"Locality Event"
"PLAYER RESULT: true"
"PLOGIN: authenticated with : ["337669",[[,,,,,,[,]]],["DZ_Patrol_Pack_EP1",[],[]],[8336,0,0],false,"1.6.1","Survivor2_DZ",true,false]"
"Attempting to switch model"
"[]"
"[]"
"Swichtable Unit Created. Equipment:"
"[]"
"[]"
"[[],[]]"
"[[],[]]"
Error in expression < isClass(configFile >> "CfgWeapons" >> _x);
if (_isOK) then {
player addWeapon >
Error position: <_x);
if (_isOK) then {
player addWeapon >
Error Undefined variable in expression: _x
File z\addons\dayz_code\compile\player_gearSet.sqf, line 34
Error in expression <_item;
};
};
_idc = _idc + 1;
} forEach _mags;

{
_isOK = isClass(configFile >
Error position: <_mags;

{
_isOK = isClass(configFile >
Error Undefined variable in expression: _mags
File z\addons\dayz_code\compile\player_gearSet.sqf, line 29
Error in expression <K = isClass(configFile >> "CfgWeapons" >> _x);
if (_isOK) then {
player addWeap>
Error position: <>> _x);
if (_isOK) then {
player addWeap>
Error Generic error in expression
File z\addons\dayz_code\compile\player_gearSet.sqf, line 34
Error in expression <count (dayzPlayerLogin2) > 0>
Error position: <dayzPlayerLogin2) > 0>
Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
Error position: <dayzPlayerLogin2) > 0>

Share this post


Link to post
Share on other sites
Sign in to follow this  

×