所有案件
展翅翱翔 的案件
#121445: "Cancelling move causes custom deck ordering to get break"
wontfix: 這項錯誤將不予修復
1
這是關於哪方面的案件?
發生什麼事? 請從下方選擇
顯示異常:部分遊戲資訊顯示錯誤(未造成嚴重後果)
細節描述
• 請描述顯示問題。 建議將此錯誤的螢幕截圖上傳到 Imgur.com 並轉貼連結。
You can rearrange the birds in your hand to strategize about what specific birds you want to play cache etc. I usually use the bonus cards as a sort of marker for the same. But if anyone cancels a move, the bonus card goes back to the end and the card order gets disrupted.• 你的瀏覽器是什麼?
Mozilla v5
案件沿革
karanr • 開發者尚未重現這項錯誤:
2024年 4月18日 22:53 • Using F5 to refresh also breaks the order. So that could be fixed too. It appears everytime someone cancels their turn if you have a custom order.
paramesis • 這項錯誤將不予修復:
2024年 4月19日 0:05 • Addressing the F5 issue first:
After you rearrange cards in your hand, the interface waits 5 seconds before sending them to the server, unless you rearrange your cards further, in which case the timer resets to 5 seconds. This minimizes the number and frequency of transactions by inactive players, reducing the risk of race conditions. If a player closes the page or refreshes before that 5 seconds has passed, the new card order is not saved to the server.
Addressing the Undo:
I anticipated this could be a potential annoyance with the way I had set up this feature, but the probability that players are affected by it is very low, given that this is the first report I've gotten about it since the feature was deployed about 5 months ago (same with the delayed database transaction). When another player cancels their move, the entire game state is restored to a save point, and if that save point was created before your cards were rearranged, the order is reset as well. If the player does anything that creates a new save point, such as rolling dice, drawing a card, or ending their turn, the updated card order will be part of that new save point. There isn't really a way to fix this - that is, preserve the card order through another player's undo - that wouldn't dramatically increase the likelihood of serious errors or incompatibilities with BGA framework updates.
I plan on adding a feature in a future update to allow you to rearrange cards on your turn, which would be the best way of preventing this from being an annoyance, but until that is ready, hopefully it helps to understand what is happening under the hood.
After you rearrange cards in your hand, the interface waits 5 seconds before sending them to the server, unless you rearrange your cards further, in which case the timer resets to 5 seconds. This minimizes the number and frequency of transactions by inactive players, reducing the risk of race conditions. If a player closes the page or refreshes before that 5 seconds has passed, the new card order is not saved to the server.
Addressing the Undo:
I anticipated this could be a potential annoyance with the way I had set up this feature, but the probability that players are affected by it is very low, given that this is the first report I've gotten about it since the feature was deployed about 5 months ago (same with the delayed database transaction). When another player cancels their move, the entire game state is restored to a save point, and if that save point was created before your cards were rearranged, the order is reset as well. If the player does anything that creates a new save point, such as rolling dice, drawing a card, or ending their turn, the updated card order will be part of that new save point. There isn't really a way to fix this - that is, preserve the card order through another player's undo - that wouldn't dramatically increase the likelihood of serious errors or incompatibilities with BGA framework updates.
I plan on adding a feature in a future update to allow you to rearrange cards on your turn, which would be the best way of preventing this from being an annoyance, but until that is ready, hopefully it helps to understand what is happening under the hood.
為本案件添加內容
任何可能重現這項錯誤或了解你的建議之相關資訊,都請在此填寫:
- 其他同樣狀況的桌號/步數
- 按 F5 是否解決了這個問題?
- 問題是否發生了好幾次?每次都發生?時好時壞?
- 建議將此錯誤的螢幕截圖上傳到 Imgur.com 並轉貼連結。