How do I make a ladder server
#8
Hey, hey... Luc@s asked the same stupid question last November and unexpectedly, he's come up with a ladder not so long thereafter! http://ladder.iafmatch.com/

The easiest way to do this is to parse the server logs (PHP would be quite easy for that, since it also has many database interfaces to send all the data to) and then increase counters as necessary after every action. You could also try to parse the demos which would give a little more information.

These counters should be present in a database (see MySQL/Postgresql/sqlite), with which you can then aggregate all the data, process it, sort it, and then in the end, display it (PHP). The most difficult thing is ensuring consistency and accuracy.

So, all-in-all, learn PHP and some databases. It's not that difficult if you just want to list players' scores or so :) It does become difficult when you want to add various kinds of sortings, various detail, or if there are simply a lot of players.
Thanks given by:


Messages In This Thread
RE: How do I make a ladder server - by KN!F3 - 11 Aug 10, 12:11AM
RE: How do I make a ladder server - by J32 - 11 Aug 10, 01:51AM
RE: How do I make a ladder server - by V-Man - 11 Aug 10, 03:51AM
RE: How do I make a ladder server - by Drakas - 11 Aug 10, 08:35AM