Colonial Africa Scenario

Web version of freeciv at play.freeciv.org
cazfi
Elite
Posts: 1753
Joined: Tue Jan 29, 2013 6:54 pm

Re: German States 1871

Postby cazfi » Fri Feb 19, 2016 5:27 pm

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.

User avatar
XYZ
Elite
Posts: 369
Joined: Fri Jan 31, 2014 12:00 pm

German States 1871

Postby XYZ » Fri Feb 19, 2016 5:54 pm

Like this? Never done that before :D . Was recompressing it the right move?
Attachments
German States 1871 (1.4).rar
(30.92 KiB) Downloaded 94 times

User avatar
AndreasR
Elite
Posts: 701
Joined: Thu May 02, 2013 10:26 pm
Location: Norway

Re: German States 1871

Postby AndreasR » Fri Feb 19, 2016 8:31 pm

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: 1753
Joined: Tue Jan 29, 2013 6:54 pm

Re: German States 1871

Postby cazfi » Fri Feb 19, 2016 9:31 pm

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: 1753
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Postby cazfi » Fri Feb 19, 2016 9:57 pm

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?

User avatar
XYZ
Elite
Posts: 369
Joined: Fri Jan 31, 2014 12:00 pm

Re: Colonial Africa Scenario

Postby XYZ » Fri Feb 19, 2016 11:10 pm

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: 1753
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Postby cazfi » Sun Feb 21, 2016 11:14 pm

License information? GPLv2+, like most modpacks? ('+' denoting "or any later version - as chosen by the licensee")

User avatar
XYZ
Elite
Posts: 369
Joined: Fri Jan 31, 2014 12:00 pm

German States 1871

Postby XYZ » Mon Feb 22, 2016 6:16 pm

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 560 times

cazfi
Elite
Posts: 1753
Joined: Tue Jan 29, 2013 6:54 pm

Re: Colonial Africa Scenario

Postby cazfi » Tue Feb 23, 2016 9:56 am

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.

User avatar
XYZ
Elite
Posts: 369
Joined: Fri Jan 31, 2014 12:00 pm

Re: Colonial Africa Scenario

Postby XYZ » Tue Feb 23, 2016 3:00 pm

Perfect, thank you for the help!