#104822: "Displayed score does not update for score over 6 points"
Vad handlar denna rapport om?
Vad hände? Välj från alternativen nedan
Detaljerad beskrivning
• Vänligen beskriv visningsproblemet. Om du har en skärmdump av denna buggen (vilket är bra), så kan du använda Imgur.com för att ladda upp den och kopiera/klistra in länken här.
The final score was correct (49) but the DISPLAYED score was 33.
imgur.com/IQ1OK33
I am pretty sure that what is happening is that if an individual line score is greater than can be displayed by icons (i.e. greater than six) then the individual line score is not added to the displayed score. Twice near the end of the game I scored 8 points for smaller Triumphal Arch (2 VP for 4 buildings) with four spaces with 4 buildings. That is twice 8 for a total of 16. The difference between the displayed score and the actual ending score is that same 16.
The actual ending score is correct. 5 VP to begin the game PLUS 45 VP during the game MINUS one VP stolen by LEGION.• Vad har du för webbläsare?
Google Chrome v119
Rapporthistorik
imgur.com/1VEEmEC
Same scenario. I scored 8 points for smaller Triumphal Arch (2 VP for 4 buildings) with four spaces with 4 buildings. The final score is 30 but the displayed score is 22
It's clearly a very unusual situation to score more than 6VP from a civil card, which probably explains why no-one else has raised this in over 2 years - but it's still a bug!
I've taken a quick look at my code and in part you're spot on in your diagnosis - for the part where the VP tokens are animating as moving towards your player panel, that does indeed doesn't work properly (or at all) if more than 6VP is scored. Not sure how I missed that but should be easy to fix.
What is less obvious to me is why the actual score didn't update, as that's done in a separate function and it's not instantly obvious to me why that shouldn't work as intended. But I have tired eyes right now and am looking at code I mostly wrote over 2 years ago - now I have some idea what the issue is I hope I'll be able to reproduce it without too many problems.
Thanks again for raising this - I'm not sure when I'll have time to fix it but hopefully within a week or two.
I'm so sorry this took a lot longer than I claimed - the Christmas holiday happened and then a few other things kept me busy, and meanwhile it was harder than I expected to set up this same scenario to test and observe what was happening. As soon as I did it was obvious what the problem was (which was exactly what I'd already said above - I just hadn't realised that my faulty code was actually throwing a JS error which made subsequent events, notably the updating of the VP, not happen), and easy to fix - so this should be fixed now.
Thanks again for the report!
Lägg till något till denna rapport
- Ett annat spelbords-ID / drag-ID
- Löste F5 problemet?
- Uppträdde problemet flera gånger? Varje gång? Slumpmässigt?
- Om du har en skärmdump av denna buggen (vilket är bra), så kan du använda Imgur.com för att ladda upp den och kopiera/klistra in länken här.