URL:
  <http://gna.org/bugs/?16629>

                 Summary: Autogame recipe in doc/HACKING doesn't work
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Saturday 09/04/10 at 16:10
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

Following on from bug #16572:

In trunk/doc/HACKING, there's a recipe for setting up an autogame with a -r
script. (The S2_2 doc is known to be wrong, see bug #14061.)

However, on S2_2 and trunk at the moment, the game doesn't start when
following this recipe.

Here's my example autogame.serv script:


set gameseed 0
set mapseed 0
set savename=civgame
set timeout -1
set aifill 7
set saveturns 1
set minplayers 0
hard
create Caesar
start


Here's what I see with S2_2 r17761 (head is similar):


Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
This is the server for Freeciv version 2.2.2+
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading script file:
/home/jtn/src/freeciv/autogames/2010-09-04-15-09/2.2-svn/autogame.serv
Default AI skill level set to 'Hard'.
Can't add more players, not enough nations.
No players, game will not start.
2: Loading rulesets
2: Now accepting new client connections.

For introductory help, type 'help'.
>


(Settings are set, but game is not started.)

Seems to have come in with the fix for bug #16410. S2_2 @r17759 is fine:


Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
This is the server for Freeciv version 2.2.2+
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets
2: AI*1 has been added as Easy level AI-controlled player.
2: AI*2 has been added as Easy level AI-controlled player.
2: AI*3 has been added as Easy level AI-controlled player.
2: AI*4 has been added as Easy level AI-controlled player.
2: AI*5 has been added as Easy level AI-controlled player.
2: Loading script file:
/home/jtn/src/freeciv/autogames/2010-09-04-15-09/2.2-svn/autogame.serv
2: AI*6 has been added as Easy level AI-controlled player.
2: AI*7 has been added as Easy level AI-controlled player.
Player 'AI*1' now has AI skill level 'Hard'.
Player 'AI*2' now has AI skill level 'Hard'.
Player 'AI*3' now has AI skill level 'Hard'.
Player 'AI*4' now has AI skill level 'Hard'.
Player 'AI*5' now has AI skill level 'Hard'.
Player 'AI*6' now has AI skill level 'Hard'.
Player 'AI*7' now has AI skill level 'Hard'.
Default AI skill level set to 'Hard'.
Starting game.
[...]





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16629>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to