Page 1 of 1

Conversion from 2.5 to 2.6

Posted: Mon Nov 12, 2018 8:51 pm
by Wahazar
Because I'm converting my modpack from 2.5 to 2.6, I will have some questions, which I didn't found on http://freeciv.wikia.com/wiki/NEWS-2.6.0

1. IgWall flag disappeared - is it now defined in effects?

Re: Conversion from 2.5 to 2.6

Posted: Tue Nov 13, 2018 12:39 am
by cazfi

Re: Conversion from 2.5 to 2.6

Posted: Tue Nov 13, 2018 10:54 am
by Wahazar
Thank you, didn't know this page, very useful.

Re: Conversion from 2.5 to 2.6

Posted: Wed Nov 14, 2018 6:45 pm
by Wahazar
Seems that is a typo in documentation about survive flag, if great wonder may be obsoleted by given tech, there should be survive FALSE, not true?

Re: Conversion from 2.5 to 2.6

Posted: Tue Nov 20, 2018 12:40 pm
by nef
Maybe the word "survives" is a bit ambiguous. My (technical) understanding is that a distinction is being made between state and event. "survives" implies event (e.g. wonder had been built), absence implies (current) state (e.g. wonder exists and is still active). Perhaps, the use of these keywords (event/state) instead of true/false may make this more obvious.

When it comes to the page link with the example of techs with range "world" the distinction may be less obvious but think of "sometime in the past or present" versus "now only".

Re: Conversion from 2.5 to 2.6

Posted: Tue Dec 18, 2018 8:07 pm
by Wahazar
I have big troubles to bring my custom tileset to work with version 2.6 (this tileset is required for my ruleset due to large number of new units and buildings).
In version 2.5 all spec files were located in ruleset directory, I had special .tileset file which had read from these.

In version 2.6, no matter if I put appropriate files in application directory (freeciv/data/augmented2...) or home settings directory (.freeciv/2.6/augmented2...)
nothing appear.
I checked logs, and see

Code: Select all

Could not open 'data\augmented2.tilespec':
In secfile_from_input_file() [../../../../utility/registry_ini.c:407]: secfile 'data\augmented2.tilespec' in section 'tilespec': Expected entry name
  file "data\augmented2.tilespec", line 129, pos 0
  looking at: '  "augmented2/amplio_units/units.spec"
But these units exists. What can be wrong?

Re: Conversion from 2.5 to 2.6

Posted: Tue Dec 18, 2018 9:03 pm
by cazfi
Wahazar wrote:

Code: Select all

Could not open 'data\augmented2.tilespec':
In secfile_from_input_file() [../../../../utility/registry_ini.c:407]: secfile 'data\augmented2.tilespec' in section 'tilespec': Expected entry name
  file "data\augmented2.tilespec", line 129, pos 0
  looking at: '  "augmented2/amplio_units/units.spec"
But these units exists. What can be wrong?
There's syntax error at augmented2.tilespec line 129. It's expecting an entry name, but instead there reads "augmented2/amplio_units/units.spec".

Maybe you are missing comma from the end of line 128, so the entry 'files' ends there (and it's expecting a new entry after it).

Re: Conversion from 2.5 to 2.6

Posted: Tue Dec 18, 2018 10:03 pm
by Wahazar
cazfi wrote: Maybe you are missing comma from the end of line 128, so the entry 'files' ends there (and it's expecting a new entry after it).
Bingo! Thank you!