supertriodo / Arena-Tracker

Arena Tracker is a deck tracker that gives you a lot of extra info while playing Hearthstone.
GNU General Public License v2.0
290 stars 33 forks source link

Doesn't save between sessions #47

Closed Amathon closed 7 years ago

Amathon commented 7 years ago

Every time I restart ArenaTracker the stats are completely reset. The card list from the current arena run are reset as well. When clicking on "arena" the list gets populated but there are always 4-6 "Unknown" cards in the tracker. Is this intended behavior? If not - how do I fix that?

supertriodo commented 7 years ago

Every time I restart ArenaTracker the stats are completely reset.

For now AT uses Arena Mastery to store your arena stats, so create an account on that web and fill your user/password. The next arena you draft with AT will be uploaded and their games. I'm working right now on an integration with track-o-bot stats system.

The card list from the current arena run are reset as well. When clicking on "arena" the list gets populated but there are always 4-6 "Unknown" cards in the tracker.

That's because AT get the cards of your deck from HS log and duplicates don't appear there. In this case you can tweak your deck to add the missing copies.

This happens because you didn't use AT druring the draft. If you do, a file with the whole deck info will be saved on your AT dir and will be used next time you access the arena, so you won't see unknown cards.

Cheers

Amathon commented 7 years ago

I already entered my Arena Mastery login details.

screen shot 2017-05-16 at 12 52 46

I already did like 3 arenas with AT (the drafting is amazing by the way), still after closing and reopening AT all stats and duplicate cards in the deck list are gone.

Cheers

supertriodo commented 7 years ago

Do arenas and/or games upload to your arenamastery account?

After you start an arena or play an arena game does the games change to green or red? Red means there has been a problem in the upload, green means they have been uploaded correctly.

supertriodo commented 7 years ago

https://arena-tracker.gitbooks.io/arena-tracker-documentation/content/en/games-tab.html#games-tab-

supertriodo commented 7 years ago

Looking at the code both of your problems are connected. Only if you retreive the last arena from your ArenaMastery account when you start AT you will be able to complete your deck. This is something I have to fix for the next release where I get rid of Arena Mastery.

For now for your problem, make sure your Arena Mastery account doens't have an old arena, if so go the website and remove the latest arena before starting a new one.

Amathon commented 7 years ago

Jep, that works

screen shot 2017-05-16 at 13 10 29

screen shot 2017-05-16 at 13 10 42

I just deleted all arenas from Arena Master, restarted AT and it seems to work now! Stats and deck list are up to date.

Thanks for your support, looking forward to the next updates!

supertriodo commented 7 years ago

Great :smile: