home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Game Guide / AmigaGameGuide_CD.iso / Amiga / PD-Games / Freeciv / README.org < prev    next >
Encoding:
Text File  |  1978-01-01  |  15.2 KB  |  472 lines

  1.                            =========================
  2.                            Freeciv 1.9 documentation
  3.                            =========================
  4.  
  5. Welcome to Freeciv!
  6.  
  7. This archive contains Freeciv version 1.9, a free Civilization clone
  8. for X, primarily under Unix.  It has support for multiplayer games
  9. locally or over a network, and an AI which gives most people a run for
  10. their money.
  11.  
  12. Freeciv aims to be mostly rule-compatible with Civilization II[tm],
  13. published by Sid Meier and Microprose[tm].  A few rules are different
  14. where we think it makes more sense, and we have lots and lots of
  15. adjustable parameters to make customizing games possible.
  16.  
  17. Freeciv has been implemented completely independently of Civilization;
  18. you do not need to own Civilization to play Freeciv.
  19.  
  20. Although the graphics are not as polished as those in Civilization II,
  21. the rules are very complete, and our multiplayer and networking code is
  22. excellent.
  23.  
  24. Web site:
  25. =========
  26.  
  27. Freeciv's web site is here:
  28.  
  29.   http://www.freeciv.org/
  30.  
  31. We invite you to visit.  You can get the latest Freeciv news, releases
  32. and patches, find out about the Freeciv mailing lists, and see the
  33. Freeciv metaserver, which records games being played around the world.
  34.  
  35.  
  36. License:
  37. ========
  38.  
  39. Freeciv is released under the GNU General Public Licence.  In short, 
  40. you may copy this program (including source) freely, but see the 
  41. COPYING file for full details.
  42.  
  43.  
  44. Compiling and installing:
  45. =========================
  46.  
  47. Please read the INSTALL file carefully for instructions on how to get
  48. Freeciv compiled and installed on your machine.
  49.  
  50.  
  51. Starting a new game:
  52. ===================
  53.  
  54. Freeciv is actually two programs, a server and a client.  When a game
  55. is in progress, there will be one server program running, and as many
  56. client programs as there are human players.  The server does not need
  57. X, but the clients do.
  58.  
  59.     NOTE:
  60.  
  61.     The following examples assume that Freeciv has been installed on
  62.     your system, and that the directory containing the "civclient" and
  63.     "civserver" programs is in your PATH.  If Freeciv is not
  64.     installed, then you may want to use the "civ" and "ser" programs,
  65.     which can be found in the top Freeciv directory.  They are used
  66.     in exactly the same fashion as "civclient" and "civserver".
  67.  
  68. Running Freeciv involves starting the server, then the client(s)
  69. and AI(s), then telling the server to start the game.  Here are the
  70. steps:
  71.  
  72. Server:
  73.  
  74.   To start the server:
  75.  
  76.   |  % civserver
  77.  
  78.   Or for a list of command-line options:
  79.  
  80.   |  % civserver --help
  81.  
  82.   Once the server is started, a prompt will appear:
  83.  
  84.   |  For introductory help, type 'help'.
  85.   |  >
  86.  
  87.   and, you can see this information by using the help command:
  88.  
  89.   |  > help
  90.   |  Welcome - this is the introductory help text for the Freeciv server.
  91.   |
  92.   |  Two important server concepts are Commands and Options.
  93.   |  Commands, such as 'help', are used to interact with the server.
  94.   |  Some commands take one or more parameters, separated by spaces.
  95.   |  In many cases commands and command arguments may be abbreviated.
  96.   |  Options are settings which control the server as it is running.
  97.   |
  98.   |  To find out how to get more information about commands and options,
  99.   |  use 'help help'.
  100.   |
  101.   |  For the impatient, the main commands to get going are:
  102.   |    show   -  to see current options
  103.   |    set    -  to set options
  104.   |    start  -  to start the game once players have connected
  105.   |    save   -  to save the current game
  106.   |    quit   -  to exit
  107.   |  >
  108.  
  109.   If you like, you can use the 'set' command to set any of the various
  110.   server options for the game.  You can get a list of the options
  111.   with the 'show' command, and detailed descriptions of each with the
  112.   'help <option-name>' command.
  113.  
  114.   For example:
  115.  
  116.   |  > help xsize
  117.   |  Option: xsize  -  Map width in squares
  118.   |  Status: changeable
  119.   |  Value: 80, Minimum: 40, Default: 80, Maximum: 200
  120.  
  121.   And:
  122.  
  123.   |  > set xsize 100
  124.   |  > set ysize 80
  125.  
  126.   This will make the map twice as large as the default of 80x50.
  127.  
  128. Client:
  129.  
  130.   Now all the human players should join, by running the Freeciv
  131.   client:
  132.  
  133.   |  % civclient
  134.  
  135.   This assumes the server is running on the same machine.  If not, you
  136.   can either specify it on the command use with the '--server' option,
  137.   or enter it into the first dialog box once the client starts.
  138.  
  139.   For example, suppose the server is running on a different machine
  140.   called 'neptune'.  Then players would join with a command like:
  141.  
  142.   |  % civclient --server neptune
  143.  
  144.   If you're the only human player, then only one client needs to be
  145.   started.  In standard Unix fashion you can start the client
  146.   "in the background" by appending an ampersand:
  147.  
  148.   |  % civclient &
  149.  
  150.   Another option for the client you may like to try is the '--tiles'
  151.   option, which can be used to select different "tilesets" (that is,
  152.   different graphics for the map terrain, units, and so on).  The
  153.   distribution comes with two tilesets, called "trident" and "engels".
  154.   In this release the trident tileset is the default (in some previous
  155.   releases the engels tileset was the default).  The two tilesets have
  156.   quite different graphic style, so you may find you prefer one over
  157.   the other.  The trident tiles are smaller, so may be better if you
  158.   have a small display.  But try them both and decide for yourself --
  159.   to use the engels tileset start the client with:
  160.  
  161.   |  % civclient --tiles engels
  162.  
  163.   Other tilesets may be available from the ftp site.  
  164.  
  165.   Clients can be authorized to issue server commands.  To allow them
  166.   to use informational commands only, type at the server prompt
  167.  
  168.   |  > cmdlevel info
  169.  
  170.   Clients can now use '/help', '/list', '/show settlers', etc.
  171.  
  172. Computer Players:
  173.  
  174.   There are two ways to create AI players.  The first is to set 
  175.   the number of players (human and AI) by setting the 'aifill'
  176.   server option.  For example:
  177.  
  178.   |  > set aifill 7
  179.  
  180.   After using the 'start' server command to start the game, any players 
  181.   which aren't controlled by humans will be AI players.  For the above, 
  182.   if two human players had joined, 5 AI players would be created.
  183.  
  184.   The second way is to explicitly create an AI with the 'create'
  185.   server command.  For example:
  186.  
  187.   |  > create HumanKiller
  188.  
  189.   This will create an AI-controlled player called HumanKiller.
  190.  
  191.   AI players are assigned to tribes after all human players have
  192.   chosen their tribes, but you can choose a particular tribe for an AI
  193.   player by using the normal name for that nation's leader.  For
  194.   example, to play against AI-controlled Romans, use this server
  195.   command:
  196.  
  197.   |  > create Caesar
  198.  
  199.   Note, this is just a preference:  If no other human player chooses
  200.   to play the Romans, then this AI will.
  201.  
  202. Server:
  203.  
  204.   When everybody has joined (use the "list" command to see who's in), 
  205.   start the game with the "start" command:
  206.  
  207.   |  > start
  208.  
  209.  
  210. And the game is on!
  211.  
  212.  
  213. Announcing the game:
  214. ====================
  215.  
  216. If you do not want to limit your opponents to local friends or AI players,
  217. visit the Freeciv metaserver:
  218.  
  219.   http://meta.freeciv.org/metaserver
  220.  
  221. It is a list of Freeciv servers.  To make your own server announce itself
  222. there, start civserver with the '--meta' option, or just '-m' for short.
  223.  
  224. Caveats:
  225.  
  226.  1) Due to the inclusion of new features, different client and server
  227.     versions are often incompatible.  Not all incompatibilities
  228.     can be caught and reported properly.  One example is a 1.8.0 (or
  229.     later) client connecting to a 1.7.2 server: the client appears
  230.     to connect, but it never gets any messages from the server.
  231.  
  232.  2) If the Metaserver button in the connection dialog doesn't work,
  233.     check if your ISP uses a mandatory WWW proxy and make civclient
  234.     use it through the $http_proxy environment variable.  For instance,
  235.     if the proxy is proxy.myisp.com port 8888, set $http_proxy
  236.     to http://proxy.myisp.com:8888/ before starting the client.
  237.  
  238.  3) Sometimes there are no games on the metaserver.  This may be
  239.     partly because the metaserver has changed hosts, and previous
  240.     Freeciv versions do not know about the new address.  Also, games
  241.     no longer show up on the metaserver by default, instead people
  242.     have to deliberately use '--meta'.  If you want to play a game on
  243.     the metaserver, are there are none there, try starting one
  244.     yourself!
  245.  
  246.  
  247. Playing the game:
  248. =================
  249.  
  250. The game may be saved the game at any time using the 'save' server command,
  251. like so:
  252.  
  253.   |  > save mygame
  254.  
  255. The Freeciv client works pretty much as you would expect from a
  256. multiplayer civilization game. That is, the players move at the same
  257. time.  There's a turn timeout value, which is by default set to 0
  258. seconds (no timeout).  The server operator can alter this value at 
  259. any time with the 'set' command.
  260.  
  261. Have a look at the online help system. All three mouse-buttons are
  262. used, and documented in the help.
  263.  
  264. Players can push the 'Return' key to announce the end of their turn,
  265. or just push the 'Turn done' button.
  266.  
  267. Use the 'Players' dialog to see who has announced their end of turn,
  268. and who you're waiting for.  (Hey feller, are you asleep or what?? ;).
  269.  
  270. Use the input line at the bottom of the window for broadcasting
  271. messages to other players.
  272.  
  273. You can send a message to an individual player (say, 'peter') like so:
  274.  
  275.   |  peter: move that armor away *NOW*!
  276.  
  277. The server is smart enough to perform "name completion", so if you had
  278. typed "pet:", it will pick find a player name that matches the part of
  279. the name you typed.
  280.  
  281. On newer servers (version 1.8.1 or later, or some development 1.8.0 
  282. versions) you can issue server commands from the client input line:
  283.  
  284.   |  /list
  285.   |  /set settlers 4
  286.   |  /save mygame.sav
  287.  
  288. The server operator will probably let you issue informational commands only.
  289. This is partly because allowing clients to use all server commands has
  290. security implications; consider if a player tried:
  291.  
  292.   |  /save /etc/passwd
  293.  
  294. Of course the server should not be running with superuser privileges in
  295. any case, to reduce this sort of risk.
  296.  
  297. If you're just starting, and would like to get an idea of a strategy,
  298. have a look in the Freeciv playing HOWTO, contained in the HOWTOPLAY
  299. file.
  300.  
  301. For lots more information about the client, the server, and the
  302. concepts and rules of the game, see the Freeciv manual, available
  303. at the web pages at:
  304.  
  305.    http://www.freeciv.org/manual/main.html
  306.  
  307.  
  308. Ending the game:
  309. ================
  310.  
  311. There are three ways in which a game can end:
  312.  
  313. 1) Only one race is left.
  314. 2) The final year is reached.
  315. 3) A player builds and launches a spaceship, which reaches Alpha
  316.    Centauri first.
  317.  
  318. A score-table will be shown in all cases.  Hint: The server operator 
  319. can set the final year while the game is still going by changing the
  320. 'end-year' option.  This is nice when the winner is obvious, but you
  321. don't want to play through the boring 'cleanup phase'.
  322.  
  323. Restoring games:
  324. ================
  325.  
  326. You can restore a saved game by using the '-f' server option, eg:
  327.  
  328.   |  % civserver -f oursave2001.sav
  329.  
  330. Now the players can rejoin the game:
  331.  
  332.   |  % civclient -n Alexander
  333.   
  334. Notice how the player-name is specified with the -n option. It's vital
  335. that the player uses the same name as they had when the game was running,
  336. if they're to be allowed in.
  337.  
  338. The game may then be restarted with the 'start' command as usual.
  339.  
  340.  
  341. Server autostart:
  342. =================
  343.  
  344. When the maximum number of players have connected, the server auto-starts.
  345. The maximum number of players can be set with the 'maxplayers' option.
  346.  
  347.  
  348. Native Language Support
  349. =======================
  350.  
  351. Freeciv supports several local languages.
  352.  
  353. You may choose which local language to use by specifying a "locale".
  354. Each locale has a standard name (e.g., 'de' for German).  If you have
  355. installed Freeciv, you may choose a locale by setting the environment
  356. variable LANG to that locale's standard name before running civserver
  357. and civclient.
  358.  
  359. For example, assuming you wish to use the German localization, you
  360. would do:
  361.  
  362.   export LANG; LANG=de   (in the Bourne shell (sh)),
  363. or
  364.   setenv LANG de         (in the C shell (csh)).
  365.  
  366. (You could do this in your .profile or .login file.)
  367.  
  368.  
  369. Log messages:
  370. =============
  371.  
  372. Both the client and server print messages known as "log messages".
  373. There are four categories of log messages: "fatal", "normal", "verbose",
  374. and "debug".  
  375.  
  376. By default, fatal and normal messages are printed to standard output
  377. where the client or server was started.  You can direct log messages
  378. to a file instead of the screen with the "--log filename", or "-l
  379. filename" command line options.
  380.  
  381. You can change the level of log messages displayed with "--debug 
  382. level" or "-d level" (or instead "-de level" for the Xaw client, since
  383. "-d" is ambiguous between "-debug" and "-display"), where "level" is 
  384. 0, 1, or 2.  0 means show fatal messages only, 1 means show fatal and 
  385. normal messages (the default), and 2 means show all fatal, normal, and 
  386. verbose messages.
  387.  
  388. If you compiled with DEBUG defined (an easy way to do this is to 
  389. configure with --enable-debug), then you can get debug level messages 
  390. by setting the level to 3.  Also, it is possible to control debug 
  391. level messages (but not other messages) on a per-file and per-line 
  392. basis.  To do this use "--debug 3:str1:str2" (as many strings as you 
  393. like, separated by colons) and any filenames which match those strings 
  394. as a substring will have debug log messages turned on, and all other 
  395. debug messages will be suppressed.  To control lines, use:
  396. "--debug 3:str1,min,max" and for files which match str1 only debug
  397. messages within the specified minimum and maximum lines will be 
  398. printed.  Only one set of (min,max) can be applied to each file.
  399.  
  400. Example:
  401.  
  402.   |  % civserver -l my.log -d 2
  403.  
  404. This sends all server log messages to file "my.log", including verbose
  405. level messages.
  406.  
  407. Example:
  408.  
  409.   |  % civclient --debug 0
  410.  
  411. This suppresses all non-fatal client log messages.
  412.  
  413. Example:
  414.  
  415.   |  % civserver -d 3:log:civserver,120,500:autoattack
  416.  
  417. This turns on all fatal, normal and verbose messages for the server, 
  418. and debug level messages for some specified modules.  Note that "log"
  419. will match "gamelog.c" as well as "log.c".  For "civserver.c", only
  420. debug messages between lines 120 and 500 will be printed.  This 
  421. example only works if the server was compiled with DEBUG.
  422.  
  423.  
  424. Bugs:
  425. =====
  426.  
  427. Found a bug?  We really want to hear from you so we can fix it.
  428. See the file BUGS, for a list of known bugs in this release, and 
  429. information about reporting new bugs.
  430.  
  431.  
  432. Mailing lists:
  433. ==============
  434.  
  435. We maintain three mailing lists.  One is for users of Freeciv,
  436. one is for developers of Freeciv, and the last is to notify developers
  437. of changes to the Freeciv source code.
  438.  
  439. The lists are called "freeciv", "freeciv-dev", and "freeciv-cvs".
  440. They are all public lists.
  441.  
  442. To send an email to the lists, address it to:
  443.  
  444.     <freeciv@freeciv.org>        (For Freeciv users)
  445.  
  446. or
  447.  
  448.     <freeciv-dev@freeciv.org>    (For bug reports, and for Freeciv developers)
  449.  
  450. To subscribe, send mail to <listar@freeciv.org>, with the single word
  451. "subscribe", followed by the name of the list.  (Put this in the body
  452. of the email message, leaving the email subject line blank.)
  453.  
  454. Example: To subscribe to the "freeciv" mailing list, send the line
  455. "subscribe freeciv" to <listar@freeciv.org>.
  456.  
  457.  
  458. New Releases:
  459. =============
  460.  
  461. We make a major new release of Freeciv available about every three
  462. months.  Check the Freeciv website from time to time to see if there's
  463. a newer version!!
  464.  
  465.  
  466. And finally:
  467. ============
  468.  
  469. Have fun and give 'em hell!
  470.  
  471.                                    -- The Freeciv team.
  472.