-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when ending a one game duel. #611
Comments
@melvinzhang please can you review this update. The crash was caused by However, looking at where |
Could it be do determine who the starting player is? The first player in the first duel should be the second player in the second. So on the third it should be the first player again? edit: Meaning the player who decides whether to play or draw. |
That is done by I thought it might be to implement rule 103.2 which describes how to determine who plays first but the only place I can see where that might happen is here and I cannot see how it can ever be anything other than 1. |
Very true - that is strange. |
This is before I was involved but if you trace the history of MagicDuel, it was originally called MagicTournament and there is mention of things like BOOSTER_PACK_SIZE and getGamesTotal = My best guess is that at the start, there was an attempt to model a limited tournament where folks sit around a table and open booster packs. After finishing a duel with one opponent, you would move on to the next one. Looks like the tournament idea never really got fleshed out and the program eventually settled on the current format we know today. |
@melvinzhang , thanks for looking at this. This is a fairly major usability issue in that anyone who plays a duel which goes to a deciding game will crash out at the end of that duel. I would be inclined to release a patch for it since we have a whole month ahead of us. However we have never done this is my experience so I don't know how difficult it would be to do. Alternatively, we should post something on the forum recommending everyone will need to win their duels by at least two clear games! |
Good suggestion. I've backported the fix onto the release branch as fdc0aca and updated the release zips to include the fix. |
As simple as that! 👍 |
Now that's cool - could that mean that bug-fixes could now be separate from version releases? Some card-bugs create crashes instead of unexpected/wrong behaviour. |
It would depend on the severity of the bug. The steps of updating a release are straightforward but rather tedious. |
Raised in forum.
To replicate
The text was updated successfully, but these errors were encountered: