Occasionally the quotes around player usernames in the logs are missing or in single instead of double quotes (latter of those should have been fixed though with the fix of suicide log). This appears to happen when the user is cached as DayzDevil mentioned in the big log thread.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Sometimes
- Operating System
- Windows 7
- Category
- Server
Event Timeline
Comment Actions
if ( identity ) // return partial message even if it fails to fetch identity { //return "Player \"" + "Unknown/Dead Entity" + "\" (id=" + "Unknown" + " pos=<" + m_PosArray[0] + ", " + m_PosArray[1] + ", " + m_PosArray[2] + ">)"; m_PlayerName = "\"" + identity.GetName() + "\""; m_Pid = identity.GetId(); } else { m_PlayerName = player.GetCachedName(); // should be "\"" + player.GetCachedName() + "\"" m_Pid = player.GetCachedID(); }
in pluginadminlog.c the quotes are missing in the else statement when getting the cachedname
The other issue with single quotes only happens when a suicide is logged in emotemanager.c