Forums: Index > Creative Contents > Help!

I'm having a go at writing an interstellar modpack, which would enable you to play at a planetary level. However, although my tileset (a hacked version of amplio) and the rulesets will work with freeciv's map generator, this does not allow for nice generation of stars with planets and things in orbit. I have written a map generator in perl to do this, but, when I try to load it, it gives me several error messages from the server, as follows:

1: The server appears to have gotten into an infinite loop in the allocation of starting positions. Maybe the number of players is too high for this map. Please report this bug at civserver: mapgen.c:1252: map_fractal_generate: Assertion '0' failed. Aborted

The modpack and generator are available at [[1]]. --Sjl 19:47, 26 June 2008 (UTC)

I created a ticket for you in the Freeciv bug tracking system. You can log in as guest and add further comments. --Hima 23:27, 27 June 2008 (UTC)
The general start position placer in the generator code is not very good. Among other problems, it is assumes that any map it is run on resembles the output of freeciv's regular generators. My suggestion for you is to have your perl script also handle placing players' start positions. If you find that the savegame/map format and/or loading code does not support existing start positions (it probably should, given that scenarios exist), post a request on the bug tracker and I'll have a look at it sooner rather than later (since this needs to work for the editor anyway). --Mbook 01:52, 28 June 2008 (UTC)

Should the savegame at work? In reality, it doesn't if a client is started using my own 'starplio' tileset, but does if a client is started using amplio and then changed to starplio once the game has started. --Sjl 08:26, 28 June 2008 (UTC)

It has error that causes it to fallback to default ruleset. I propose you add "rulesetdir" to savefile options and replace all the entries with single 'rulesetdir = "interstellar"' -line. That way it worked here, and single rulesetdir is probably the only supported way to do this in future Freeciv versions. --Cazfi 23:15, 2 July 2008 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.