diff --git a/LogWatcher.cs b/LogWatcher.cs index 427c7c02..342218a3 100644 --- a/LogWatcher.cs +++ b/LogWatcher.cs @@ -22,7 +22,6 @@ namespace VRCX { private static readonly ReaderWriterLockSlim m_Lock = new ReaderWriterLockSlim(); private static List m_GameLog = new List(); - private static string m_RecentDestination = string.Empty; private static Thread m_Thread; private static bool m_Reset; @@ -48,7 +47,6 @@ namespace VRCX if (m_Reset) { m_Reset = false; - m_RecentDestination = string.Empty; D.Clear(); m_Lock.EnterWriteLock(); try @@ -124,42 +122,7 @@ namespace VRCX if (s.Length > 35) { var c = s[35]; - if (c == 'V') - { - // 2020.01.20 21:21:18 Log - [VRCFlowManagerVRC] Destination set: wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd - if (s.Length > 71 && - string.Compare(s, 34, "[VRCFlowManagerVRC] Destination set: ", 0, "[VRCFlowManagerVRC] Destination set: ".Length, StringComparison.Ordinal) == 0) - { - var destination = s.Substring(71); - if (destination.Length == 0) - { - // loading screen - continue; - } - if (destination.Split(':').Length == 1) - { - // no instance info - continue; - } - m_RecentDestination = destination; - var item = new[] - { - ConvertLogTimeToISO8601(s), - "Location", - destination - }; - m_Lock.EnterWriteLock(); - try - { - m_GameLog.Add(item); - } - finally - { - m_Lock.ExitWriteLock(); - } - } - } - else if (c == 'R') + if (c == 'R') { // 2019.07.31 22:26:24 Log - [RoomManager] Joining wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd:6974~private(usr_4f76a584-9d4b-46f6-8209-8305eb683661)~nonce(0000000000000000000000000000000000000000000000000000000000000000) // 2019.07.31 22:26:24 Log - [RoomManager] Joining or Creating Room: VRChat Home @@ -168,11 +131,6 @@ namespace VRCX string.Compare(s, 56, "or ", 0, "or ".Length, StringComparison.Ordinal) != 0) { var location = s.Substring(56); - if (m_RecentDestination.Equals(location)) - { - m_RecentDestination = string.Empty; // only once - continue; - } var item = new[] { ConvertLogTimeToISO8601(s),