Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Server from Client
Home

[Freeciv-Dev] Re: Server from Client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Server from Client
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 28 Dec 2001 22:34:21 +0100

> No. With rfcstyle, you send the server a command, and then wait for a line
> that starts with "100" or one of the warning/error codes. Once I get the
> cleanup patch done, this number will be followed byseveral quoted
> arguments, like this
> 
>       100 "Per I M" "AI"
> 
> which isn't a big problem to parse.
> 
> One problem might be that string results like "AI" might be translated...
> there are a few such problem cases in the code... I am not sure what is
> the best way to deal with it, but I think I would rewrite those few cases
> to ensure rfcstyle sends untranslated information, or perhaps by exporting
> console_rfcstyle and make if ... else tests for it in those cases.
> Definitely solvable.

What is more, the same problem must be solved for the /set command,
so it's not a new problem.

-- 
Reinier


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