-
Notifications
You must be signed in to change notification settings - Fork 28
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
Player count update #33
Player count update #33
Conversation
Can you split this up so it only focuses on fixing the bug? Currently the PR has added features that I want to address in a different pr specific to them (such as mod count etc) |
Sure! |
Hmm, looks good. Let's try it out. |
Waaait wait wait, FA packet is kind of expensive. Wouldn't this create lag spikes any time a client triggers it? |
I don't think so because it uses FA packet only if you are in hub_viewing |
However I don't know how to upgrade player count when a player joins in to the server. I tried every new_client function but nothing |
Maybe I can optimize something |
to count players I made 2 loops instead of 3, because I need to divide the counters to hubs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to count players I made 2 loops instead of 3, because I need to divide the counters to hubs.
To send players count upgrade I made 1 loop instead of 3
closes #30