Ladders, Ranking, etc

Ladders, Ranking, etc

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
FoeOfTheBee
Posts: 557
Joined: 12 May 2005, 18:26

Ladders, Ranking, etc

Post by FoeOfTheBee »

Don't know if lobby developers are interested in this, but would it be possible to get spring to tell the lobby what players won, and what players they beat when the program exits?

This would make lobby integrated ladders and tournaments possible.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

the game writes a .txt at the end of the game, you can read it and know who died and so on

ladders could be added in an hour but has beed refused
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

refused by whom and on what grounds? At the end of the day the decision is upto either Iamacup or Noize, and I know for sure Iamacup is eager to push forward.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

well... since you are making a lobby/cookiebot AF I suppose you could have your version of the lobby read this text file, report it to the cookiebot and keep track of the results... once you make the like... 10 lines of code for the client and server side part of this you could say "hey look betalord I made a ladder system that automagically reports winners to a web based leaderboard you should add these 10 lines of code to the official lobby"... but that's just me.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

SinbadEV wrote:well... since you are making a lobby/cookiebot AF I suppose you could have your version of the lobby read this text file, report it to the cookiebot and keep track of the results... once you make the like... 10 lines of code for the client and server side part of this you could say "hey look betalord I made a ladder system that automagically reports winners to a web based leaderboard you should add these 10 lines of code to the official lobby"... but that's just me.
That's extreamly unreliable if people aren't running AF client. Likely the client side won't even be stable enough for that. If that is going to happen it really has to happen in the lobby server.
User avatar
Michilus_nimbus
Posts: 634
Joined: 19 Nov 2004, 20:38

Post by Michilus_nimbus »

I've made a slightly modified spring build that dumps all of the team statistics shown on the end game screen, but I'm quite sure the code isn't acceptable for the spring repository. It was very roughly implemented in the EndGameBox.h/cpp files. It surely had it's issues, and I'm sure a real dev could do a way better job.
I intended to use it for host-o-matic, my dedicated hosting bot, to have some kind of primitive ranking system.

What *could* be a reliable system is having a tournament bot join the battle as a spectator and report the results of the battle. That would of course require a windows server that supports spring, or a linux server with X if you wish to ignore the constant sync errors.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Not at all swiftspear.

Cookiebot handles calling a webpage fine.

Altarics client calls webpages for map ratings and numerous other things.

It'd be more reliable to call webpages as the server can crash, and the server can have multiple instances, and you end up with the same problem as ranks when the server goes down and everybodies ranks are reset on the other server...
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

Post Reply

Return to “Engine”