On 5 February 2016 at 02:55, Robert Finch <[email protected]> wrote:
> I managed to get freeciv rebuilt, but the server disconnects if I attempt to
> start a new game. I can load and start an existing game without trouble. Any
> hints as to what might be awry ? ( I modified the map generator very
> slightly). I could back the changes out and try it again, but it takes hours
> to build.

 Uh, I knew the build time is bad in Cygwin environment (and it's bad
also in msys - making Installer development slow process as each
iteration takes so long) but didn't realize that build, even if full
rebuild, can take hours. And I'm losing patience when ever build goes
over 90 sec.

 Makes you to avoid changes to widely included headers (causing
recompilation of all sources that include it) but as long as your
changes are to .c file, 'make' will recompile only that one source
file (+ then do the linking of anything that contains that object
file; libgenerator -> itself linked to libfreeciv-srv -> itself linked
to some executables).
 When developing map generator you could also configure your build to
create freeciv-server only, check './configure --help' for full list
of options, but something like '--disable-client --disable-fcmp
--disable-freeciv-manual --disable-ruledit' should help. To see those
maps in client you can use, as long as you are not changing the
network protocol, client from completely separate (but
network-compatible) build.

> I tried using the default settings, switching the ruleset to civ2, and a
> couple of other things.
>
> Is there a server log somewhere that could be viewed ? What would happen if
> a config file was bad ?

 I assume you are already running server separately and connecting
client only when needed, and not running server forked by the client.
That let's you see all the server output, at least.

 See supported server commandline parameters with './fcser --help'
(or, if you are running already installed one: 'freeciv-server
--help'). Parameters of interest there are:
 -d, --debug NUM       Set debug log level (0 to 4, or 4:file1,min,max:...)
 -l, --log FILE        Use FILE as logfile


 - ML

_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to