stevschmid / track-o-bot

The friendly Hearthstone Tracker
https://trackobot.com
GNU Lesser General Public License v2.1
489 stars 87 forks source link

Two games merged into one instance #160

Open darksteel88 opened 8 years ago

darksteel88 commented 8 years ago

I have a game that's showing up as Rogue vs Warlock. However, when I look at the game, it appears to have at least two games that are seemingly merged in to one. My Rogue deck is showing Shaman cards, and my opponent's Warlock deck is showing Mage cards. I'm not 100% certain but it's very likely that I did run in to a Mage and a Warlock separately in succession, and with two different classes, but it's strange that the report showed up this way. Not only that, but the history of the individual game is corrupt, showing the Warlock casting Leeroy Jenkins on turn 2, and the game restarting after turn 15. It shows a mix of casting different cards from different classes as well.

I've cropped the decklists as well as part of the match history in to one image to give a better illustration of the issue.

track-o-bot-broken

Let me know if you need any additional data.

fenom commented 8 years ago

I think that can happen if you disconnected or crashed in the first game.

darksteel88 commented 8 years ago

Shouldn't the tracker be able to tell the difference? If you disconnect and reconnect, won't there be updates in the log file that indicate something like that happened? I imagine it should see things like skips in turns or whatnot. If you disconnect and fail to reconnect, shouldn't it see that the game started over (via you getting mulligan data or new classes) and realize the previous game ended?

Maybe I'm wrong, I've never looked at the log file, but I would think enough data exists in it to fix this.