removed old server fps counter and added new one.

This commit is contained in:
[VB]AWOL
2013-11-13 15:46:44 -06:00
parent c380f10f87
commit 7172efe960
2 changed files with 3 additions and 1 deletions

View File

@@ -62,6 +62,9 @@ while {true} do {
_time = diag_tickTime;
if ((_time - zero_weather) > 300) then {
diag_log format["DEBUG FPS : %1 OBJS: %2", diag_fps,(count (allMissionObjects ""))];
call server_weather;
zero_weather = _time;
};

View File

@@ -1,5 +1,4 @@
private ["_result","_pos","_wsDone","_dir","_block","_isOK","_countr","_objWpnTypes","_objWpnQty","_dam","_selection","_totalvehicles","_object","_idKey","_type","_ownerID","_worldspace","_intentory","_hitPoints","_fuel","_damage","_date","_script","_key","_outcome","_vehLimit","_hiveResponse","_objectCount","_codeCount","_objectArray","_hour","_minute","_data","_status","_val","_traderid","_retrader","_traderData","_id","_lockable","_debugMarkerPosition","_vehicle_0"];
[]execVM "\z\addons\dayz_server\system\s_fps.sqf"; //server monitor FPS (writes each ~181s diag_fps+181s diag_fpsmin*)
dayz_versionNo = getText(configFile >> "CfgMods" >> "DayZ" >> "version");
dayz_hiveVersionNo = getNumber(configFile >> "CfgMods" >> "DayZ" >> "hiveVersion");