Closed JelleZijlstra closed 5 months ago
what was the game id?
1072518
Today's error, game 1074188.
Another one today:
Game 1074353.
And during the hypo: Game 1074394.
Today game.
Game 1074502.
Game 1075985.
Is this a duplicate of #2876?
ok Rama has been working on this.
today we added new error messages for when the deck gets out of sync.
@argothiel let me know if you get any new error messages lately, and hopefully with the steps to recreate the error message from scratch
I didn't get any new messages right after the game recently. I got the "A hypoBack action was dispatched with a null hypothetical state" during the hypo, but that might be unrelated.
Not the exact same error, but I just got this stacktrace while watching a 2p-NoVar game. I did not take any special actions except spectating.
Clear Stacktrace:
TypeError: Failed to get card of order 15 from the deck.
at ve (https://hanab.live/public/js/bundles/main.6226.min.js:5:285677)
at si (https://hanab.live/public/js/bundles/main.6226.min.js:32:65293)
at hV (https://hanab.live/public/js/bundles/main.6226.min.js:34:41438)
at go (https://hanab.live/public/js/bundles/main.6226.min.js:34:40954)
at https://hanab.live/public/js/bundles/main.6226.min.js:34:41028
at qi.finishedTweening (https://hanab.live/public/js/bundles/main.6226.min.js:34:24302)
at Object.onFinish (https://hanab.live/public/js/bundles/main.6226.min.js:13:97737)
at e.onFinish (https://hanab.live/public/js/bundles/main.6226.min.js:13:95813)
at tween.onFinish (https://hanab.live/public/js/bundles/main.6226.min.js:12:122920)
at e.fire (https://hanab.live/public/js/bundles/main.6226.min.js:12:119021)
Since NoVar clearly has at least 16 cards in the deck, there is probably some race condition going on, i.e. the deck has not been updated yet, but the client already wanted to access the card in the deck? I would say the error occurred around a time where card 15 (= the 16th card in the deck) was drawn, so this could be the problem here. But I cannot say for sure if this was the case.
Potentially relevant: While looking at this error message, the game review continued working properly in the background, and the top card of the stacks was always visible, i.e. it showed the full-empathy version of the top card of the stacks. So I could also imagine that the client somehow went off-sync with where the game progress/cards are and that there is an indirect off-by-one in here.
Yeah I think that is a separate issue, it looks like your internet lagged and you got an action out of order. This kind of thing isn't supposed to happen since WebSocket can't deliver messages out of order.
The stack trace isn't interesting, I'd be interested in seeing what were the actions received by the server before and after the error message.
I got a TypeScript error on the last play in sudoku + dark null.