Jump to content
  • 0

Loading screen error


Georgie

Question

I have just finished installing Zupa's Currency System and I seem to now get this error. When logging in I get stuck on the loading screen, with a number on the bottom right. I can still hear myself walk around and stuff, I am totally puzzled to what the problem is, I have no idea.

 

If you could help that would be great :)

 

Thanks

-George

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Add this in your compiles.sqf, somewhere inside "if(!isDedicated)"

 

	[] spawn {
        private["_timeOut","_display","_control1","_control2"];
        disableSerialization;
        _timeOut = 0;
        dayz_loadScreenMsg = "";
        diag_log "DEBUG: loadscreen guard started.";
        _display = uiNameSpace getVariable "BIS_loadingScreen";
        if (!isNil "_display") then {
                _control1 = _display displayctrl 8400;
                _control2 = _display displayctrl 102;
        };
		if (!isNil "dayz_DisplayGenderSelect") then {
			waitUntil {!dayz_DisplayGenderSelect};
		};

        // 120 sec timeout (12000 * 0.01)
        while { _timeOut < 12000 } do {
            if (dayz_clientPreload && dayz_authed) exitWith { endLoadingScreen; diag_log "PLOGIN: Login loop completed!"; };
            if (!isNil "_display") then {
                if ( isNull _display ) then {
                        waitUntil { !dialog; };
                        startLoadingScreen ["","RscDisplayLoadCustom"];
                        _display = uiNameSpace getVariable "BIS_loadingScreen";
                        _control1 = _display displayctrl 8400;
                        _control2 = _display displayctrl 102;
                };

                if ( dayz_loadScreenMsg != "" ) then {
                        _control1 ctrlSetText dayz_loadScreenMsg;
                        dayz_loadScreenMsg = "";
                };

                _control2 ctrlSetText format["%1",round(_timeOut*0.01)];
            };

            _timeOut = _timeOut + 1;

            if (_timeOut >= 12000) then {
                1 cutText [localize "str_player_login_timeout", "PLAIN DOWN"];
                sleep 10;
                endLoadingScreen;
                endMission "END1";
            };

            sleep 0.01;
        };
	};

That's a exact copy of what i got.. Had the same problem to!

Link to comment
Share on other sites

  • 0

Look for any errors in both your client and server RPT. If none are present, use UKMartin's advice.

 

Alternatively, just add this to compiles.sqf

 

Replace this line:

 

            if (dayz_clientPreload && dayz_authed) exitWith { diag_log "PLOGIN: Login loop completed!"; };
 

with this :

 

            if (dayz_clientPreload && dayz_authed) exitWith {
                endLoadingScreen;
                diag_log "PLOGIN: Login loop completed!";

            };

 

Thanks to InsertCoins for the above.

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
  • Discord

×
×
  • Create New...