HearthSim / Hearthstone-Deck-Tracker

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

sorting of cards in a deck #1147

Closed SoulSeek2 closed 9 years ago

SoulSeek2 commented 9 years ago

hey, love the application but there is one thing i don't know if i am missing an option or if it is supposed to be that way and that is sorting of cards in decklists. as far as i remember at first it was just from lowest to highest mana (like in the game) but now it orders them somewhat randomly which means searching for cards can be kind of a pain from time to time.

greetings

edit: hm i wanted to export a screenshot to show what i meant and got an error.. interesting.. i'm going to attach the decklist and crash report (is there a way on git to hide text like spoilertext or something?

snag-0134

05.07.2015 16:38:55

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei Hearthstone_Deck_Tracker.MainWindow.d1.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.b4(Object state) bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) [16:33:10] Game: set CurrentGameMode to None [16:33:10] Game: >>>>>>>>>>> Reset <<<<<<<<<<< [16:33:10] OpponentSecrets: Cleared secrets [16:33:11] Tracker: set player item source to PlayerDrawn [16:33:11] Game: >>>>>>>>>>> Reset <<<<<<<<<<< [16:33:11] OpponentSecrets: Cleared secrets [16:33:11] GameEventHandler: Reset constructed importing [16:33:11] Helper: Checking for LIVE updates... [16:33:11] Helper: Current version: 0.10.7.0 [16:33:11] LogReader: Current region: US [16:33:12] UpdateOverlay: Refreshed overlay topmost status [16:33:12] BackupManager: Running BackupManager [16:33:12] BackupManager: Backup for today already exists [16:33:12] PluginManager: Error Loading C:[...]\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.CV.dll: System.IO.FileLoadException: Die Datei oder Assembly "file:///C:[...]\Hearthstone.Deck.Tracker-v0.10.6\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.CV.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515) Dateiname: 'file:///C:[...]\Hearthstone.Deck.Tracker-v0.10.6\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.CV.dll' ---> System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569". bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) bei System.Reflection.Assembly.LoadFrom(String assemblyFile) bei Hearthstone_Deck_Tracker.Plugins.PluginManager.GetModule(String pFileName, Type pTypeInterface)

[16:33:12] PluginManager: Error Loading C:[...]\Hearthstone.Deck.Tracker-v0.10.6\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.Util.dll: System.IO.FileLoadException: Die Datei oder Assembly "file:///C:[...]\Hearthstone.Deck.Tracker-v0.10.6\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.Util.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515) Dateiname: 'file:///C:[...]\Hearthstone.Deck.Tracker-v0.10.6\Hearthstone Deck Tracker\Plugins\ArenaHelper\Emgu.Util.dll' ---> System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569". bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) bei System.Reflection.Assembly.LoadFrom(String assemblyFile) bei Hearthstone_Deck_Tracker.Plugins.PluginManager.GetModule(String pFileName, Type pTypeInterface)

[16:33:12] PluginManager: Loading Plugins... [16:33:12] PluginWrapper: Loading Arena Helper [16:33:13] PluginWrapper: Enabled Arena Helper [16:33:14] HearthStatsManager: starting sync process: forceFullSync=False, background=True [16:33:14] HearthStatsManager: background process indicator ON [16:33:14] HearthStatsManager: Checking HearthStats for new decks... [16:33:14] HearthStatsManager: trying to download decks [16:33:14] HearthStatsAPI: getting decks since 1436106154 [16:33:14] GameEventHandler: Reset constructed importing [16:33:14] Helper: Latest LIVE version: 0.10.7.0 [16:33:15] HearthStatsManager: Checking for new versions... [16:33:15] HearthStatsManager: Checking for edited decks... [16:33:15] HearthStatsManager: Checking HearthStats for new matches... [16:33:15] HearthStatsManager: trying to download games [16:33:15] HearthStatsAPI: getting games since 1436106154 [16:33:16] HearthStatsManager: no new games [16:33:16] HearthStatsManager: Checking for new local decks... [16:33:16] HearthStatsManager: Checking for new local versions... [16:33:16] HearthStatsManager: Checking for edited local decks... [16:33:16] HearthStatsManager: Checking for new local matches... [16:33:16] HearthStatsManager: Uploading 14 new matches... [16:33:16] HearthStatsManager: trying to upload 1 matches for deck drew [16:33:16] HearthStatsManager: trying to upload 13 matches for deck ARENA 01-07 00:41 [16:33:16] HearthStatsAPI: Game Loss vs Druid, 01.07.2015 00:25:11 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Warlock, 01.07.2015 00:13:41 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Loss vs Paladin, 16.06.2015 23:08:23 is not valid (invalid game mode: None) [16:33:16] HearthStatsManager: No valid games [16:33:16] HearthStatsAPI: Game Loss vs Priest, 30.06.2015 23:49:20 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Mage, 30.06.2015 23:39:16 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Paladin, 30.06.2015 23:25:46 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Mage, 30.06.2015 23:17:35 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Druid, 30.06.2015 23:03:39 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Paladin, 30.06.2015 22:54:18 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Mage, 30.06.2015 22:47:31 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Warrior, 30.06.2015 22:43:24 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Hunter, 30.06.2015 22:39:34 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Win vs Hunter, 30.06.2015 22:32:55 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsAPI: Game Loss vs Rogue, 30.06.2015 22:21:32 is not valid (invalid game mode: Arena) [16:33:16] HearthStatsManager: No valid games [16:33:16] HearthStatsManager: background process indicator OFF [16:33:16] HearthStatsManager: finished sync process [16:34:36] Overlay: Enabled mouse hook [16:34:37] Overlay: Disabled mouse hook [16:35:40] Overlay: Enabled mouse hook [16:35:41] Overlay: Disabled mouse hook [16:38:44] UpdateOverlay: Refreshed overlay topmost status [16:38:54] Screenshot: Creating screenshot of deckname:drew, class:Druid, cards:30

andburn commented 9 years ago

The sorting problem looks like you have Class Cards First checked, go to the Main drop down menu and uncheck that option - that will put the sorting back to mana value.

Not sure about the screenshot crash. Interesting log file though - looks like some problems with the ArenaHelper plugin and it doesn't seem to want to sync arena games to hearthstats either. Have you noticed problems with either of these?

SoulSeek2 commented 9 years ago

oooh there is the option :D thanks a lot. the problem with the arenasync is probably just because i didn't have a deck selected but had chosen the arena tab while playing ranked