Splinterlands Statistics v0.8.0 (Auto process season in server mode)

Splinterlands Statistics.png

Introduction

This release is mainly focus on the processing of data with server mode. It now automatic process the season results after you have claimed your results.
So in server mode no need to press any buttons anymore.
Also removed an very annoying update in the title bar.

Previous posts:
v0.7.0 - Server/read only mode incl. how-to deploy on synology nas
v0.6.0 - Card overview + Nemesis expansion
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: When splinterlands is in maintenance mode skip update, causing application crashes
  • Update readme for executable + change linux to ubuntu in github workflow
  • Change server mode wait time. After processing daily and season reschedule next pull cycle to 30 minutes.
  • Add season pull information to server mode. Including some feedback when rewards are not claimed yet.
  • Update page title and remove the "Updating..."

Elaborate on the new features

Automatic season processing in server mode

When a season is ended you will get the following message when you have not claimed you rewards yet.
Season (X) result are NOT processed. Season rewards not claimed yet.
image.png

When the rewards are claimed but the software have not processed it yet. Because of the update cycle of 30 minutes it will present the following message:
Season (X) result are in waiting to be process max waiting time: 30 minutes.
image.png

After the software has processed the results it is back to normal.
While writing this i think i can improve with some sort of status light. Might be for some next update.

image.png

Showcase some other features...

Main page

In this page you can find your most use best performance units or summoners when click on one you will go to the specific card overview. You can define you filters to specify your search.
For example if you would like to show your best performing unit with the standard ruleset with minimal 10 battles played in modern format.

image.png

Specific card overview

On this new page you can select you account and a specific card.
Note: only cards can be selected since the battles recording via this tool.

On the top an generic overview of the selected card.
image.png

Then with which card it is most paired with summoners and units
image.png

After that the most lost against cards with summoner and units are presented
image.png

Nemesis

On this page you can find information about who you lost most against. And when an certain player is selected you will get an result of the last played matched against that player and some stats.
image.png

In the end of the page there is still the overval nemesis, the most lost battles against an player
image.png

Rating

Daily battle statistics:
In my case modern are played by myself and wild by xbot.

image.png

image.png

Season result tracking

Seasonal battle statistics:
image.png

Summarized seasonal earning:
eos-earnings.png

Generate hive blog post about you last season:
image.png

Portfolio tracking

Tracking your complete portfolio value and view how your editions are valued:

image.png

image.png

View you staked SPS value over time and zoom in:

image.png

What is next...

  • Create nicer message season result are not claimed.
  • Cleanup code
    • re-use filters (create modules)
    • use id's iso of strings
  • Write how to deploy on cloud environment
  • Update losing page. Show cards that are not used or almost never used.
  • Make icons for navigation bar

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

With Docker

docker pull gamerbeaker/splinterlands-statistics:latest
latest can also be replaced by an release tag those can be found here:
https://registry.hub.docker.com/r/gamerbeaker/splinterlands-statistics/tags

Command line options:

  -h, --help            show this help message and exit
  -d, --debug           Enable debug mode
  -l {WARN,ERR,DEBUG,INFO}, --log-level {WARN,ERR,DEBUG,INFO} Set log level
  -s, --server-mode     Enable server mode
  -st STORE, --store STORE Specify a store
  -ro, --read-only      Read only

Windows (docker):

docker run --rm -it -v C:\Temp:/app/store -p 8050:8050 --name splinterlands-statistics gamerbeaker/splinterlands-statistics:latest
For server mode
docker run --rm -it -v C:\Temp:/app/store -p 8050:8050 --name splinterlands-statistics gamerbeaker/splinterlands-statistics:latest -s

Linux (docker):

docker run --rm -it -v \tmp:/app/store -p 8050:8050 --name splinterlands-statistics gamerbeaker/splinterlands-statistics:latest
For server mode
docker run --rm -it -v \tmp:/app/store -p 8050:8050 --name splinterlands-statistics gamerbeaker/splinterlands-statistics:latest -s

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.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center