Merge pull request #723 from dayz10k/master

Add player login/logout location logging to RPT
This commit is contained in:
dayz10k
2013-11-18 08:23:11 -08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ if (!isNull _playerObj) then {
[nil,nil,"per",rTITLETEXT,_message,"PLAIN DOWN"] call RE;
};
diag_log format["DISCONNECT: %1 (%2) Object: %3, _characterID: %4", _playerName,_playerUID,_playerObj,_characterID];
diag_log format["DISCONNECT: %1 (%2) Object: %3, _characterID: %4 at loc %5", _playerName,_playerUID,_playerObj,_characterID, (getPosATL _playerObj)];
_id = [_playerUID,_characterID,2] spawn dayz_recordLogin;
@@ -63,4 +63,4 @@ if (!isNull _playerObj) then {
[_x,"gear"] call server_updateObject;
} foreach (nearestObjects [_playerPos, dayz_updateObjects, 10]);
};
};
};

View File

@@ -128,7 +128,7 @@ if (!_isNew) then {
};
#ifdef DZE_SERVER_DEBUG
diag_log ("LOGIN LOADED: " + str(_playerObj) + " Type: " + (typeOf _playerObj));
diag_log ("LOGIN LOADED: " + str(_playerObj) + " Type: " + (typeOf _playerObj) + " at location: " + (getPosATL _playerObj));
#endif
_isHiveOk = false;
@@ -142,4 +142,4 @@ if (worldName == "chernarus") then {
};
dayzPlayerLogin = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer,_isInfected];
(owner _playerObj) publicVariableClient "dayzPlayerLogin";
(owner _playerObj) publicVariableClient "dayzPlayerLogin";