Removed unused offload_diag and calculation
This commit is contained in:
parent
a0cee3b586
commit
2ccae67bcf
|
@ -920,4 +920,3 @@ GRLIB_blufor_cap = (GRLIB_blufor_cap * GRLIB_unitcap) min 100;
|
|||
GRLIB_sector_cap = GRLIB_sector_cap * GRLIB_unitcap;
|
||||
GRLIB_battlegroup_cap = GRLIB_battlegroup_cap * GRLIB_unitcap;
|
||||
GRLIB_patrol_cap = GRLIB_patrol_cap * GRLIB_unitcap;
|
||||
GRLIB_offload_diag = false;
|
||||
|
|
|
@ -53,7 +53,6 @@ execVM "scripts\client\markers\spot_timer.sqf";
|
|||
execVM "scripts\client\misc\broadcast_squad_colors.sqf";
|
||||
execVM "scripts\client\misc\disable_remote_sensors.sqf";
|
||||
execVM "scripts\client\misc\init_arsenal.sqf";
|
||||
// execVM "scripts\client\misc\offload_diag.sqf";
|
||||
execVM "scripts\client\misc\permissions_warning.sqf";
|
||||
if (!KP_liberation_ace) then {execVM "scripts\client\misc\resupply_manager.sqf";};
|
||||
execVM "scripts\client\misc\secondary_jip.sqf";
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
private [ "_hint_string" ];
|
||||
|
||||
if ( isNil "group_owners" ) then { group_owners = []; };
|
||||
|
||||
while { true } do {
|
||||
|
||||
if ( GRLIB_offload_diag ) then {
|
||||
|
||||
_hint_string = "";
|
||||
{
|
||||
_hint_string = _hint_string + format ["%1 %2 %3 %4<br/>", _x select 1, _x select 3, _x select 4, _x select 5];
|
||||
} foreach group_owners;
|
||||
|
||||
hintSilent parseText _hint_string;
|
||||
};
|
||||
|
||||
sleep 5;
|
||||
};
|
|
@ -54,7 +54,6 @@ execVM "scripts\server\game\spawn_radio_towers.sqf";
|
|||
execVM "scripts\server\game\synchronise_vars.sqf";
|
||||
execVM "scripts\server\game\synchronise_eco.sqf";
|
||||
execVM "scripts\server\game\zeus_synchro.sqf";
|
||||
execVM "scripts\server\offloading\offload_calculation.sqf";
|
||||
execVM "scripts\server\offloading\show_fps.sqf";
|
||||
execVM "scripts\server\patrols\civilian_patrols.sqf";
|
||||
execVM "scripts\server\patrols\manage_patrols.sqf";
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
if (isNil "group_owners") then {group_owners = [];};
|
||||
|
||||
while {true} do {
|
||||
|
||||
group_owners = [[gamelogic, "Server", owner gamelogic, 0, 0, 0]];
|
||||
|
||||
{group_owners pushback [_x, name _x, owner _x, 0, 0, 0];} forEach allPlayers;
|
||||
|
||||
{
|
||||
private _currentgroup = _x;
|
||||
private _group_owner = [];
|
||||
private _idx_group_owner = -1;
|
||||
{
|
||||
if (( _x select 2) == groupOwner _currentgroup) then {
|
||||
_group_owner = _x;
|
||||
_idx_group_owner = group_owners find _x;
|
||||
};
|
||||
|
||||
} foreach group_owners;
|
||||
|
||||
if (count _group_owner > 0) then {
|
||||
if (side _currentgroup == GRLIB_side_friendly) then {
|
||||
group_owners set [_idx_group_owner, [_group_owner select 0, _group_owner select 1,_group_owner select 2, (_group_owner select 3) + (count units _currentgroup), (_group_owner select 4), (_group_owner select 5)]];
|
||||
};
|
||||
if (side _currentgroup == GRLIB_side_enemy) then {
|
||||
group_owners set [_idx_group_owner, [_group_owner select 0, _group_owner select 1,_group_owner select 2, (_group_owner select 3), (_group_owner select 4) + (count units _currentgroup), (_group_owner select 5)]];
|
||||
};
|
||||
if (side _currentgroup == GRLIB_side_civilian) then {
|
||||
group_owners set [_idx_group_owner, [_group_owner select 0, _group_owner select 1,_group_owner select 2, (_group_owner select 3), (_group_owner select 4), (_group_owner select 5) + (count units _currentgroup)]];
|
||||
};
|
||||
}
|
||||
|
||||
} forEach allGroups;
|
||||
|
||||
publicVariable "group_owners";
|
||||
|
||||
sleep 5;
|
||||
};
|
Loading…
Reference in New Issue