704 B
704 B
Holy Heck I Really Like Stats
Pokemon Showdown data processing, mostly for HHIRLLL's Pokemon league. Ugly as fuck.
Requirements
- Python with sqlite
- requests
Usage
$ ./main.py -h
usage: hhirlstats [-h] [-v] [-c] [-Q {gametime,moves,nicknames,playtime,usage}] [replay ...]
Recommended to cache replays (-c
) to save issuing requests to Showdown on every query.
Run the program once with all your replays (or once for each replay), then start querying.
Future work
- include timestamps in logs to correlate KOs with the mon that KOed
- calculate gametime based on active turns rather than moves used
- also solves the issue where paralyzed/confused turns are not counted