Jump to content
Meiestrix

Zeus - Black screen bug / No interface after reconnect

Recommended Posts

HI,

I have a problem with the Zeus Interface.

When I start a game master mission on my dedicated server and select the virtual Zeus slot everything is fine so far.

The problem starts when I have for example a disconnect  then i am not able to use the Zeus slot anymore.

 

Every time i join the slot the Zeus interface does not open anymore. The screen is just complete black, or your camera is stuck somewhere close to the ground

and you cant do anything.

Pressing the Zeus key does nothing.

When you press your map key you can just see the red map crosshair.

 

Does someone else have this problem too?

This bug is really annoying because the whole mission has to restart when the Zeus does not work anymore.

 

  • Like 1

Share this post


Link to post
Share on other sites

I have the same problem. This probleme exists since Eden3D.

 

Has nobody a solution or the same problem?

  • Like 1

Share this post


Link to post
Share on other sites

I havent found a solution for this.

This bug is really annoying.

Share this post


Link to post
Share on other sites

My solution for this problem:

Create a text file called initPlayerServer.sqf at Mission main folder and put the following code inside.

gm1-4 is the name of a playable unit and Zeus1-4 is the name of the Game Master module. This is only an example. Works fine :)

if (!isnil("gm1")) then {
	if (isnull(getassignedcuratorlogic gm1)) then {
		unassignCurator Zeus1;
		sleep 2;
		gm1 assignCurator Zeus1;
	};
};
if (!isnil("gm2")) then {
	if (isnull(getassignedcuratorlogic gm2)) then {
		unassignCurator Zeus2;
		sleep 2;
		gm2 assignCurator Zeus2;
	};
};
if (!isnil("gm3")) then {
	if (isnull(getassignedcuratorlogic gm3)) then {
		unassignCurator Zeus3;
		sleep 2;
		gm3 assignCurator Zeus3;
	};
};
if (!isnil("gm4")) then {
	if (isnull(getassignedcuratorlogic gm4)) then {
		unassignCurator Zeus4;
		sleep 2;
		gm4 assignCurator Zeus4;
	};
};

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for your answer. 

I have tested this today, but it does not work for me.

Still a blackscreen for the Zeus player after a disconnect.

Share this post


Link to post
Share on other sites

Try this at initPlayerServer.sqf:

{
	if (!isnull (getassignedcuratorunit _x)) then {
		_unit = getassignedcuratorunit _x;
		if (isnull (getassignedcuratorlogic _unit)) then {
			unassignCurator _x;
			sleep 1;
			_unit assignCurator _x;
		};
	};
} foreach allcurators;

  • Like 3

Share this post


Link to post
Share on other sites

Tom Rattler: thanks for that solution! Was debugging for about a week now! Nearly got mad with that! Your code fixes the issue, thanks a lot !

Edited by target6666
  • Like 1

Share this post


Link to post
Share on other sites

Tom Rattler, you are my saviour. My clan and I had those issues with Zeus for several months now, and every attempt at fixing the problem was unsuccessful. We could use Zeus only as long the Zeus-player was logged into the GameMaster-Slot upon starting the map. If he had to rejoin (because of disconnect or other reasons), he couldn't enter the Zeus-interface anymore.

 

Once I created the initPlayerServer.sqf and entered the following code, everything worked as intended.

 

{
	if (!isnull (getassignedcuratorunit _x)) then {
		_unit = getassignedcuratorunit _x;
		if (isnull (getassignedcuratorlogic _unit)) then {
			unassignCurator _x;
			sleep 1;
			_unit assignCurator _x;
		};
	};
} foreach allcurators;

 

You saved us a lot of trouble and time, and now we can finally enjoy the fun of Zeus-Missions again. Take our deepest thanks from my clan and me.

 

Edit: We found, that sometimes after a reconnect the Zeus interface won't work at all. In this case, you should wait up to a minute (maybe longer, depending on the amount of map data that has to be loaded once you are in the mission) before attempting to enter Zeus-mode again. If this still doesn't work, then reconnect again. Please note that you need to disconnect from the server entirely. It doesn't suffice to just enter the lobby and rejoin again.

  • Like 2

Share this post


Link to post
Share on other sites

Here an additional code for problems with TFAR and controlled AI with Zeus:

InitPlayerServer.sqf:

{
	if (!isnull (getassignedcuratorunit _x)) then {
		_unit = getassignedcuratorunit _x;
		if (isnull (getassignedcuratorlogic _unit)) then {
			unassignCurator _x;
			sleep 1;
			_unit assignCurator _x;
			if (isClass (configFile >> "CfgPatches" >> "task_force_radio")) then {
				_unit call TFAR_fnc_isForcedCurator;
			};
		};
	};
} foreach allcurators;

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×