Fix server FPS logging

No need to have a config variable for this, admin can easily change it
in server pbo.
This commit is contained in:
ebaydayz
2016-04-17 17:11:49 -04:00
parent ee58868d6f
commit f38c6ff72e
7 changed files with 7 additions and 22 deletions

View File

@@ -1,8 +1,5 @@
// replaced with dze_diag_fps
/*
while {isServer} do {
diag_log ("DEBUG FPS : " + str(diag_fps) );
sleep 360;
while {true} do {
diag_log format["SERVER FPS: %1 PLAYERS: %2",diag_fps,playersNumber west];
//diag_log format["SERVER FPS: %1 PLAYERS: %2 OBJECTS: %3",diag_fps,playersNumber west,count (allMissionObjects "")]; // very intensive
uiSleep 360;
};
*/

View File

@@ -27,7 +27,6 @@ sched_co_deleteVehicle = {
sched_corpses = {
private ["_delQtyZ","_delQtyP","_addFlies","_x","_deathTime","_onoff","_delQtyAnimal", "_sound", "_deathPos", "_cpos"];
// EVERY 2 MINUTE
if (DZE_DiagFps == 2) then {call dze_diag_fps;};
// DELETE UNCONTROLLED ZOMBIES --- PUT FLIES ON FRESH PLAYER CORPSES --- REMOVE OLD FLIES & CORPSES
_delQtyZ = 0;
_delQtyP = 0;

View File

@@ -45,7 +45,6 @@ sched_lootpiles_5m = {
sched_lootpiles = {
private ["_plrBatch","_chunkSize","_imax","_plr","_i","_x", "_changed"];
// EVERY 5 MINUTES, ONE OF THESE TASKS SPACED BY 5 SECONDS:
if (DZE_DiagFps == 1) then {call dze_diag_fps;};
// LOOK FOR OLD LOOTPILES -OR- IGNORE LOOTPILES NEAR _plrBatch PLAYERS -OR- REMOVE REMAINING _chunkSize LOOTPILES
_chunkSize = 50;
_plrBatch = 10;

View File

@@ -1,5 +1,5 @@
private ["_date","_year","_month","_day","_hour","_minute","_date1","_hiveResponse","_key","_objectCount","_dir","_point","_i","_action","_dam","_selection","_wantExplosiveParts","_entity","_worldspace","_damage","_booleans","_rawData","_ObjectID","_class","_CharacterID","_inventory","_hitpoints","_fuel","_id","_objectArray","_script","_result","_outcome"];
//[]execVM "\z\addons\dayz_server\system\s_fps.sqf"; //server monitor FPS (writes each ~181s diag_fps+181s diag_fpsmin*)
[]execVM "\z\addons\dayz_server\system\s_fps.sqf"; //server monitor FPS (writes each ~181s diag_fps+181s diag_fpsmin*)
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
waitUntil {!isNil "BIS_MPF_InitDone"};