Jump to content

LocalRatings mod - evaluate players' skills based on previous games


 Share

Recommended Posts

36 minutes ago, Mentula said:

CHARTS!

Hello 0 A.D. friends,

I am happy to announce a new release (v0.25.8) of the LocalRatings mod with new amazing features!

Are we getting better over time? Is our archenemy becoming everyday stronger? Charts will tell! Explanatory picture below.

Charts.thumb.png.c0383bae114ba29bbd49198c72e6e091.png

And if you don't like the default chart colors you can always change them (see picture below).

  Hide contents

ChartsColor.png.c94188cbf5fce0c163dc10566d8ea678.png

Further, two new Score Weights have been added: the amount of resources used and the amount of resources sold at the market.

Finally, Other minor issues have been addressed.

Download: you can download the new release (v0.25.8) of the mod from the zip file attached to this post or from the zip file attached to the first post of this thread or from the official page.

LocalRatings-v0.25.8 24 kB · 0 downloads

this is fire! love it. about the file attached maybe change the extension to zip? had to do it myself before was able to unpack

  • Thanks 1
Link to comment
Share on other sites

This is a very nice feature.

What is exactly "performance over time"? It takes values that varies substantially from negative to very high values and currently, it seem very hard to see how "Rating evolution" is actually moving. Maybe making some tiny adjustment (using different scale or units of measurement, when generating the graph creating an option such that not everything is added ...) to get the different information on the graph more easy to read could be good? 

Link to comment
Share on other sites

when i was very young (age 13) i was pretty good with some programming languages.
no about 30+x years later its not. but school papers say i was very good with for example turbo pascal.
now i really rally not. i forgot most of it.                   aging, impermanence :) if that could be implemented. i think that could be great :) (BTW there is a option already to set a beginning time)

Edited by seeh
  • Like 1
Link to comment
Share on other sites

Just now, faction02 said:

What is exactly "performance over time"? It takes values that varies substantially from negative to very high values and currently, it seem very hard to see how "Rating evolution" is actually moving.

Every (x,y)-point of the Performance over time graph has y-coordinate equal to the player's rating calculated on the x-th game played. For example, if a player has performed 10% better than the average on their first game (where "better" depends on the weights set, of course), then (1, 10.00) will be a point on the Performance over time graph.

8 minutes ago, faction02 said:

Maybe making some tiny adjustment (using different scale or units of measurement, when generating the graph creating an option such that not everything is added ...) to get the different information on the graph more easy to read could be good? 

Thanks! Actually, the Performance over time graph can have very high and low peaks, making the Rating evolution graph poorly readable. I will put some option to hide/show certain elements of the chart and maybe readjust units/scale if needed. There are plenty of further improvements that can be made, charts have great potential.

  • Like 1
Link to comment
Share on other sites

@faction02 raised a good point. I have updated the last release (v0.25.8) with a small update. From the Options>Charts menu you can now hide/show charts. This will improve readability, I hope. You will now be able to see charts like this:

Chart.thumb.png.9d330fbe3622bdb5ec488b9b5112dda2.png

New features will appear in a future version (probably in A26). Attached you can find the updated version (v0.25.8.2). The same zip file can be found attached to the first comment of the current thread.

LocalRatings-v0.25.8.2.zip

  • Like 4
Link to comment
Share on other sites

  • 3 weeks later...

Hi everybody,
no version update here, just a little piece of information from the author of the LocalRatings mod (me).

The next LocalRatings version (v0.26.1) will be released as soon as the new 0 A.D. Alpha 26 is out. I am impatient to play the new Alpha26 and to see how players' statistics change. As you may know, there will be a new civilization, the Han Chinese and it will be interesting to see how players perform with it. And speaking of civilizations... here's a preview of what you will find in the next LocalRatings version!

civs.thumb.png.915ca0f3fd816d503b149ef3cc57f50f.png


Yes, per-civ statistics. Cool, isn't it?

This is one of many new changes and features I have been working on. It will help giving a more concrete idea on civilization balance and I'm very curious to see what the Han Chinese civilization will reveal!

