mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 17:42:01 +03:00
weight system disable logging
This commit is contained in:
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
|
|||||||
_total_weight = _total_weight + _weight;
|
_total_weight = _total_weight + _weight;
|
||||||
} else {
|
} else {
|
||||||
// log only if not found
|
// log only if not found
|
||||||
// #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
#ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||||
diag_log format["Class not found %1", _x];
|
diag_log format["Class not found %1", _x];
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user