mojira.dev
MCPE-143063

Updating name of existing score is being ignored

The SetScore packet allows people to add new scores, update existing scores and remove scores.

Adding and modifying scores is combined to one action type, so both adding and modifying scores contain info such as: objective id, score id, name and score value, but when I try to update the name of an existing score it looks like it is being ignored because it doesn't update. So I thought: maybe I just have to update both the score value and the name, but then only the score value is being updated.

Steps to Reproduce:

  1. Send the required packets to create and display a sidebar scoreboard. We'll use 'abc123' as objective id.

  2. Send a score, e.g.: score id = 3, objective id = 'abc123', score =4, type = fake, name = 'initial name'

  3. Update the score, e.g.: score id = 3, objective id = 'abc123', score = 5, type = fake, name = 'edited name'

Observed Results:

The score with score id 3 uses the edited score (5) but still uses the initial name ('initial name')

Expected Results:

Both the new score (5) and the new name ('edited name') should be shown instead of only the new score

Attachments

Comments 9

Please clarify using this format:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example givenΒ here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
πŸ““Β Issue Guidelines – πŸ’¬Β Mojang Support – πŸ“§Β Suggestions – πŸ“–Β Minecraft Wiki

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Can you upload an example behavior pack with the components you mention in the bug?

I'm not familiar with behavior packs, but I would be surprised if you can do such low-level operations with them.

And since it's a bug I don't expect this behavior to be used / available in the base game. Most of the time people delete the score and add the new one to the objective.

Β 

If someone is familiar with behavior packs and is willing to look into it, it'd be appreciated.

The steps to reproduce should still be accurate, as I don't recall any changes being made to them.

@unknown Could you add example commands to your repro steps so that we can reproduce the bug in the same way? Or you could just attach a video showing the repro steps from start to finish (if your video exceeds the file size limit, you can upload it elsewhere and link it here).

I have no idea how I describe the steps to reproduce clearer than they currently are. But I repurposed another project which is a very basic Bedrock server (that supports 1.16.100 and higher) to include these steps and shows the issue. The source code is available here: GeyserMC/GlobalLinkServer at MCPE-143063 (github.com) clone, run it, join the server and type anything in chat to reproduce it. The class that contains the steps is: org.geysermc.globallinkserver.bedrock.MCPE143063

I have no idea if commands can do the same thing, but I believe this is more a packet level thing. It's also not a visual glitch or anything. This is what it looks like:

[media]

Tim203

(Unassigned)

943349

Community Consensus

Multiple

1.19.0.21 Preview, 1.19.0.20 Beta, 1.18.10.24 Beta, 1.17.30, 1.18.0.25 Beta, ..., 1.18.12 Hotfix, 1.19.30, 1.19.50.24 Preview, 1.19.41, 1.19.50

Retrieved