Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [wishlist] possibility to make draws (PR#1280)
Home

[Freeciv-Dev] Re: [wishlist] possibility to make draws (PR#1280)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: Reinier Post <rp@xxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [wishlist] possibility to make draws (PR#1280)
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Tue, 26 Feb 2002 10:31:31 -0800

On Tue, Feb 26, 2002 at 06:18:34AM -0800, Raahul Kumar wrote:
> 
> --- Reinier Post <rp@xxxxxxxxxx> wrote:
> > On Tue, Feb 26, 2002 at 02:45:58AM -0800, Per I. Mathisen wrote:
> > > On Mon, 25 Feb 2002, Micha Riser wrote:
> > > > I am referring to games played on the civserver which are counted for 
> > > > the
> > > > civranking (http://civserver.freeciv.org/rankings.phtml). A game is only
> > > > counted as draw if the best players in the game have exactly the same
> > number
> > > > of points. The ranking script takes the info from the gamelog file and
> > there
> > > > is only stored the number of points and not the rank.
> > > 
> > > Ah, ok. I don't know how that works. IMHO, if all players are allied to
> > > each other or only one team is left, the game should end and all players
> > > should get a win. I can write a patch that does that, but I don't know how
> > > that fact should be conveyed to the ranking script, though.
> > 
> > One idea is to add the ranking computation to civserver as a
> > demographic variable.  As usual, I'm not supplying the patch ...
> > 
> 
> I'd prefer altering the ranking script. Just change it's behaviour to rank
> on the basis of alliances as well.

The ranking script doesn't know about alliances.

A gamelog line would need to be added around server/diplhand.c line 355,
and one when the alliance is broken (I didn't look this one up).

-- 
Paul Zastoupil


[Prev in Thread] Current Thread [Next in Thread]