Mojira Archive
MCM-534

Scoreboard scores saved earlier than other information when exiting a world.

Verification Build: 1.9.0.15 RC5, 1.10.0.3 Beta 2

Partner Rank: 2

Summary:
When saving and quitting a world, the current state of the scoreboard is saved a few ticks before other info, during which the game continues to run. This means that if the scores change in those last few ticks, they will not get saved, unlike other state which may have also changed. This can lead to a desync between the scoreboard and the rest of the game state, such as an entity's position, which is impossible to detect and fix.

Impact:

Scoreboards become unusable when in relation to other game state, severely limiting their effectiveness.

Repro Steps:

  1. Open the provided world.
  2. Flick the lever on the repeating command block.
  3. Save and quit.
  4. Edit the bug.mcfunction file in the functions directory of the behavior pack, commenting out both lines by prefacing them with a #.
  5. Reopen the world.

Observed Results: 

The armorstand's x position is greater than the score on the side would indicate (in tenths of a block), implying that after the score was saved it continued to be teleported. You can test this by running `/teleport <score / 10> ~ ~` and comparing your position to that of the armor_stand.

Expected Results: 
The armorstand's x position is equal to the score divided by 10, implying that the most up to date score was the one saved.

Screenshots/Videos attached: 

No

Fixed

BluCode

2019-02-07, 03:18 AM

2019-02-20, 08:21 PM

2019-02-20, 08:21 PM

0

1

Future Release

-