2023-03-26 18:47:11 +11:00
|
|
|
# Holy Heck I Really Like Stats
|
|
|
|
|
|
|
|
Pokemon Showdown data processing, mostly for HHIRLLL's Pokemon league. Ugly as
|
|
|
|
fuck.
|
2023-03-26 18:52:26 +11:00
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- Python with sqlite
|
|
|
|
- requests
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ ./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.
|
2023-03-26 20:08:45 +11:00
|
|
|
|
|
|
|
## 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
|