所有案件
Deus 的案件
#104822: "Displayed score does not update for score over 6 points"
fixed: 錯誤已修復
1
這是關於哪方面的案件?
發生什麼事? 請從下方選擇
顯示異常:部分遊戲資訊顯示錯誤(未造成嚴重後果)
細節描述
• 請描述顯示問題。 建議將此錯誤的螢幕截圖上傳到 Imgur.com 並轉貼連結。
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.• 你的瀏覽器是什麼?
Google Chrome v119
案件沿革
2023年11月26日 18:57 •
MistakenIdentity • 開發者尚未重現這項錯誤:
2023年11月26日 19:10 • Here is a second instance of the same bug in 441761537
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
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
robinzig • 開發者已確認這項錯誤:
2023年11月27日 1:53 • Thanks - I've watched the replay and confirmed that I'm seeing the same incorrect behaviour as you.
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.
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.
robinzig • 錯誤已修復:
2024年 1月23日 23:58 • Hello,
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!
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!
為本案件添加內容
任何可能重現這項錯誤或了解你的建議之相關資訊,都請在此填寫:
- 其他同樣狀況的桌號/步數
- 按 F5 是否解決了這個問題?
- 問題是否發生了好幾次?每次都發生?時好時壞?
- 建議將此錯誤的螢幕截圖上傳到 Imgur.com 並轉貼連結。