Jump to content

[Infistar] Players not able to join on Startup [FIX]


Cherdenko

Recommended Posts

WARNING!!!:
IF YOU DO THIS THERE IS STILL A RISK LEFT, CAUSING YOUR SERVER TO BE MORE VULNARABLE SO JUST USE THIS FIX IF YOU KNOW WHAT YOU ARE DOING

(even if the percentage of something happening coz of that is pretty small).

 

 

As a few of you infistar users might have noticed, there is a "feature" that does not let players load in at the start of the server, leading to not giving players start coins(if you have a coin system) and kicking them back to the lobby again
the only thing you need to do is remove that part

[] spawn {
	_INIT_OBJECT ='Old_bike_TK_CIV_EP1' createVehicle [0,0,0];
	_INIT_OBJECT setVehicleInit "
		if(!isServer)then{
			[] spawn {
				while {1 == 1} do
				{
					waitUntil {hintSilent str time; !isNull findDisplay 46};
					diag_log '<infiSTAR.de> connected too early, server is still starting..!';
					
					findDisplay 46 closeDisplay 0;
					sleep 0.3;
				};
			};
		};
	";
	processInitCommands;
	waitUntil {!isNil "BIS_MPF_remoteExecutionServer" && !isNil "BIS_MPF_InitDone" && !isNil "BIS_fnc_init" && !isNil "infiSTAR_INIT"};
	clearVehicleInit _INIT_OBJECT;
	deleteVehicle _INIT_OBJECT;
};

in the AH.sqf and the problem should no longer exist.

 

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...