Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non connected users appear to be counted 2 times... #98

Closed
AleziaKurdis opened this issue Aug 23, 2021 · 1 comment
Closed

Non connected users appear to be counted 2 times... #98

AleziaKurdis opened this issue Aug 23, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AleziaKurdis
Copy link

I don't know if it's the "domain server" or the "metaverse server" that has the bug, but a user that is not connected to an account is counted 2 time in the number of user on a domain/place.

To reproduce:

  • As a NON-connected user, go in a domain where you know that you will be alone. The place API will return 2 as number of user in the Place and the Domain.

  • Wait 5 minutes

  • As a connected user, go in a domain where you know that you will be alone. The place API will return 1 as number of user in the Place and the Domain.

@Misterblue
Copy link
Collaborator

This is an Iamus bug. Testing found that Iamus's interpretation of what the domain-server sends is wrong. The heartbeat sends "num_users" and "num_anon_users" and, if there is one anon user, those are both returned at "1". That is, "num_users" seems to be the total number of users and "num_anon_users" is the number of those users that are anonymous. Iamus mis-interpreted it as "num_users" being the number of logged in users.

@Misterblue Misterblue added the bug Something isn't working label Aug 23, 2021
@Misterblue Misterblue self-assigned this Aug 23, 2021
Loudened pushed a commit to Loudened/overte-metaverse that referenced this issue Jul 23, 2023
Problem was that Iamus interpreted the domain-server "num_users" and
"anon_users" as two separate sets when, actually, the domain-server
heartbeats "num_users" as the total number of users and "anon_users"
is the number, of that total, that are anonymous.
Fixes vircadia#98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants