Add some logging from variables

This commit is contained in:
A Man
2022-04-02 15:45:44 +02:00
parent e116caa815
commit bfa836bb2a
9 changed files with 63 additions and 55 deletions

View File

@@ -85,6 +85,6 @@ sched_animals = {
};
};
};
// diag_log format [ "%1: update animals. local: %5, global: %6 fps: %2 -> %3%4",__FILE__, _min, diag_fpsmin,if (diag_fpsmin < 10) then {"!! <<<<<<<<<<<<<<<<<<<"} else {""}, _count, _global ];
if (DZE_schedDebug == 1) then {diag_log format [ "%1: update animals. local: %5, global: %6 fps: %2 -> %3%4",__FILE__, _min, diag_fpsmin,if (diag_fpsmin < 10) then {"!! <<<<<<<<<<<<<<<<<<<"} else {""}, _count, _global ];};
objNull
};

View File

@@ -6,7 +6,7 @@
*/
sched_antiTP_init = {
diag_log [ diag_ticktime, __FILE__, "Anti Teleport inited"];
if (DZE_schedDebug == 1) then {diag_log [ diag_ticktime, __FILE__, "Anti Teleport inited"];};
[true, [], 0, 0, objNull, respawn_west_original]
};

View File

@@ -63,4 +63,4 @@ if (count _list == 0) then {
};
_list execFSM (_base+"scheduler.fsm");
diag_log [ diag_tickTime, __FILE__, "Scheduler started"];
//diag_log [ diag_tickTime, __FILE__, "Scheduler started"];

View File

@@ -1,7 +1,7 @@
// (c) facoptere@gmail.com, licensed to DayZMod for the community
sched_security_init = {
diag_log [ diag_ticktime, __FILE__, "Some security routines inited"];
if (DZE_schedDebug == 1) then {diag_log [ diag_ticktime, __FILE__, "Some security routines inited"];};
[ "", time, 0, 0, grpNull ]
};