[Freeciv-Dev] Re: CMA and observer (PR#1557)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Jun 11, 2002 at 10:16:17AM -0700, Christian Knoke wrote:
> CVS 11 JUNE 2002
>
> Terrible things happen if you connect two _controlling_ clients
> with the same player on the server (see option allowconnect).
If you give the two CMAs different goals it is interresting to see
that the clients will change the city forever. I have no answer what
should happen. So in short it isn't supported.
> If you connect an _observing_ client with a human player on the
> server, the server says:
>
> 1: Got a packet of type 22 from a dead or observer player
> 1: Got a packet of type 23 from a dead or observer player
>
> several times, and finally the observing client crashes and
> dumps core.
The attached patch should fix this. BUT the client should changed so
that no real actions are allowed if it is an observer. So a lot of
gtk_widget_set_sensitive(widget, !client_is_observer());
should be added to the code.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Python is executable pseudocode. Perl is executable line noise"
-- Bruce Eckel
1557fix1.diff
Description: Text document
|
|