Quote:
Originally Posted by jefkve
While I agree with you 95%, it seems that a check of the player account shouldnt be all that complicated, expecially when they've effectively implemented the same this for re-buy tournies.
Right, but there rematch code is a little more complicated. With a rebuy tournament, the same tourney is running, whereas with the rematch a new tournament is launched and you're automatically bought into it. The check is likely complicated because it could be checked/debited at various times:
- Before rematch is offered.
- Once rematch is accepted.
- Once rematch starts.
It really depends on when the debit takes place. The check also likely has some code to deal with some race conditions. For instance, if the buy-in is to be deducted only if the opponent accepts, then a race condition could occur if they registered for another tournament at the same time. The bug could be a result of lock/committing the buy-in too soon but not being deducted until later.
I agree that the rebuy tournament could be subject to the same sort of bug.