Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Re: (PR#5121) move server command structs/ids/help/etc to
Home

[Freeciv-Dev] Re: (PR#5121) move server command structs/ids/help/etc to

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bursig@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#5121) move server command structs/ids/help/etc to common code
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Aug 2003 21:01:50 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Aug 19, 2003 at 03:58:00PM -0700, Rafa³ Bursig wrote:
> On 2003.08.17 15:58, Per I. Mathisen wrote:
> > 
> > On Sun, 17 Aug 2003, Rafa³ Bursig wrote:
> > > This code create command.h in common dir and move here all info
> > > about server command from server/stdinhand.c.
> > >
> > > This change give client all server command info (min,max,current,
> > > help, access_level, etc) and allow create server command GUI on 
> > client side.
> > 
> > Not a bad idea, perhaps, but how do you intend to use this data?
> > 
> 
> I want make some basic server config GUI on client side.
> 
> Here is secound version of this code...
> Now it send all info to players with ctrl and hack access level after 
> login (send all) and each change of option state.

while this is noble, I don't like this idea. The reason is that it requires
the client and server to be in sync with regard to all server commands and
settings. This is obviously not required for almost all gameplay options.
After all, why should a client care if the citymindist option exists on 
the server?

A better option would be to send options and commands over the wire like we
do rulesets. This would also be helpful for the GTK connect dialogs.

-mike



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