PDEATH Log

Shibdib

Member
Trying to get it to show more detailed kill reports in the log.

Using

Code:
diag_log ("PDEATH: Player Died " + _playerID " Killed by " + _killerName);

I get this error

Code:
15:02:43 Error in expression <log ("PDEATH: Player Died " + _playerID " Killed by " + _killerName);

So I'm not formatting it correctly... anyone know how its supposed to go?
 
Awesome thanks, another thing... is their anyway to have pdeaths log to a different file? I want a log thats just all player kills
 
Hmm, I'm using

Code:
diag_log ("PDEATH: Player Died " + _playerName + " Killed by " + _killerName);

But even when he's killed by a player it shows up as

Code:
"PDEATH: Player Died SH Killed by nil"

and no theirs no1 named nil on my server...


I believe it has to do with the fact that

Code:
MPEventHandler RemoteExec Log: #3 SH (xxxxxxxguidxxxxxx) - #106 "Hit" 15:164 Survivor2_DZ - "_this spawn fnc_plyrHit;"


Is showing he's hit by survivor2_DZ skinned player.. and not an actual player name.. not sure where these originate from tho or if thats even why
 
Do you have more information about saintly.dll ? I currently log Kills and Hits including the PlayerIDs but I have to parse the logfile to get the entrys into the DB :/

for logging I use (based on the bliss killsmg system):

Code:
_killerPlayerID = getPlayerUID _killer;
 
_loc_message = format["PKILL: %1 (%5) was killed by %2 (%6) with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance, _playerID, _killerPlayerID];
and (in fnc_plyrHit.sqf)
Code:
_victimPlayerID = getPlayerUID _victim;
_attakerPlayerID = getPlayerUID _attacker;
 
diag_log format["PHIT: %1 (%5) was hit by %2 (%6) with %3 from %4m", _victim, _attacker, _weapon, _distance, _victimPlayerID, _attakerPlayerID];
 
Back
Top