Thursday, January 30, 2014

The New Scan Engine Arrived!

Update v1.2.0: fixed arena saving bug.

HearthTracker v1.1.9 changelogs 

Version v1.1.9 is primarily focused on creating and implementing the new engine and refactoring the code. I have spent like 2 weeks to get it done. However, I've added a couple of small touchups as well.  It is not your typical update. It is an awesome update!

There are a few changes/features
  • Native (exe) launcher added  for Windows users.
  • Implemented more stats filters that actually make sense - coin/no coin, against classes and show stats for recent N matches/arena runs. Filters are combinable to show the stats you're interested.
  • The scan engine has been re-written from scratch completely. It is really, really fast. 
  • Now able to identify additional game result, draw! which will still considered as defeat stats wise. 
  • Russian language for the user interface (credits to Vanches who created the translation) 
  • Now logs exceptions and events to "logs" folder, not everything yet, but should help in identifying bugs.
  • Tools/Diagnostic tab is now removed.
  • Memory and CPU usage is now reduced significantly. 
  • Startup should be faster now.
  • Some other minor bug fixes/changes

The new scan engine
  • It can now scan Hearthstone window even it is in the background (requires Aero mode enabled).
  • It is really, really fast (wait did i mention it already?) It takes only about 2 milliseconds per scan cycle (excluding screen grabbing). It is about 20ish milliseconds with screen grabbing.
  • Multi-monitors setup should (really) work now (please remember to remove the offsets override)
  • Scan engine now sees into the past much like a short term memory to really identify what happened and happening instead of making decisions frame-by-frame. This come with a small price though, some delayed must be enforced for the recognitions to take place but it will never be skipped as long as the key frames are captured. For example, it can identify the animated arena keys transitions from one to another and still understand that it is the new key should take precedent instead of showing notifications for both new and old key.
  • With the new highly advanced hybrid image recognition technique, detection should be very accurate now which including the deck slot detection. 
All being said, the new engine is not fully tested, especially for arena keys detections. 

Please consider donating a few bucks if you find HearthTracker useful.

Thanks!

32 comments:

  1. Should I export my previous records first before downloading the new one? thanks?

    ReplyDelete
    Replies
    1. you should always backup your old data first, regardlessly.

      Delete
  2. I just downloaded the new version. I backuped my data and my config folder. I extracted the new version in a new folder and pasted my backup data folder into it. After starting the new version the "Matches" tab shows my matches. But when selecting the "Overview" and filtering by "Arena" it shows no records. If I filter by ranked or unranked it shows my records correctly. The content of the "Arena" tab is empty, too. Any ideas?

    ReplyDelete
    Replies
    1. Which version were you upgraded from? please zip and email me your data folder so that I can have a better idea.

      Delete
    2. both your backup and upgraded data.

      Delete
    3. The previous version should be 1.1.8 since I downloaded it 2-3 days ago.

      If you could tell me your mail adress I'd email it to you

      Delete
    4. Just looked the data, there is nothing wrong with it, there are only 3 arena games played that is why the Overview tab (Arena + As) filter and Arena tab doesn't show any records, because the filters (Arena + As) will only shows stats for completed sessions (since you can only calculate 7+ win rate with completed sessions)

      Delete
    5. Ah, I see. The previous version showed the record nevertheless. That's why I was confused and assumed this was a bug.

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Just upgraded to 1.1.9. After losing in the arena, the notification kept spamming: "arena detected". It saved the arena result over and over again because it still registered the mode as: unknown. Seems like a bug to me.

    Here's me log: mediafire (dot) com/view/a8wxeajyuo31awy/0-30-2014.html.0

    ReplyDelete
    Replies
    1. the game mode resets as soon as the arena result is saved (it is intended). It was other bug, I shouldn't resets the score because it was used to keep tracking the latest change and decide whether to save or not. thanks for the bug report! Keep them coming!

      Delete
    2. Glad I could help. It's an awesome app and the new update/engine made it only better. Keep up the good work!

      Delete
  5. Just finished an arena session in 1.2.0, but it recorded it as "-1 - 3", which shows as 0-3, had to manually change it to actual arena run.

    ReplyDelete
  6. I have updated to 1.1.9 and 1.2.0. but both not functionally.
    I have 3 monitors and with 1.1.8 i have to say -1920 for have scanning good, but with last version nothing to do. I have no visuale scanner for view it so i can say wher is it.

    Please help me.

    ReplyDelete
    Replies
    1. Thanks, if you would i can send my email to you for test or other. Say to me an email if you want :)

      Delete
  7. I updated to 1.2.0 and now it doesn't detect anything. No idea whats wrong.

    ReplyDelete
    Replies
    1. Change the log level to "debug" and try to play a game with HearthTracker running. Go to the "logs" folder, grab the logs. Send it to me.

      Delete
  8. This upgrade is AMAZING! It's incredibly fast. You're a classic programmer, defining that it could take up to 20 ms... hahaha.

    ReplyDelete
  9. "It can now scan Hearthstone window even it is in the background (requires Aero mode enabled)."

    I'm sorry for the double post, but, what is Aero mode and how do I enable it?

    ReplyDelete
    Replies
    1. Aero is a new feature since Windows Vista to enable live rendering of other windows even they are not visible on the screen. You can google about it.

      Delete
  10. Could you make another Mac Os experimental build?

    ReplyDelete
    Replies
    1. I'll certainly try to build an OSX version soon.

      Delete
    2. I don't mean to sound presumptuous Mega, but you may want to put up a small note on the front page about OS X and Linux support. I would guess it would reduce the repeat questions and frustration.

      Delete
  11. When you add a match manually, it always saves it as a win, even if i choose "Lose".

    ReplyDelete
    Replies
    1. Noticed the bug. I will release a fix along with other reported bugs.

      Delete
  12. The world's most popular translation software is free... By this soft you can get -
    1 click translation
    77 languages
    1,700 free dictionaries
    Wikipedia at a click
    Get It Now

    ReplyDelete
  13. (Windows 7) The Close button on the HT window minimizes the window. We've already got a minimize button. Having to close HT via File > Exit is rather annoying.

    ReplyDelete