Page 1 of 1

Autohoster / autorating duels

Posted: 03 Sep 2020, 22:30
by pastdue
Thanks to the work of Max and Vaut, there is now an automatic hosting and rating system that hosts 1v1/duel games that you can play.

How to play:
You may have seen games in the lobby with the game name "Autorating" - the system automatically tracks games (with stats, more on that later) played in these lobbies.
To make sure it keeps track of who you are, be sure to always play with the same name and profile ID - at the very least make sure your profile ID stays the same so you can have all your games under one page (you can see yours, along with others when you hover a player's name in lobby)!
Other than that, there is nothing else to do other than actually playing a game!

Maps:
At the time of this writing, 9 maps(3 high, medium and low oil, listed respectively) are hosted randomly with no/medium base and scavs off/on as settings that are randomly chosen:
  • SnowTiny
  • Tiny_VautEdition (very small chance of map having full base/no scav settings)
  • DramaticScavs
  • Omega
  • DA-firefight1x1
  • Water_Drama
  • Spiders22
  • UrbanMystery
  • IvySummit_r2
Automatic elo calculation:
The system will automatically detect if you've won or lost - if you won make sure you stay until you see the win screen so the system knows who won! The system also uses the elo ranking system to rank players: basically you win points for winning games, more if you win vs a higher rankes opponent than yourself (the opposite is true as well).
More information about this system and Elo:
http://bruh.software/wz/about.php
https://en.wikipedia.org/wiki/Elo_rating_system

Not just a ranked system...
Not really interested in playing for rank? Fair enough. The system is more than just a ranked system, it can also be used as a tool to analyze your games vs others since it monitors not just whether you won or lost, but also your power levels, research, kills etc.
You can probably answer questions like:
- Why did my opponent get Lancer first? When/How did that happen?
- Why did my opponent feel stronger at that specific time? Maybe I was behind in research or just had less oil "out" in tanks?
- Why did my opponent have more units than me... Did I take a bad fight or was I late in some important research?
- etc

Image

If nothing else, it's fascinating to look at!

Check it out at: http://bruh.software/wz/

Credit for this write up goes to: kracker

Re: Autohoster / autorating duels

Posted: 04 Sep 2020, 13:55
by moltengear
Can then embed the leaderboard directly into the game. And also add the ability to write private messages personally to each player.

Re: Autohoster / autorating duels

Posted: 05 Sep 2020, 15:17
by andrvaut
Write what other reports on games to add.

If you have a completely unused computer with white (public) IP, linux and video card, you can donate it for additional hosts.
Unfortunately, one IP can currently only host one game host ...

Re: Autohoster / autorating duels

Posted: 06 Sep 2020, 11:10
by moltengear
andrvaut wrote: 05 Sep 2020, 15:17 Write what other reports on games to add.

If you have a completely unused computer with white (public) IP, linux and video card, you can donate it for additional hosts.
Unfortunately, one IP can currently only host one game host ...
I think it would be better to redo the server code.

Re: Autohoster / autorating duels

Posted: 06 Sep 2020, 14:37
by andrvaut
The limitation to one host on one IP is caused by the client and the lobby. The player simply will not be able to connect to a port other than 2100.
Max partially unlinked graphics.
We still need to initialize OpenGL to run, but the battle itself is not rendered.
If someone does a completely headless server, that will be very good.

Re: Autohoster / autorating duels

Posted: 06 Sep 2020, 17:30
by moltengear
andrvaut wrote: 06 Sep 2020, 14:37 The limitation to one host on one IP is caused by the client and the lobby. The player simply will not be able to connect to a port other than 2100.
Max partially unlinked graphics.
We still need to initialize OpenGL to run, but the battle itself is not rendered.
If someone does a completely headless server, that will be very good.
Or, on the player's side, the opportunity to create a rating battle for two. Add checkbox when creating host.

Re: Autohoster / autorating duels

Posted: 06 Sep 2020, 17:30
by moltengear
------

Re: Autohoster / autorating duels

Posted: 06 Sep 2020, 18:26
by andrvaut
The problem is the need for an outside arbiter of the meeting.
The host can prevent the game from determining the winner, or disable an opponent.
I see no way to defend against dishonest hosts. It is impossible to determine the rating on such data.

One of the possible integration of the rating into the game:
https://github.com/Warzone2100/warzone2100/pull/1141
Image

Re: Autohoster / autorating duels

Posted: 08 Nov 2020, 01:50
by siskiyoubigfoot
For years, this website appeared to be defunct after the release of3.2 or so. Now it appears active so happy to see that.
Thanks for all the good work. My Grandson says that German versions of this site appear active. Sehr Gut!