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.
Ladders, Ranking, etc
Moderator: Moderators
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.
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
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.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.
- Michilus_nimbus
- Posts: 634
- Joined: 19 Nov 2004, 20:38
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.
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.
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...
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...