Splinterlands statistics v0.2.0

Introduction

For a while i have been using and maintaining this splinterlands statistics tools.
It is written in the python programming language and its free to use.

Splinterlands statistics tool tracks the following:

  • Win/loss ratio over multiple seasons
  • Battles played over multiple seasons
  • Cost/Earning SPS/DEC/MERITS over multiple seasons
  • Rewards soulbound card/potions/card packs last season
  • Tournament results for last season
  • Bought and sold cards last season
  • Gives a template for hive blog post example: Season 109 (beaker007, shinoumonk, beakerr)

This tool keeps your data locally, no data is stored online and only uses open accessible information.

It can also be used to compare with your favorite splinterlands player.
e.g. win rating of @aftersound, hope you don't mind me using you as an example:
pretty steady win rate and climbing the rating ladder slowly.
Modern league:
2_season_stats_battles_modern.png 1_season_stats_rating_modern.png

Note: When this tool is used for the first time it needs to load all historical data this can take a very long time especially if the account has for example lots of cards with automatic renting service

When there are any problems with the execution, let me know and I will try help and debug the problem.

Some example graphs, account beaker007:

Battle info

Your end season rating

Your number of battles and win and losses

Earnings info

This graphs shows your seasonal earnings minus cost.

For SPS taken into account:

  • Staking rewards
  • Tournaments prizes
  • Tournaments fees
  • Battles earning modern/wild
  • Focus rewards
  • Season rewards
  • Brawl rewards
  • Land rewards
  • Nightmare rewards

For DEC taken into account:

  • Battle rewards (before SPS payouts)
  • Focus/quest rewards (before SPS payouts)
  • Season rewards (before SPS payouts)
  • Rental income
  • Rental costs
  • Rental fees
  • Rental refunds
  • Tournament prizes
  • Tournament fees
  • Leaderboard Modern/Wild prizes
  • Market fees
  • Market listing fees

Note: Cards sales and buys are not included in the DEC graph.
For the last season it is displayed in tables in the hive post.

For MERITS taken into account:

  • Quest rewards
  • Season rewards
  • Brawl prizes


What has changed the last months

First an most important, the last releases should make it more easy to run this application on a Windows/Linux machine.

I started with creating releases, so it is more clear what the changes are. These can be found in: https://github.com/gamerbeaker007/splinterlands-stats/releases.

Latest changes:

  • Added bcx to the bought/sold card overview based onSPL release note 2023-05-02
  • Support of large number transactions
  • Create executable for Windows
  • Create executable for Linux

How to use splinterlands stats

With windows executable

  • Download windows executable v0.2.0
  • Unzip
  • Edit config.properties, add one or multiple users separated by ,
    Example account_names=beaker007,beakerr
  • Run main.exe
    Tip: to see the console log of the program run this via an command prompt

With linux executable

  • Download linux executable v0.2.0
  • Extract tar
  • Edit config.properties, add one or multiple users separated by ,
    Example account_names=beaker007,beakerr
  • ./main.sh

With Docker

Prerequist you have docker installed on your machine.

docker login ghcr.io --username your_github_username
docker pull ghcr.io/gamerbeaker007/splinterlands-stats:latest

Windows (docker):

docker run -it -v C:\Temp:/app/output -e "ACCOUNT_NAMES=spl_account_name,spl_name2" -e "SKIP_ZEROS=True" ghcr.io/gamerbeaker007/splinterlands-stats:latest

Linux (docker):

docker run -it -v \tmp:/app/output -e "ACCOUNT_NAMES=spl_account_name,spl_name2" -e "SKIP_ZEROS=True" ghcr.io/gamerbeaker007/splinterlands-stats:latest

With python development or local execution

Download source and unpack or clone main repo main.
Modify config.properties with your desired information
Use python 3.10 or higher.
pip install -r requirements.txt
python main.py

Results

The output is located per user in the output directory containing graphs and the post.txt.
With multiple users also an combined_post.txt is created in the output directory.

These text files can be used to copy paste completely or copy interesting parts to create you own hive post.

Where to download

Latest releases can be found:
https://github.com/gamerbeaker007/splinterlands-stats/releases

Disclaimer

This is a hobby project which I do in my spare time beside playing splinterlands.
It is free to use and I will try to help you when you have an problem with execution.
Any suggestions or critical constructive feedback is always welcome.

It would be much appreciated when you use this tool to create an awesome post, adding @beaker007 as beneficiaries to your post, this gives me extra motivation to continue improving this tool.

That it is for this week I hope you enjoy this tool and it might help track your results over seasons.

Do you also want to be part of this amazing play to earn game consider using my refferal link.



0
0
0.000
2 comments