Colonial Africa Scenario

Web version of freeciv. Please mention the site you're using, if speaking things other than general freeciv-web codebase.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: German States 1871

Post by cazfi »

XYZ wrote:I haven't been able to change the ruleset to "fcweb". I only get the message that the game has already started and that it's not possible anymore. How can I change it?
You wouldn't have that ruleset available on (desktop) freeciv even if it allowed to change ruleset of a running game. So I recommend keeping that change out of "master copy" of the scenario to keep it usable on freeciv, and only apply the change when ever porting the scenario to freeciv-web.

In practice you have to do that change manually, by editing (uncompressed) scenario file in text editor.
XYZ
Elite
Posts: 432
Joined: Fri Jan 31, 2014 12:00 pm

German States 1871

Post by XYZ »

Like this? Never done that before :D . Was recompressing it the right move?
Attachments
German States 1871 (1.4).rar
(30.92 KiB) Downloaded 281 times
AndreasR
Elite
Posts: 754
Joined: Thu May 02, 2013 10:26 pm

Re: German States 1871

Post by AndreasR »

XYZ wrote:Like this? Never done that before :D . Was recompressing it the right move?
I had prepared almost everything in order to include the scenario, however, Freeciv-web is currently unable to load the scenario: loading the scenario results in a Freeciv server segmentation fault.

Code: Select all

program received signal SIGSEGV, Segmentation fault.
0x0000000000566730 in style_of_nation ()
(gdb) bt

(gdb) bt
#0  0x0000000000566730 in style_of_nation ()
#1  0x000000000040ddd3 in player_nation_defaults ()
#2  0x000000000040ed2b in srv_ready ()
#3  0x000000000040f8b4 in srv_main ()
#4  0x0000000000406f74 in main ()
(gdb) bt full
I think this is because your scenario savegame is created for Freeciv 2.5, while Freeciv-web is based on the 2.6-development branch.
I'm not sure how to solve this, perhaps it will help to update your scenario to Freeciv from svn trunk?
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: German States 1871

Post by cazfi »

AndreasR wrote:Freeciv-web is based on the 2.6-development branch.
Nope, last time I check you were not using (relatively stable) S2_6 but TRUNK. Currently TRUNK is a development branch for 3.0 (next thing to branch from TRUNK will be S3_0)

Stable savegame format should load to newer versions. I'll check the scenario.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Post by cazfi »

bug #24435

btw. Would be it be ok if we made desktop freeciv version of the scenario available via the modpack installer, in the default modpack list shown when you launch the tool?
XYZ
Elite
Posts: 432
Joined: Fri Jan 31, 2014 12:00 pm

Re: Colonial Africa Scenario

Post by XYZ »

btw. Would be it be ok if we made desktop freeciv version of the scenario available via the modpack installer, in the default modpack list shown when you launch the tool?
Sure!
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Post by cazfi »

License information? GPLv2+, like most modpacks? ('+' denoting "or any later version - as chosen by the licensee")
XYZ
Elite
Posts: 432
Joined: Fri Jan 31, 2014 12:00 pm

German States 1871

Post by XYZ »

License information? GPLv2+, like most modpacks? ('+' denoting "or any later version - as chosen by the licensee")
What ever you think is best! I made some small final changes. Thanks!
Attachments
German States 1871 (1.5).sav.bz2
Little changes to names and palaces.
(37.13 KiB) Downloaded 1052 times
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Post by cazfi »

German States 1871 (version 1.5) is now available from modpack installer for freeciv-2.5.

- Having Rivers implemented using Lake terrains has a downside that the "Lake flooding" feature may kick in. In most rulesets, when terrain change makes saltwater tile to touch freshwater tile (the land tile between ocean and a lake gets turned to ocean tile), saltwater terrain floods the freshwater lake. I've added a ticket about new feature to freeciv-2.6 for scenarios to disabled this flooding functionality: patch #6994.

- Experimental AI difficulty is the same as Hard AI, except that developers can make it different for local experiments. In 2.6 the whole 'experimental' AI will be available in debug-enabled freeciv builds only.
XYZ
Elite
Posts: 432
Joined: Fri Jan 31, 2014 12:00 pm

Re: Colonial Africa Scenario

Post by XYZ »

Perfect, thank you for the help!
Post Reply