[testserver] y_bows: players sometimes see other player's reloading HUD #5973
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#5973
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I happens with a delay, like it gets replayed.
Sometimes after rapid firing by one account, other starts seeing rapid reloads.
Sometimes second account does not see HUD while holding a bow, seems like it's related too.
It was noticed by Chache too, so I think I'm not crazy...
i think this is a symptom of some network issue as discussed in #5972
If I spam player with hud updates (sending bunch of them on each globalstep, like I did with my
/find_entities
), then with time client gets further and further behind.It's like there's a limit that server will send at the time, and this queue slowly fills up. Makes sense if
hud_change()
must be a reliable packet and server has some limit it will send at a time. And this affects not only hud, but all other packets start to slowly get behind too?I wonder if real-time bow updates is what causing this basically? Or something else strange is going on that's specific to the test server?
i lowered the HUD update rate (
da3c3ddb93
). note that 2 of the 3 HUDs are basically constant, so they wouldn't generate updates very often (futil's HUD manager only "changes" the HUD when a value actually changed).i'm not sure this will fix this issue though, i'm not sure exactly what's causing it. i think it only happens when there's a ton of server traffic in general for unrelated reasons.
and for the record, i'm certain this has nothing to do with other player's HUDs - it's HUD updates that were meant to be sent to you, but somehow get delayed or played out-of-order - possibly due to packet loss? i got this behavior a few times when playing around by on my own on the test server.
There seems to be a limit of packets that the server will send to client "per step", and if they are reliable packets, then the queue can get behind, so if #6156 was the cause, reliable packet spam may be the explanation for this bug.
QA
We'll have to see whether it happens on main with so many more people.
Let's hold an archery tournament to see whether there are still issues with shared HUD
does this look correct? 2 players having same hud id?
but we didn't observe any actual issues though...
that's totally normal; the hud_id is per-player. it just means that 13 was the lowest unused HUD ID for both of you.
i think this got fixed by #6156; bow HUDs don't seem to desync anymore, at any rate.