Tool: LIHL Player Parser
Posted: Mon Oct 24, 2016 2:56 pm
Hello.
Some months ago I was working on a stats tracking system for LIHL already (to see historical stats, track the stats changes per day etc.) but put it on ice after some time. Now with the LIHL Fantasy League coming up I have created a little tool that uses parts of my old project. Since hug and/or tin want to regularly update the current stats of the fantasy league they would every time have to manually check and store the Elo of 56 players, which would be pretty tedious![Smile :)](./images/smilies/icon_e_smile.gif)
What my tool does is to automate this process, checking the Elo of all players (possibly split into multiple groups) specified in an input file and create reports to display this data. The tool can be configured and e.g. could also be used to fetch and store the Elo of every player in LIHL (if someone wants to create a daily snapshot to track the Elo progress or something).
You can find more information about how it works and how to use it in the readme file which u can find in the download package and the project repository.
Just some short information:
In the file config.properties you can set 3 parameters
- the name of the input file containing the players/groups
- the amount of players per group that should be considered for calculating the average Elo per group (e.g. for the current fantasy league set it to 6)
- the symbol that should be used as decimal separator ("." or ","). It can be useful to set it to the symbol that e.g. your Microsoft Excel uses as decimal separator to allow easy working with it.
The input file (default name: "players.txt") contains the name of the groups and the players per group. Every group must be seperated by an empty line, the first line per block is used as group name (displayed in the reports), then add one player per line.
If both these files exist and are configured you can just double click the file "lihl_player_parser-1.0.jar".
You need java version 1.5 or higher to do so. You can see your version by typing "java -version" in the windows command prompt. If you don't have any version installed or only an older one, you can download the latest versions here: https://java.com/de/download/
After some seconds (mostly depending on your internet connection) it will create a logfile and 2 reports in the folders outputFiles/logs and outputFiles/reports. The log just shows what the tool did internally and if it worked successfully or if there was an error. If successful it will create a .txt report (e.g. to copy paste it into this forum) and a .csv report (e.g. to open with Excel to copy/paste it to google spreadsheet and/or do calculations).
Source code can be found here: https://bitbucket.org/Luke91/lihl_player_parser
Donwload: See the attached .zip file below (you have to unzip it).
Just post here/pm me if you have questions and/or feedback.
Some months ago I was working on a stats tracking system for LIHL already (to see historical stats, track the stats changes per day etc.) but put it on ice after some time. Now with the LIHL Fantasy League coming up I have created a little tool that uses parts of my old project. Since hug and/or tin want to regularly update the current stats of the fantasy league they would every time have to manually check and store the Elo of 56 players, which would be pretty tedious
![Smile :)](./images/smilies/icon_e_smile.gif)
What my tool does is to automate this process, checking the Elo of all players (possibly split into multiple groups) specified in an input file and create reports to display this data. The tool can be configured and e.g. could also be used to fetch and store the Elo of every player in LIHL (if someone wants to create a daily snapshot to track the Elo progress or something).
You can find more information about how it works and how to use it in the readme file which u can find in the download package and the project repository.
Just some short information:
In the file config.properties you can set 3 parameters
- the name of the input file containing the players/groups
- the amount of players per group that should be considered for calculating the average Elo per group (e.g. for the current fantasy league set it to 6)
- the symbol that should be used as decimal separator ("." or ","). It can be useful to set it to the symbol that e.g. your Microsoft Excel uses as decimal separator to allow easy working with it.
The input file (default name: "players.txt") contains the name of the groups and the players per group. Every group must be seperated by an empty line, the first line per block is used as group name (displayed in the reports), then add one player per line.
If both these files exist and are configured you can just double click the file "lihl_player_parser-1.0.jar".
You need java version 1.5 or higher to do so. You can see your version by typing "java -version" in the windows command prompt. If you don't have any version installed or only an older one, you can download the latest versions here: https://java.com/de/download/
After some seconds (mostly depending on your internet connection) it will create a logfile and 2 reports in the folders outputFiles/logs and outputFiles/reports. The log just shows what the tool did internally and if it worked successfully or if there was an error. If successful it will create a .txt report (e.g. to copy paste it into this forum) and a .csv report (e.g. to open with Excel to copy/paste it to google spreadsheet and/or do calculations).
Source code can be found here: https://bitbucket.org/Luke91/lihl_player_parser
Donwload: See the attached .zip file below (you have to unzip it).
Just post here/pm me if you have questions and/or feedback.