Skip to content
#7
Auto-translated
Nitro
I looked at Ihromant's program – you need to develop it further. I don't want to support our project with Vova, which is very poorly written (it was my first programming experience :smile17: ).
No need, the project is excellent (I haven't seen the code, though), although I understand that you don't want to delve into what you did 3-4 years ago. I myself have several projects that I once wrote and need to finish, but you look at them and think, "damn, it's easier to rewrite them from scratch").
If possible, it would be good to get a folder with resources (images of hero faces, castles). Also, the design of the HTML pages (if it exists and if you don't mind us using it; if it doesn't exist and you still don't mind, it won't be a problem for me to extract it myself when heroes3stat is up and running). Well, and as Russell says, it would be good to share some advice; maybe we won't make any mistakes.
Russel_lDHl
Good job!

I'm ready to try to help in any way I can.

I don't have a lot of time, but I think I could be useful!
And Nitro could share advice, thoughts (on how it could be improved) – this could be useful for the project :)
In general, what would be good to do now.
https://github.com/Ihromant/Heroes3TourneyStatistics/blob/master/src/main/java/ua/ihromant/data/Template.java
https://github.com/Ihromant/Heroes3TourneyStatistics/blob/master/src/main/java/ua/ihromant/data/Hero.java
Here are two files; I've only added JC and Valeska to them. To make heroes read from templates, you need to make them similar to
https://github.com/Ihromant/Heroes3TourneyStatistics/blob/master/src/main/java/ua/ihromant/data/Castle.java
That is, what needs to be done is to take the Russian version of how they are written in the reports and put them in parentheses, separated by commas. In the future, images will be added when we have a folder with resources (if Nitro provides it, it will be great; otherwise, we will probably have to collect them ourselves).
If you know how to use Git, just make a branch and pull request; if not, send me the file(s) with the changes, and I will update them myself.
saneok
if you are going to develop it, Ihromant, give a separate stat for each template, each castle BlessRng
sir Davos Seaworth
If possible, make a separate rating for the third game, excluding HotA. That would be great!
It is possible to create a stat without any problems. Take the model
https://github.com/Ihromant/Heroes3TourneyStatistics/blob/master/src/main/resources/results.json
and calculate the statistics in a similar way to
https://github.com/Ihromant/Heroes3TourneyStatistics/blob/master/src/main/java/ua/ihromant/analisys/RatingCalculator.java. There was also a guy here somewhere who had already calculated something similar. The bigger question is that I want to create a website that automatically calculates such statistics that would be available via links.
Regarding statistics only for SoD, there is a small problem. As I understand it, Nitro's website calculates statistics in a similar way to how I do it (it reads the table on the first page of the tournament thread with reports). There is a problem – the game version is not displayed there. Accordingly, it is possible to understand that the statistics are for SoD or HotA only by the tournament threads where the version is clearly specified (and even then, there may be agreements about "let's play in this version").
Also, even if we assume that it will be possible to find the version somewhere, as it is stored in the database (if it is stored). Most players fill out reports "I don't remember the hero, I don't remember the castle, but I remember that I won." I suspect that the last option is changed only by a very small number of people, which will spoil the statistics with "fake" SoD reports.
But if we calculate the rating only for SoD tournament threads, then it is quite possible to do so. Then it would be good if someone provided a list of threads that are SoD-only tournaments, and I will calculate such statistics.

Here is what I see about the prospect of creating a website. As I see it now, I wrote the report reading, as well as the general rating analysis.
It will be under the hood as a process that every hour (as on Nitro's website) will read information about reports, then calculate statistics, which will be provided. Initially, make pages like on the current heroes3stat, and then think about how to make tournament and other statistics. Then I will find hosting, place it, make a good domain, and everything will be fine.

Approximately like that.

Statistics

Welcome our newest member: Фёдор Фёдорович