Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9173) rulesets and connection dialog
Home

[Freeciv-Dev] (PR#9173) rulesets and connection dialog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9173) rulesets and connection dialog
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 3 Jul 2004 12:22:38 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9173 >

I just discovered that the connection dialog does not allow one to choose
another ruleset. This is bad, but it is also not easy to fix.

Rulesets generally require a .serv file to be read to set up everything
correctly, so it is not just a matter of adding a rulesetdir string field.
Actually, I think the only way to do it properly is to have the server
send a list of available rulesets to the client, and add a new page to the
"New game..." option before the page where you choose the number of AIs
and can set properties, where you can choose which ruleset you want to
use. Then the server reads the ruleset's .serv file and sends the results
to the client.

It is an open question how the server is going to figure out which
rulesets exist. I think we should move the .serv file into the ruleset
directory, and then check each directory in the data dir for a
"ruleset.serv" file - if it has one then it is a ruleset.

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9173) rulesets and connection dialog, Per Inge Mathisen <=