Skip to content

Posts from HW tournament statistics analyzer.

No ratings yet — be the first to rate!
User Avatar
7 years ago
Auto-translated
Hello, dear chat. I was a bit annoyed by the fact that heroes3stat was temporarily down (or not so temporarily). As a result, I wrote the following code to create a similar site with a ranking system. You can view the code here; you can also write something of your own if you wish. If you need to understand how to set up the site locally, ask me, and I'll explain.
Code: https://github.com/Ihromant/Heroes3TourneyStatistics.
The site is up and running here.
http://heroes3stat.appspot.com/rating
Let's add a banner to your signature:
Go to http://heroes3stat.appspot.com/rating, go to your profile, scroll down, copy, then go back to the forum, "Control Panel" -> "Edit Signature," and paste it into your signature, then save.

List of current tasks and ideas (I will write in bold what needs to be done with the help of the community in order to be implemented. If there is no help, I probably won't do it):
1. Finish writing the ranking calculation (until an automatic report input system is implemented).
2. Create statistics for castles.
3... Add your own.

Special thanks:
Nitro for providing the resources.
meo for the signature banner templates.
Russel_lDHl for the table showing the monster dependency in the banner on the rating and for help with the hero images.
Al Feyn for regular checks and suggestions on how it should work in reality.
User Avatar
7 years ago
Auto-translated
I talked to Nitro today. He promised to resolve the site issue.
Regarding the HeroesWorld rating - I wrote to the creator.

Added after 1 minute
Ihromant

Today I again couldn't find an opponent for a seasonal game without OX for an hour.
I think that after some time, you'll be searching for a whole day.
In reply to Dirty_Player
User Avatar
7 years ago
Auto-translated
Dirty_Player
Talked to Nitro today. He promised to fix the issue with the site.
Regarding the HeroesWorld rating - I wrote to the creator.

Added after 1 minute

I think that after some time, you will be looking for days.
I looked at Ihromant's program - you need to develop it. I have no desire to support our project with Vova, which is very poorly written (it was my first programming experience :smile17: ).
User Avatar
7 years ago
Auto-translated
if you plan to develop it, give each template and each Castle a separate stat for the Necromancer. BlessRng
User Avatar
7 years ago
Auto-translated
Well done!

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

I don't have a lot of free time, but I think I could be of assistance!
And Nitro could share his advice and thoughts (on how to improve it) - that could be helpful for the project :)
User Avatar
7 years ago
Auto-translated
If possible, create a separate rating specifically for Heroes of Might and Magic III. That would be great!
In reply to sir Davos Seaworth
User Avatar
7 years ago
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.
User Avatar
7 years ago
Auto-translated
I also disagree with splitting the rating – even if you divide the tournaments into Sod-only and HotA-only, how are you going to separate the seasonal reports? And even if you can, as the player correctly pointed out, there will be a lot of fake Sod reports because not everyone checks the box...
And yes, HotA = Sod = AB = RoE = Heroes 3 :D
7 years ago
Auto-translated
PROger
No
Could you explain why not? As a player who currently plays mostly Single-Player Online Duels (SOD), I find it very interesting to see the game statistics of my current opponents before deciding which strategy to use. However, when I play against such skilled players as Saneok, it's not immediately clear which strategies he prefers in SOD and which he doesn't. Since Saneok mainly prefers HotA, his reports are mostly about HotA, and this isn't reflected in the statistics unless the report mentions a Cove or heroes from the Cove.
It's not necessary to create a separate ranking for SOD and HotA, but at least it would be helpful to see whether a player plays SOD or HotA. (in my opinion)
User Avatar
7 years ago
Auto-translated
sir Davos Seaworth
This wasn't spam; it was a suggestion to split the rating. And the topic creator perceived it adequately.
Still, no. This looks more like an attempt to stir up trouble out of nowhere.

Regarding the topic, it would be possible to split it, but purely for informational purposes, as a supplement to the general one. But the question is, how can you accurately identify all reports from Haven and Academy out of a million reports? :confused: Yes, there is a version selection in the report header, but it is not displayed anywhere, and it is not a fact that people indicate it correctly.
In reply to Dirty_Player
User Avatar
7 years ago
Auto-translated
Dirty_Player
Still, no. This is more like an attempt to stir up trouble out of nowhere.

I'm sorry that this impression was created.
Dirty_Player
But it's not entirely clear how to accurately identify all reports from Haven and Academy out of a million reports:confused: Yes, there is a version selection in the report header, but it is not displayed anywhere, and it is not a fact that people indicate it correctly.

Yes, I didn't think it would be that simple, otherwise it would have been done a long time ago. I was asking about the possibility of such an implementation. And can it be configured so that it is displayed? And by default, so that it is not SOD, but a choice, without which it is impossible to complete the report.
In reply to sir Davos Seaworth
User Avatar
7 years ago
Auto-translated
sir Davos Seaworth
And by default, instead of SoD, there should be a selection that must be made to complete the report.
By the way, great idea. And very simple to implement.
In reply to Ihromant
User Avatar
7 years ago
Auto-translated
Ihromant
By the way, that's a great idea. And very simple to implement.
That won't solve the problem with the ton of already written reports.
Generally speaking, having direct access to the forum's database, implementing a rating system would be much easier than coming up with JS crutches. But here everything depends on the creator of HeroesWorld, whether he is willing to provide access to a third-party developer.
7 years ago
Auto-translated
It is not certain that all the information from the reports went into the HeroesWorld database. Even after gaining access and looking there, Igromant may see that there is no SoD/HotA data from existing reports (by the way, the fact that Igromant is doing everything with open source code is also a big strategic plus for everyone).

Most likely, we will be able to discuss exactly that, starting from some point, we should begin forming a HotA rating, possibly based on the latest tournament topics, the list of which should be compiled manually and calculated to obtain a starting point. If we can capture more information for the start, all the better.

Furthermore, I want to add that, most likely, at this moment it would be wrong to remove the unified rating as it currently exists.
In reply to Dirty_Player
7 years ago
Auto-translated
Dirty_Player
Talked to Nitro today. He promised to fix the issue with the site.
Regarding the HeroesWorld rating - wrote to the creator.
And what about heroes3.tv, is it possible to find out? A very useful resource for the viewer :smile33:

Statistics

Welcome our newest member: recijeb

Users Online 3 users 1351 guests