This sets up an experience logging script that logs rank levels over time and provides a web app to view the data.
This assumes you have python installed:
Installing Python: https://realpython.com/installing-python/
-
Download the files or clone the repo
-
copy the explog.lic into your lich/scripts folder
-
copy the expview.py into your lich folder
-
The explog script needs to be trusted to work, because it uses sqlite3. You shouldnt trust things blindly. The code is straight forward and documented so click the link above for the explog.lic and have a look through it. To trust the script run
;trust explog
from inside your FE. -
To get the best use you should probably add it to the auto start with
;autostart add explog
-
The data is written every 15-30 mintues (depending on script pauses). It is also written when the script is killed so if you want some data run it for a few minutes, kill it
;k explog
, run it again;explog
, wait another few minutes and kill it. Or just let it run for awhile and collect and write data normally. This should create a file in your lich folder called explog.db. It is important that the expview.py file and this explog.db file are in the same directory. -
To view the data you need Flask for python, install that by running
pip install flask
in the terminal or check out http://flask.pocoo.org/docs/1.0/installation/ -
Launch the app with
python expview.py
. This should run the server and open a web browser to http://localhost:5000
For now the setup is a little rough. I might try to find a better solution than running it in python when I get time. If you want to try it out and have questions hit me up on discord ViaoV#5949