MGK82 / PackTracker

Plugin for HearthstoneDeckTracker
MIT License
38 stars 10 forks source link

Any way to put in past history? #5

Closed erikk00 closed 7 years ago

erikk00 commented 7 years ago

Didn't have this wonderful plugin before (and have opened packs on mobile before realizing I shouldn't be) and was wondering if there was any way to go back and update the stats? I have screenshots of all my pack openings since I started thinking of it.

Thanks.

MGK82 commented 7 years ago

There is nothing that I have implemented and atm I don't plan anything like it. The idea of this plug in was to NOT hassle around with manual entries like all the other services. BUT if you realy realy want to do that, you could edit the history file manually.

It is a simple xml file at %appdata%\HearthstoneDeckTracker\PackTracker\History.xml and when you copy the pattern, you can add entries. You need to know the pack id's which you can find in the PackNameConverter.cs in this project. And you need to know the card id's which you can find at Hearthstone API. Last but not least the date and time is stored as ticks. There seems to be an online-converter, I havn't tested it.

I highly highly highly recommend that you backup your history.xml first.

PS. I hope it's not too much of a disappointment for you and that you can still enjoy the PackTracker nevertheless. I would still like to hear from you, when you have any other suggestions or ideas.

So long and have fun.

erikk00 commented 7 years ago

Editing an xml is exactly what I was looking for. Well, good enough I mean. :-)

I'm never again opening a pack without HDT and this plug in but for my own stupidity in not looking into this before, I am perfectly willing to go through the slough of putting it in manually.