[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-23 Thread Matthias Pfafferodt
Update of bug #17031 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-21 Thread Matthias Pfafferodt
Update of bug #17031 (project freeciv): Status: Confirmed = Ready For Test Assigned to:None = syntron ___ Reply to this item at:

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-16 Thread pepeto
Follow-up Comment #6, bug #17031 (project freeciv): I have miss-understood what you said. However, I think the best way would be to allow the savegame to restore the previous settings. PS: I don't understand why xsize * yxisze must be = 1000.

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-16 Thread pepeto
Follow-up Comment #8, bug #17031 (project freeciv): I thought it was set to avoid maps of size 0. However, there is probably no reason to keep it. ___ Reply to this item at: http://gna.org/bugs/?17031

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-15 Thread Matthias Pfafferodt
Follow-up Comment #4, bug #17031 (project freeciv): I don't think that this is the problem for the map size. Starting a new game with the right options will result in a map size lower than the minimum. There is no need to load/save the map: set minp 0 Option: minplayers has been set to 0.

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-14 Thread pepeto
Follow-up Comment #3, bug #17031 (project freeciv): The reason is that it fails to restore the 'xsize' or 'ysize' because the combination of the both settings fail ('ysize' or 'xsize' was not set yet). It is close to bug #17032. ___

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-11 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #17031 (project freeciv): I think the reason is that the size of the map is to small, i.e. xsize * ysize MIN_MAP_SIZE * 1000. The attached patch fixes it by increasig i_size by 1 for such cases. (file #11182) ___

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-07 Thread Gediminas Liktaras
URL: http://gna.org/bugs/?17031 Summary: Small maps corrupt save files Project: Freeciv Submitted by: asplode Submitted on: Sunday 11/07/2010 at 14:15 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #17031] Small maps corrupt save files

2010-11-07 Thread pepeto
Update of bug #17031 (project freeciv): Status:None = Confirmed Planned Release: = 2.3.0 ___ Follow-up Comment #1: It is because it