所有案件
万能天神的案件
#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!
增加一些新内容到这篇报告
任何可能重现这项漏洞或了解你的建议之相关资讯,都请在此填写:
- 其他的游戏桌 ID / 移动 ID
- 按 F5 是否解决了这个问题?
- 问题是否发生了好几次?还是每次都发生?还是时好时坏?
- 如果你有这个系统漏洞发生时的屏幕截图(画质不要太差),你可以使用Imgur.com来把它上传到网络,然后将链接复制/粘贴到这里来。