From 9ebeb828056007f2fe7e90593a0fbab418e5a2b5 Mon Sep 17 00:00:00 2001 From: He-Man Date: Sun, 14 Jan 2018 20:35:13 +0100 Subject: [PATCH] SimulationHandlerOld + Comment Server fsm no longer handles simulation for Vehicles, so this config is useless and can be removed --- Server_Install_Pack/@epochhive/epochconfig.hpp | 3 +-- .../compile/epoch_vehicle/EPOCH_load_vehicles_old.sqf | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Server_Install_Pack/@epochhive/epochconfig.hpp b/Server_Install_Pack/@epochhive/epochconfig.hpp index db4942e4..36cc667f 100644 --- a/Server_Install_Pack/@epochhive/epochconfig.hpp +++ b/Server_Install_Pack/@epochhive/epochconfig.hpp @@ -54,9 +54,8 @@ forceRestartTime = 14400; // 4 hour restarts }; // vehicles - Max vehicle slots is calculated from per vehicle limits below. Warning! Higher the number lower the performance. - ReservedVehSlots = 50; // Reserved Vehicle Slots (only needed, if you store non-Epoch Vehicles in the Database) + ReservedVehSlots = 50; // Reserved Vehicle Slots (only needed, if you manually spawn in additional Vehicles - AdminTool / Blackmarket...) disableAutoRefuel = "true"; // Removes auto refuel from all buildings at server startup. - simulationHandlerOld = "false"; // When enabled this feature disables simulation on vehicles that are not nea players. Can help improve client fps at the cost of server fps. VehLockMessages = "true"; // Give players a hint, that the Vehicle is locked / unlocked removevehweapons[] = { // remove these Weapons from spawned Vehicles "missiles_DAR","gatling_30mm","gatling_20mm","missiles_DAGR","cannon_30mm_Plane_CAS_02_F","Missile_AA_03_Plane_CAS_02_F","Missile_AGM_01_Plane_CAS_02_F","Rocket_03_HE_Plane_CAS_02_F", diff --git a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles_old.sqf b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles_old.sqf index 513d877f..3bfd7e75 100644 --- a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles_old.sqf +++ b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles_old.sqf @@ -24,7 +24,6 @@ EPOCH_VehicleSlots = []; _allVehicles = []; _serverSettingsConfig = configFile >> "CfgEpochServer"; -_simulationHandler = [_serverSettingsConfig, "simulationHandlerOld", false] call EPOCH_fnc_returnConfigEntry; _immuneVehicleSpawn = [_serverSettingsConfig, "immuneVehicleSpawn", false] call EPOCH_fnc_returnConfigEntry; _removeweapons = [_serverSettingsConfig, "removevehweapons", []] call EPOCH_fnc_returnConfigEntry; _removemagazinesturret = [_serverSettingsConfig, "removevehmagazinesturret", []] call EPOCH_fnc_returnConfigEntry; @@ -255,10 +254,6 @@ for "_i" from 1 to _maxVehicleLimit do { _marker setMarkerText _class; _marker setMarkerColor "ColorGreen"; }; - - if (_simulationHandler) then{ - _vehicle enableSimulationGlobal false; - }; }; }; };