bugFreeciv - Bugs: bug #21148, map size selection buggy

Show feedback again

bug #21148: map size selection buggy

Submitted by:  None
Submitted on:  Wed Sep 18 16:26:47 2013  
Category: generalSeverity: 2 - Minor
Priority: 5 - NormalStatus: None
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 2.4.0
Operating System: GNU/LinuxPlanned Release: 
Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Sep 18 20:57:50 2013, comment #1:

Thank you for you bug report. I'm not familiar with the code generator but I hope I'll be able to help. (To the more experienced developers: please let us know if I said anything wrong)

> this is 1st time I report a bug, let me know if I am doing something wrong and how to do it right.

This is the first time I try to help someone that has filed a Freeciv bug report. If I sound angry, insulting or otherwise got the tone wrong blame my English and lack of experience in answering bug reports. Here is what I was able to find:

  • separate issues belong in separate bug reports. It may be hard to tell what is a different issue. A rule of thumb: If you feel like saying "Another problem is" you are probably dealing with another issue.
  • step by step instructions on how to reproduce an issue is often needed. Try to remember if you have saved settings and what they are. This leaves less room for the developers to misunderstand you. Example: Set "Map size definition" to "With and height", "Map with in tiles" to 700 and "Map height in tiles" to 700. Don't change anything else (like the number of players, the rule set etc). Press start.
  • Freeciv specific: If you set the game seed and map seed settings the randomness goes away. If you can reproduce an issue after having set those (and provide detailed instructions) it is a lot easier to reproduce the issue.
  • Freeciv specific: Look at the area where messages appear. Lines like 'set mapsize "XYSIZE"' is your settings as text. That is easier to understand than instructions on where to click etc.

> seemingly arbitrary number of around 130-200 tiles, sometimes it's higher then other times

Some background: The map is generated from a setting called map seed. I assume that map seed and game seed is set to 0 in your case. If that is true a different number will be used as map seed each time. When the map is created the generator will try to find a good place for each player to start. If it can't it will try again and then fail. This is why it is arbitrary if you get the message or not.

> Another problem is the isohex and hex option doesn't seem to work,

Do you mean that it don't change the graphics used to show it? As "something seems to be different" I suspect that is the case.

Sveinung Kvilhaugsvik <sveinung>
Project Member
Wed Sep 18 16:26:47 2013, original submission:

the map selection options are weird and buggy.

the selection method by tiles per player still has the same 1000 limit (126.000 tiles) as the previous release.

the total numbers of tiles has a smaller upper limit (2.048.000) then x*y tiles which allows up to 32768 for each axis giving a total of 1.073.741.824 maximum (theoretical) tiles.

only the x*y tiles seem to work for maps above some (seemingly arbitrary number of around 130-200 tiles, sometimes it's higher then other times) with total # of tiles; it says

"The server couldn't allocate starting positions.
Failed to create suitable map, retrying with another mapseed
The server couldn't allocate starting positions.
Cannot create suitable map with given settings.
Please report this message at http://gna.org/projects/freeciv/"

but at some point between 500*500 (25.000.000) and 700*700 the x*y map size selection also gives the same problem.

Seems like options that don't work shouldn't be given as option to begin with, otherwise users are at a loss at to what they can and can't do and leaves them having to try out things.

having said this, given this problem arises at very big map games it is not much important/priority but is a problem never the less.

Another problem is the isohex and hex option doesn't seem to work, it just chooses the isometric instead AFAI can tell, but something seems to be different, I didn't bother checking what that difference is.

P.S. this is 1st time I report a bug, let me know if I am doing something wrong and how to do it right.

P.P.S I wanted to post this as a comment in bug http://gna.org/bugs/index.php?21072 but there was no submit button (maybe I had to log in, but I have no account, and when registering firefox said the connection is not trusted, so too much hassle to post a comment)



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by sveinung (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup