[Freeciv-Dev] Re: (PR#14274) new ranking server code
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14274 >
Dnia 2005-10-12 07:21:49, Jason Short napisał(a):
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14274 >
>
> Mike Kaufman wrote:
>
> > Per has stated that he would like the output of the do_rank_users()
> > function to be the mysql database. I think this is useless as we'll
> need a
> > script anyway to actually update the ranking tables, and working
> with a
> > dead simple flat file is a lot easier than dealing with mysql. We
> also
> > don't add pseudo-dependencies to the server.
>
> I also think that the stats should go straight to the database.
>
> -jason
Yes. There should be
serdb_get_ranking(user)
and
userdb_give_ranking_points(user, user2, amount)
methods.
This would easy debugging and testing the ranking - you could test the
ranking without having to use external database.
Displaying the ranking in the pregame screen will surely attract more
players. Currently not all players know that there is a ranking on
pubserver.
--
mateusz
|
|