anfo 118 Posted June 22, 2017 Credit to @lifetap and this link for the following code to workaround the Zeus JIP issue that seems to still be prevalent almost 12 months along Spoiler // Only run on clients, excluding HCs [] spawn { // Delay until the server time has sync'd waitUntil {time > 5}; // For JIP, wait until the main screen loads waitUntil {!isNull (findDisplay 46) }; // Check if player name contains the word "Zeus" if (["zeus", format["%1",player]] call BIS_fnc_inString) then { _checkIfValidCuratorSlot = { private _curatorList = _this; // Check that Zeus has been assigned to player if (isNull (getAssignedCuratorLogic player)) then { private _exitLoop = false; { // Find an unassigned Zeus slot and assign it to the player if (isNull (getAssignedCuratorUnit _x)) then { [player, _x] remoteExecCall ["assignCurator",2]; sleep 2.0; // Check if a valid Zeus slot if (isNull (getAssignedCuratorLogic player)) then { // Broken Zeus slot, so clear and repeat _x remoteExecCall ["unassignCurator",2]; sleep 2.0; } else { hint format["Zeus assigned to curator %1", _x]; _exitLoop = true; }; }; if (_exitLoop) exitWith {}; } forEach _curatorList; }; }; // Find all curators and reverse list so to lessen chance of admin Zeus conflicts private _curatorList = allcurators; reverse _curatorList; // Check that Zeus has been initially assigned to player _curatorList call _checkIfValidCuratorSlot; // Ensure Zeus keeps slot, despite admin logging while {true} do { // Check that Zeus has been assigned to player _curatorList call _checkIfValidCuratorSlot; sleep 10.0; }; }; }; According to @lifetap the code above checks for a slot containing the string "zeus", however I was wondering how difficult it could it be to alter the code to check if admin is logged in instead? Share this post Link to post Share on other sites