[Request] Simple ingame ranking system

[Request] Simple ingame ranking system

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

[Request] Simple ingame ranking system

Post by Forboding Angel »

Basically, kill/loss/timeout stats kept for each player, and uploaded to mysql database on the main server. Is it possible to do?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: [Request] Simple ingame ranking system

Post by Licho »

Already done by springies, some 15 000 games of past games tracked so far.
Used among other things for ELO rating calculation.

If you do it by gadget, you might run into security issues - or you will have to upload stats as many times as there are players and aggregate on server.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: [Request] Simple ingame ranking system

Post by Neddie »

However, if you wish to track Evo in a more robust manner (More than just kills/deaths, etc.) and are capable of providing a server for the gadget to talk back to, this could be very useful for providing persistent stats and drawing certain types of players.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [Request] Simple ingame ranking system

Post by Forboding Angel »

Well that's the idea. I want to display a rankings page on the site Showing playername, wins, losses, and disconnections.

@licho I understand what you mean regarding security issues (as the script would ahve to know the name and pw of the db, but wouldn't a simple enough solution be to just compile the end lua script?

Also, I'd put it in it's own db so that even if the username/pass were compromised, it wouldn't be any big deal. Plus, I can set it up so that the db gets emailed to me nightly so restoration wouldn't be any big deal.

^^ not desirable though

Surely there can be a fairly non-complicated solution?
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: [Request] Simple ingame ranking system

Post by CarRepairer »

Licho should really recalculate Springie Elo rankings to per mod per player.

An average ranking over all games can be displayed somewhere, but the above should be the rank used for balancing.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [Request] Simple ingame ranking system

Post by Forboding Angel »

The thing is, autohosts are limited (especially springie - no offense intended licho). Map and mod options are extremely important in Evo and without them some things jsut don't work they way that they are supposed to.

Additionally, I don't want it to be locked down to just autohosts.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: [Request] Simple ingame ranking system

Post by SirMaverick »

Forboding Angel wrote:Additionally, I don't want it to be locked down to just autohosts.
Stats reporting is done by SpringDownloader (but could be done by a specing bot, see BD's bot). For balancing you need lobby client support.
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: [Request] Simple ingame ranking system

Post by JohannesH »

If it's used for ranking, why would you want to include each and every game someone every plays into it? That can really discourage experimenting with new strats, playing when intoxicated, playing vs more skilled opponent, etc. if this ranking is relevant in a way that ppl want to maintain a high rank. (Or they'll just smurf)
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: [Request] Simple ingame ranking system

Post by SirMaverick »

Sure. If you can decide which game counts you might maintain a higher rank. But that doesn't really represent your skill. E.g. if you just count easy games and always win you will end up with low skilled players in team games.

In long run some experimental games etc. don't really matter.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [Request] Simple ingame ranking system

Post by Forboding Angel »

Ungh, you guys and your lobby ranks...

It is not to be used for balancing teams or anything like that. SImply a counter for wins, losses and disconnects.

Why is that so hard to understand? It's like a Scoreboard, ya know? Like top score?
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: [Request] Simple ingame ranking system

Post by manolo_ »

add lobby ranks to adv. playerlist?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: [Request] Simple ingame ranking system

Post by Licho »

What you mean wins losses and disconnect..
!stats show that ... and in the long term it will converge to 50% wins (if you play team games on ELO balanced hosts).
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: [Request] Simple ingame ranking system

Post by bibim »

Btw, is Springie/SD ELO indexed on account IDs or still player names?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: [Request] Simple ingame ranking system

Post by AF »

hmmm I may have something for you forb if I have time
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: [Request] Simple ingame ranking system

Post by CarRepairer »

Licho wrote:What you mean wins losses and disconnect..
!stats show that ... and in the long term it will converge to 50% wins (if you play team games on ELO balanced hosts).
The issue is that Forb wants it for Evo games only. Springie shows your wins/losses for every game in the world. If you could change it to record a number per player per mod instead of all games, he'd have what he wants and the separate Elo rankings would be more precise. Different games are different, why pretend they aren't? If someone is truly a good player at every game he plays, his ranking will show up that way anyway. If someone is good at one and bad at another, he should show two separate rankings.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: [Request] Simple ingame ranking system

Post by Licho »

Uh oh, just change it on website? Its open source, you can modify it to count elo for each game independently. (Even retroactively). It just has list of games in database..
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: [Request] Simple ingame ranking system

Post by CarRepairer »

Licho wrote:Uh oh, just change it on website? Its open source, you can modify it to count elo for each game independently. (Even retroactively). It just has list of games in database..
Okay, I'll do my best. But was hoping for Springie also to change and use separate rankings depending on game. I am willing to do that too, but I'd need help from you.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: [Request] Simple ingame ranking system

Post by Licho »

Car, there is no *ranking*, its all just view on data...
Data itself contain all mods, what you do with that is your business.
The output !stats show is just result of php page which runs few sql queries..
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: [Request] Simple ingame ranking system

Post by JohannesH »

Forboding Angel wrote:Ungh, you guys and your lobby ranks...

It is not to be used for balancing teams or anything like that. SImply a counter for wins, losses and disconnects.

Why is that so hard to understand? It's like a Scoreboard, ya know? Like top score?
Yeah as I said, if each and every game you play records to some scoreboard, a portion of people will get vary of which games they dare to play
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [Request] Simple ingame ranking system

Post by Forboding Angel »

Scoreboard would not be shown in the lobby. It would only be shown on the website.

What is the player at the top has more losses than wins? Would you still refuse to play him? Please, none of that is a concern.
Post Reply

Return to “Lua Scripts”