Introduction
Just released a new version of the Splinterlands statistics tool. I'm really proud of the next release I think a nice addition to gameplay analysis.
First intention was only to make an specific card overview. When this was finished I heard some nice addition in one of the @aftersound YT streams. He was missing some fun statistics how often he has encountered an certain player and view some stats on that. This is also added in the nemesis page. Current basic information how often win/loss ratio and the last 5 battle.
If any has nice ideas to expand this, comment on which type of information you would like to see more of. I will have a look if it possible to add to nemesis page
I got one concern about this statistic tool, mainly the main page and card overview. Will it be against the by the upcoming ToS. Hope @weirdbeard / @davemccoy can clarify if changes needed to be made. I think it is kind of similar for splintercoach and iron-legion, that also records battle history.
Previous posts:
v0.5.0 - Portfolio card edition and sps overview
v0.4.0 - Show categories in portfolio overview including history
v0.3.1 - Add generate hive blog
v0.2.0 - Add filter and sort options to home page
v0.1.0 - First implementation Splinterlands Statistics V2
Last "Old" Splinterstats tool V1
Main features of this splinterlands statistics tools are:
- Capture battle history Win and Loss matched
- What are your best cards
- What are the cards you lose the most against.
- Tracking your season results in playing and earnings
- Generate hive blog of last season
View card statistics for an specific card
- Tracking your portfolio, investment and value
- View categories, CARDS/SPS/DEC/.. etc, at an certain time in history
- View edition values and bcx count
- View SPS (including staked SPS) value and quantity
- Your nemesis (fun statistics)
Select enemy and view
- Rating over time
- View battle stats per day. Daily win rate modern and wild
What is new...
- FIX: skip zero (season overview page) now only skips when sum of DEC/MERIT/SPS == 0, not >0
- ⚠️Migrate data: add opponent to battle log
- ⚠️Migrate data: fix opponent for draw battle
- ⚠️Migrate data: add Brawl as match type to battle log
- These migration steps may take a long time in my case it took 45 minutes. It needs to reprocess all recorded battles. There is an limit on how many SPL API transaction you may do back to back then it has to wait for 5 minute before continue.
- Remove recording of battle (battle.csv), keep battle_big more detailed information
- Add card overview page, including clickable from main page.
- Update/Extend Nemesis page
- Add group level option to main page
- Change hive blog intro image
Elaborate on the new features
Specific card overview
This is the main feature of this release. On this new page you can select you account and a specific card. Only the cards that are used since the battle recording will be listed.
I start with an generic overview of the selected card.
On the left side some battle statistics
On the right side which rule set it is played the most and how often is used in this type of match.
Currently Tournament includes brawl matches.
Then for the selected card the top two summoners are presented based on the battle count.
And the five most paired units also based on the battle count. From here you can also click on the your owned cards to view that specific summoner or unit.
Last the selected card has lost the most against these 2 summoners and these unit also based on the battle encounters.
Clickable from home and card overview
will lead towards:
Nemesis expansion
Now you can also select an opponent you want to view. For this opponent it will present the overall battle statistics and the last 5 played battles.
In the end of the page there is still the overval nemesis, the most lost battles against an player
Group levels
I have added an option to group level on the main page. Normally it analyzes the cards played on a certain level now you can combine those, so if you play multiple leagues / tournaments it shortens the overview.
Showcase some other features...
Tracking your complete portfolio value and view how your editions are valued:
View you staked SPS value over time and zoom in:
Summarized seasonal earning:
Daily battle statistics:
In my case modern are played by myself and wild by xbot.
Seasonal battle statistics:
Generate hive blog post about you last season:
What is next...
I think I will start on an deployment on an server in an local network. On an NAS or an cloud environment like Azure. This in a way so that everybody can host there own application, without sharing it to the world. This method every who wants can host it and pay for their own usage.
If I want to host for everybody I need to think more about account management, account security, fees in form of subscriptions to keep the stuff running for now not an option.
I might host an restricted demo version in the cloud.
How to use splinterlands statistics
⚠️When this tool is used for the first time and you are collecting seasonal data it has to retrieve all historical data, this can take a very long time, depnding on how long you have played the game and how many transaction are done. Especially when a renting bot is used it probably has many small DEC transaction.
With windows executable
- Download windows executable Download exe
- Unzip
- Run main.exe
- Browse to http://127.0.0.1:8085
- In the config tab add the accounts you want to monitor
With linux executable
- Download linux executable Download tar
- Unzip
- ./main.sh
- Browse to http://127.0.0.1:8085
- In the config tab add the accounts you want to monitor
With Docker
docker login ghcr.io --username your_github_username
docker pull ghcr.io/gamerbeaker007/splinterlands-stats-v2:latest
Windows (docker):
docker run -p 8050:8050 -e "HOST=0.0.0.0" -it -v C:\Temp:/app/store ghcr.io/gamerbeaker007/splinterlands-stats-v2:latest
Linux (docker):
docker run -p 8050:8050 -e "HOST=0.0.0.0" -it -v \tmp:/app/store ghcr.io/gamerbeaker007/splinterlands-stats-v2:latest
With python development or local execution
Download source and unpack, source link.
Use python 3.8 or higher.
pip install -r requirements.txt
python src/main.py
When installing on a window machine and encounter this error message:
scrypt-1.2.1/libcperciva/crypto/crypto_aes.c(6): fatal error C1083: Cannot open include file: 'openssl/aes.h': No such file or directory
Then install Win64 OpenSSL (not the light version)
Disclaimer
This is an hobby project that I do in my spare time.
Why:
- I love to dive into data for a game I love to play. In the future hope to see nice improvements in my playstyle because of the data analysis.
- Secondly practice my programming skills and keep it up to date.
In the future I will try to migrate data with newer updates but expect that sometimes you got to start over with collecting data, I cannot/will not make any promises. I just add stuff I like to view and hope others can appreciate it.
Big caveat, not sure yet how it will perform with large datasets.
Everybody can start using this, since it is a new project expect some crashes or things that are not working for your situation.
As normal when you run into problems send me a message and I will try to help solving the issue.
Any suggestions/remarks/improvements or bugs please leave a comment or send me an message
That's all for this week hope you enjoyed reading and all start tracking data to get more insights.
See you all on the battlefield.
Not a splinterlands player yet, consider using my refferal link.