Improve 'Previous Instances' grouping behavior #383

Closed
opened 2026-04-05 16:18:25 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @osiris-plus on 7/21/2025

Group a user’s previous instances by both location and calendar date for better clarity, instead of grouping only by instance identifier.

This issue is most noticeable with 24/7 public group instances, where the instance ID remains the same. In such cases, VRCX would group sessions from multiple days into a single row, making it much harder to track when you played with a particular user.

The algorithm connects multiple OnPlayerJoined / OnPlayerLeft events from gamelog_join_leave together if they're from the same instance and fall within 1 hour threshold window. This approach prevents log clutter from frequent rejoins as well.

Before:
image

After:
image

*Originally created by @osiris-plus on 7/21/2025* Group a user’s previous instances by both location and calendar date for better clarity, instead of grouping only by instance identifier. This issue is most noticeable with 24/7 public group instances, where the instance ID remains the same. In such cases, VRCX would group sessions from multiple days into a single row, making it much harder to track when you played with a particular user. The algorithm connects multiple OnPlayerJoined / OnPlayerLeft events from gamelog_join_leave together if they're from the same instance and fall within 1 hour threshold window. This approach prevents log clutter from frequent rejoins as well. Before: <img width="980" height="429" alt="image" src="https://github.com/user-attachments/assets/72972360-42b5-44d3-98fd-d7ddf1215594" /> After: <img width="996" height="513" alt="image" src="https://github.com/user-attachments/assets/4a40433d-a1e7-419c-ac43-c4f77b48cd2a" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#383