I will provide a full list of new features when the release day comes. For the moment, if any of you wants to try it in advance, you can download the zip file of the development version (or download it manually from the GitLab page). It runs on both A25 and A26. I appreciate any feedback, in particular regarding the new explanatory page, that can be opened from the "About Local Ratings" button on the top of the page. Surely more content can be added and the English might not be perfect (my mother tongue is not English), so I appreciate any suggestion in that sense. Other type of feedback is welcome too. Should you have any thought, feel free to send me a private message.

Thanks and... see you on A26!

  • Like 5
  • Thanks 4
Link to comment
Share on other sites

i have updated it and not it now it shows error and empty lists:

[75.136] eror: GUI page page gui/page_localratings.xml Failed to call init() function

image.png.ae79c5a7fd836307a995e316d2bc68fa.png

if i disable all other mods then i see the list again.

any idea how to fix that without disable other mods? maybe a issue with StarGui 7 ?

 

image.png.e25d73f8b7f92ae9786335946fe13496.png

Edited by seeh
Link to comment
Share on other sites

@seehat a first glance the issue does not seem to be related with the LocalRatings mod, but arising from somewhere else.

I am not using any of the mods you listed but I'll give them a look to see where the issue is originated.

One thing you can try to do is to run mods in a different order, 0 A.D. allows to do that (from the Mod Selection page). If this works for you, please leave a comment, other people might be affected too.

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Mentula said:

One thing you can try to do is to run mods in a different order, 0 A.D. allows to do that (from the Mod Selection page). If this works for you, please leave a comment, other people might be affected too.

i tried many different orders. the only think was helped was disable StarGui7 SartGui4 ( 

is working. StarGui7 changing the colors an layout of the main window and much more.

best for me is delete/disable folder

StarGUI7/gui/lobby/LobbyPage/

 

Edited by seeh
Link to comment
Share on other sites

It likely seems to be an issue of StarGui mod introduced between StarGui4 and StarGui7. Maybe @Sevda can take a quick look?

It's not the first time I find incompatibility issues across different 0 A.D. mods. Most of the times this is due to modders not proxying existing functions, but overwriting them. I don't know if this is the case... if time allows I can help looking into StarGui.

Link to comment
Share on other sites

6 hours ago, Mentula said:

StarGui4 and StarGui7

Across the 3 versions I have implemented actual changes to javascript files that control the shape, text and function of GUI elements; I think one of the minor changes could be interfering with localratings. Before StarGUI v4.0 it was all changing skins and actors, which was harmless. 

Link to comment
Share on other sites

The match numbers filter and match duration filters are very important; it allows us to remove flukes and only look at good games which lasted for a long time. 

image.thumb.png.dd93278c50ae74909bc4eb3620db1f36.png

This is my list after applying the filters of time > 23 minutes and minimum number of games is 3. I also set the weights to take only military performance (killing machine) into consideration. A new star player named violentviolet does not forfeit their name and scored the top place, leading me by more than 100 points!

Link to comment
Share on other sites

On 23/07/2022 at 1:43 PM, Mentula said:

Are we getting better over time?

Feature request: Wow really nice work with your evolution graph. BTW i interested to find out which of my games get me good rating. so i may want look the replay from them again later.

eventually its possible to click in the graph and get the replay name? or add a column in the replay list (lists my rating for this game?)

BTW for example my graph looks a bit more wired then most of other graphs i think: :D

image.png.51c460da8d129ffca061ed1c05dab624.png

Edited by seeh
Link to comment
Share on other sites

  • 1 month later...

Cheers and... WELCOME TO ALPHA 26!

The newest version of the LocalRatings mod (v0.26.1) is attached to this post.

Major new features:

  1. Automatic (and much faster!) list update.
  2. New per-civ rating chart.
  3. Ratings of players visible in the lobby page.
  4. Documentation, including the rating system and F.A.Q. is now available (clicking on the "Info" button).
  5. New match filter: starting resources.

.. and other little perks:

  1. Player names colored as in lobby.
  2. Hovering on evolution chart shows detailed information.
  3. More statistical data (e.g. standard deviation).

Release notes: the attached new version of LocalRatings v0.26.1 is compatible with Alpha 25.

Installation: see the first post of this thread for instructions.

Have fun!

 

LocalRatings.pyromod LocalRatings.zip

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...