HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.61k stars 1.11k forks source link

tracker periodically refuses to track, bugs decklist + hands held in opponent's hand #3202

Open srhbutts opened 7 years ago

srhbutts commented 7 years ago

Bug report

For the most part the tracker seems to function correctly. Periodically some games are not recorded. I noticed when this is the case that the card tracking features in the opponent's hand (whether it's the coin, a gift, a mulligan etc) are not displayed

Steps to reproduce behavior

Unknown. I play exclusively in arena, I also use the overwolf app to help with drafting, and I do alt-tab often during games, not sure if any of these things may be related

It seems like it may happen when I quit out of hearthstone in the middle of an arena and resume later? but again this is just a hunch and hard to reproduce on demand

From debug log around the time of my last game that was not recorded/displayed correctly:

1:00:47 AM|Info|DeckManager.AutoImportArena >> Found new complete HERO_08 arena deck!
1:00:47 AM|Info|DeckManager.AutoImportArena >> ...but we already have that one. Discarding.
1:01:13 AM|Info|GameEventHandler.HandleGameStart >> --- Game start ---
1:01:13 AM|Info|GameV2.Reset >> -------- Reset ---------
1:01:13 AM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
1:01:13 AM|Warning|Helper.GetRegionByServerIp >> Unknown IP: 24.105.24.107
1:01:13 AM|Info|TurnTimer.Start >> Starting turn timer
1:01:13 AM|Warning|TurnTimer.Start >> Waiting for player entity
1:01:14 AM|Info|GameV2.CurrentMode >> GAMEPLAY
1:01:27 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:01:53 AM|Info|HotKeyManager.KeyboardHookOnKeyPressed >> [mod=None, key=Add] pressed.
1:01:54 AM|Info|HotKeyManager.KeyboardHookOnKeyPressed >> [mod=None, key=Add] pressed.
1:02:00 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:02:03 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:02:19 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:04:09 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:04:38 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:05:15 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:07:39 AM|Info|Updater.SquirrelUpdate >> Checking for updates (ignoreDelta=False)
1:07:40 AM|Info|Updater.SquirrelUpdate >> No new updated available
1:09:35 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:10:17 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:10:28 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:11:03 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:11:39 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:12:08 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:12:54 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:13:28 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:13:43 AM|Info|HotKeyManager.KeyboardHookOnKeyPressed >> [mod=None, key=Add] pressed.
1:13:43 AM|Info|HotKeyManager.KeyboardHookOnKeyPressed >> [mod=None, key=Add] pressed.
1:14:03 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:14:38 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:14:43 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:14:56 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:15:42 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:17:55 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:17:57 AM|Info|GameV2.CurrentMode >> DRAFT
1:17:57 AM|Info|GameEventHandler.HandleInMenu >> Game is now in menu.
1:17:57 AM|Info|TurnTimer.Stop >> Stopping turn timer
1:17:57 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
1:17:57 AM|Info|GameEventHandler.SaveAndUpdateStats >> Set CurrentGameStats.GameMode to Arena
1:17:57 AM|Info|GameEventHandler.SaveAndUpdateStats >> Saving DefaultDeckStats

Sample image of the display when not functioning correctly: 07s82ku

azeier commented 7 years ago

Could you post a full log?

ghost commented 7 years ago

Hi azeier,

got that issue too since a few days. Here is my log:

5:58:03 PM|Warning|Config.CheckConfigWarnings >> AutoDeckDetection=False, default=True ignored=True 5:58:03 PM|Warning|Config.CheckConfigWarnings >> ConstructedAutoImportNew=False, default=True ignored=True 5:58:04 PM|Info|OverlayWindow.SetTopmost >> Hearthstone window not found 5:58:08 PM|Info|MainWindow.SelectDeck >> Switched to deck: 20170408 Deathfire Quest Rogue (v1.0) 5:58:08 PM|Info|GameV2.Reset >> -------- Reset --------- 5:58:08 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets 5:58:11 PM|Info|BackupManager.Run >> Running BackupManager 5:58:11 PM|Info|BackupManager.Run >> Backup for today already exists 5:58:11 PM|Info|PluginManager.LoadPluginsFromPath >> Loading Plugins... 5:58:11 PM|Info|ApiWrapper.UpdateAccountStatus >> Checking account status... 5:58:12 PM|Info|ApiWrapper.UpdateAccountStatus >> Id=0, Username=, Status=Anonymous 5:59:17 PM|Info|Helper.GetCurrentRegion >> Region (from config): 5:59:18 PM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries. 5:59:34 PM|Info|Helper.GetCurrentRegion >> Region: EU 5:59:34 PM|Info|BackupManager.Run >> Running BackupManager 5:59:34 PM|Info|BackupManager.Run >> Backup for today already exists 6:02:24 PM|Info|OverlayWindow.SetTopmost >> Hearthstone window not found 6:02:25 PM|Info|Core.UpdateOverlayAsync >> Exited game 6:02:25 PM|Info|Core.UpdateOverlayAsync >> Reset region 6:02:28 PM|Info|GameV2.Reset >> -------- Reset --------- 6:02:28 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets 6:04:24 PM|Info|DeckImporter.Import >> Importing deck from http://www.hearthpwn.com/decks/773734-deathfire-quest-rogue 6:04:24 PM|Info|DeckImporter.Import >> Using custom importer... 6:04:29 PM|Info|DeckList.ActiveDeck >> Set active deck to: 6:04:59 PM|Info|MainWindow.SelectDeck >> Switched to deck: 20170408 Gaara’s Un’Goro Pirate Warrior (April 2017, Season 37) (v1.0) 6:04:59 PM|Info|DeckList.ActiveDeck >> Set active deck to: 20170408 Gaara’s Un’Goro Pirate Warrior (April 2017, Season 37) (Warrior) 6:05:00 PM|Info|GameV2.Reset >> -------- Reset --------- 6:05:00 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets 6:09:18 PM|Info|Help.Hyperlink_RequestNavigate >> [Helper.TryOpenUrl] https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues?state=open 6:11:43 PM|Info|Help.Hyperlink_RequestNavigate >> [Helper.TryOpenUrl] https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues?state=open

srhbutts commented 7 years ago

hdt_log.txt

here is the full log, thank you

fabiorangel commented 7 years ago

I am experiencing the same problem.

azeier commented 7 years ago

Looks like some issue with finding the entry point for a game in the powerlog.

Can you upload the Power.log and LoadingScreen.log files (found in <Hearthstone Install Dir>/Logs), as well as the hdt log again the next time this happens?

Note: Closing Hearthstone while HDT is running will cause the logs to be moved to *_old.log.

ghost commented 7 years ago

Hi Azeier,

cant neither find the power.log nor the loadingscreen.log. But here is my hdt_log data: Thanks a lot for your help and the deck tracker!

hdt_log.txt

fabiorangel commented 7 years ago

Hi Azeier,

Posting my logs.

LoadingScreen.txt Power.txt

Could not find hdt log. Where do I find it?

azeier commented 7 years ago

See https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Reporting-Issues - I need all 3 from the same session.

fabiorangel commented 7 years ago

Hi Azeier,

Posting my logs.

LoadingScreen.txt Power.txt hdt_log_1492359847.txt

I looked for the logs in the same session. If there is anything else I can do to help, tell me.

azeier commented 7 years ago

The game from that session seems to have been tracked fine?