Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: patch: Modified can_build_improvment()
Home

[Freeciv-Dev] Re: patch: Modified can_build_improvment()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Sebastian Bauer <sebauer@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: patch: Modified can_build_improvment()
From: Kevin Brown <kevin@xxxxxxxxxxxxxx>
Date: Mon, 20 Aug 2001 03:28:21 -0700

Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On 18 Aug 2001, Sebastian Bauer wrote:

[...]

> > The current version doesn't implement neighter equiv_dupl nor
> > equiv_repl because of this. I haven't modified yet the functions
> > wonder_replacement() so this part is still hardcoded.
> 
>       This is rather more difficult, as you have to check for buildings
> being in the range of others. (Some combinations are actually impossible
> to deal with, since the client doesn't have complete information about all
> cities.) Most of these functions are, however, implemented by my patch - I
> suggest you take a look at it and consider working with the FreecivAC guys
> and myself on this.

If the client wants to build something, shouldn't it first query the
server to see if it's permitted?  Or tell the server that it's going
to do so and let the server tell it whether or not it worked?  The
server knows all the rules and has all the information about the game,
after all.

Seems to me that none of the game intelligence should be in the
client.


Or perhaps I just don't understand the issues you guys are discussing
enough to comment intelligently...


-- 
Kevin Brown                                           kevin@xxxxxxxxxxxxxx

    It's really hard to define what "unexpected behavior" means when you're
                       talking about Windows.


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