MinecraftStats icon indicating copy to clipboard operation
MinecraftStats copied to clipboard

Event summary page is displaying the wrong top score

Open cunhar opened this issue 3 years ago • 2 comments

image https://www.hoobs.live/minecraft/#events image https://www.hoobs.live/minecraft/#event:spring_2022

It seems to be showing the total before the last update ran.

-- Ricardo

cunhar avatar Mar 21 '22 20:03 cunhar

image

it also seems to be different in the awards page.

cunhar avatar Mar 21 '22 20:03 cunhar

I can confirm that this is always behind by one update and other bugs may occur as well because of some twisted logic.


Just to explain (and as a note to self) why there are so many issues with events: there are two conflicting "opinions" that MinecraftStats has internally of an event having started or ended. One is concerned about the times as defined in the config, the other about what data is available from previous updates. The reason is basically that updates may happen at any point, completely out of sync with the times defined in the config. The logic needs a serious overhaul, which I will look into.

This particular bug comes from #195, which fixed some issues, but really only added more faulty logic over already faulty logic. Fixing it is not trivial right now, but will be once the core problems are solved.

pdinklag avatar Jun 11 '22 18:06 pdinklag

Events have been re-implemented in v3.0.0. This bug should be resolved, please reopen if not.

pdinklag avatar May 29 '23 08:05 pdinklag