hearthstone-statistic
v1.2.5
Published
Hearthstone Statistic Tracker
Downloads
20
Maintainers
Readme
Hearthstone Statistic
This package will extract the log from hearthstone folder to automaticaly record the your number of win and lost against other hero.
Version
1.2.5
Dependencies
- hearthstone-log-watcher
- fs
- events
Installation
$ npm install hearthstone-statistic
How to turn on log emitter
- Locate Hearthstone folder
- Windows:
C:\Users\USERNAME\AppData\Local\Blizzard\Hearthstone
- Mac:
USERNAME/Documents/Library/Preferences/Blizzard/Hearthstone
- Windows:
- Create a file called "log.config" in that directory
- Copy and paste the following code to your log.config
[Zone] LogLevel=1 FilePrinting=false ConsolePrinting=true ScreenPrinting=false
For reference: https://www.reddit.com/r/hearthstone/comments/268fkk/simple_hearthstone_logging_see_your_complete_play
How to use hearthstone-statistic
Turn on the log emitter
Create a new javascript file (track.js for example)
Copy and paste the following code
var hs = require('hearthstone-statistic'); hs.run();
Run your js file on your terminal
$ node track.js
Play your ordinary Hearthstone game!
Known Bugs
- First game using a new hero from the data will not be recorded.
License
MIT