bugFreeciv - Bugs: bug #21752, freeciv-client-gtk: Does always...

Show feedback again

bug #21752: freeciv-client-gtk: Does always want to connect to localhost

Submitted by:  None
Submitted on:  Tue 04 Mar 2014 03:49:19 PM UTC  
Category: client-gtk-2.0Severity: 1 - Wish
Priority: 5 - NormalStatus: None
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 
Operating System: GNU/LinuxPlanned Release: 

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue 04 Mar 2014 10:15:47 PM UTC, comment #4:

I think your other points are most likely unrelated to this bug report.

5) Command line parameters are useful but I believe the original bug reporter was using the graphical menu and he expected that the parameters were preserved in-game. The "Save Options on Exit" option sounds like the solution for this issue but alas on exit the connection parameters are reset to localhost.

Tue 04 Mar 2014 09:53:22 PM UTC, comment #3:

somewhat related.

1) click on "connect" when the server's not there and the client freezes until timeout.

2) I managed somehow (due to another bug) to have default_metaserver empty in rc file. On the command line, I get
1: Invalid $http_proxy or metaserver value, must start with 'http://'
an the metaserver tab remains empty

3) the analogue error message for (2) in the gtk2 window is hard to grap, as for all errors only floating-by in the window bottom.

4) vertical space is badly used to show the player list if aifill>5 - on bigger screens.

5) for the debian bug: isn't this what -s option is for? If you use another host all the time, a one liner will do. I use a starter in the panel with other options.


Tue 04 Mar 2014 05:59:39 PM UTC, comment #2:

1) Then the "Save Options on Exit" option does not work as intended because when I quit the game, freeciv forgets my last connection and uses localhost as default again.

Another option might be to add a checkbox to the server connection window and let the user decide to save server parameters or not.

Tue 04 Mar 2014 05:41:55 PM UTC, comment #1:

1) The server to connect is saved to client options. So if you have "Save Options on Exit" set (by default it is), it should always start with the server used last.
2) You can give it from commandline. For example I have different scripts for different kind of freeciv uses I have, each automatically connecting to related server.
2) Making "the default" server more arbitrary would mean things like "freeciv-gtk2 -a" behaving unexpected ways. One would assume it to always to connect to same server, not to server client happened to connect last.

So, one has to do more to convince me that this would be good and needed feature, or how to implement it a way that does not have any problems.

Marko Lindqvist <cazfi>
Project Administrator
Tue 04 Mar 2014 03:49:19 PM UTC, original submission:


I'm forwarding Debian bug https://bugs.debian.org/410558

"When starting up the civclient-gtk and pressing "Connecting to Network Game" it always wants to connect to localhost.

This is very disturbing if you have your server running somewhere else,it would be great if freeciv would remember where it connected last."

I think this is a feature request to remember the last server. At the moment freeciv remembers the last connection only as long as you stay within the game. But as soon as you quit the application and start it again, the default value is localhost again.



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup