commented some diag_logs to reduce log spam

This commit is contained in:
[VB]AWOL
2013-08-26 03:11:45 -05:00
parent c911a7cdab
commit 38cca1cb77
12 changed files with 39 additions and 40 deletions

View File

@@ -20,7 +20,7 @@ if ((_timeout - time) > 0) then {
_object setVariable["unconsciousTime",300,true];
#ifdef DZE_SERVER_DEBUG
diag_log format["COMBAT LOGGED: %1 (%2)", _playerName,_timeout];
diag_log format["SET UNCONCIOUSNESS: %1", _playerName];
//diag_log format["SET UNCONCIOUSNESS: %1", _playerName];
#endif
// Message whole server when player combat logs

View File

@@ -51,7 +51,7 @@ while {true} do {
// Once a minute.
EventSchedulerLastTime = _datestr;
diag_log ("EVENTS: Local Time is: " + _datestr);
//diag_log ("EVENTS: Local Time is: " + _datestr);
{
if([[(_x select 0),(_x select 1),(_x select 2),(_x select 3),(_x select 4)],_date] call epoch_eventIsAny) then {
diag_log ("RUNNING EVENT: " + (_x select 5) + " on " + _datestr);

View File

@@ -4,7 +4,7 @@ _character = _this select 0;
_traderid = _this select 1;
_clientID = owner _character;
diag_log ("HIVE: Menu Request by ClientID: "+ str(_clientID));
//diag_log ("HIVE: Menu Request by ClientID: "+ str(_clientID));
// add cacheing
_retrader = call compile format["ServerTcache_%1;",_traderid];
@@ -16,7 +16,7 @@ if(isNil "_retrader") then {
_key = format["CHILD:399:%1:",_traderid];
_data = "HiveEXT" callExtension _key;
diag_log "HIVE: Request sent";
//diag_log "HIVE: Request sent";
//Process result
_result = call compile format ["%1",_data];
@@ -25,7 +25,7 @@ if(isNil "_retrader") then {
if (_status == "ObjectStreamStart") then {
_val = _result select 1;
//Stream Objects
diag_log ("HIVE: Commence Menu Streaming...");
//diag_log ("HIVE: Commence Menu Streaming...");
call compile format["ServerTcache_%1 = [];",_traderid];
for "_i" from 1 to _val do {
_data = "HiveEXT" callExtension _key;

View File

@@ -51,7 +51,7 @@ _object_position = {
_fuel = fuel _object;
};
_key = format["CHILD:305:%1:%2:%3:",_objectID,_worldspace,_fuel];
diag_log ("HIVE: WRITE: "+ str(_key));
//diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
@@ -70,7 +70,7 @@ _object_inventory = {
} else {
_key = format["CHILD:303:%1:%2:",_objectID,_inventory];
};
diag_log ("HIVE: WRITE: "+ str(_key));
//diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
};
@@ -88,7 +88,7 @@ _object_damage = {
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HIVE: WRITE: "+ str(_key));
//diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
@@ -112,7 +112,7 @@ _object_killed = {
} else {
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
};
diag_log ("HIVE: WRITE: "+ str(_key));
//diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
@@ -130,7 +130,7 @@ _object_repair = {
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HIVE: WRITE: "+ str(_key));
//diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
@@ -145,7 +145,7 @@ switch (_type) do {
};
case "position": {
if (!(_object in needUpdate_objects)) then {
diag_log format["DEBUG Position: Added to NeedUpdate=%1",_object];
//diag_log format["DEBUG Position: Added to NeedUpdate=%1",_object];
needUpdate_objects set [count needUpdate_objects, _object];
};
};
@@ -157,7 +157,7 @@ switch (_type) do {
call _object_damage;
} else {
if (!(_object in needUpdate_objects)) then {
diag_log format["DEBUG Damage: Added to NeedUpdate=%1",_object];
//diag_log format["DEBUG Damage: Added to NeedUpdate=%1",_object];
needUpdate_objects set [count needUpdate_objects, _object];
};
};