bugFreeciv - Bugs: bug #20595, Errow while setting temperature...

 
 
Show feedback again

bug #20595: Errow while setting temperature below 14 with temperate map

Submitted by:  Hubert Kowalewski <hubkow>
Submitted on:  Wed 06 Mar 2013 03:29:56 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.3.2Operating System: GNU/Linux
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 14 May 2013 04:22:24 AM UTC, comment #7:

My problem is already solved. I figured to use lua, applied command:
<code>/lua cmd edit.climate_change(edit.NUCLEAR_WINTER,1000)</code>
(I have small map)

Which produced probably far better results than generator would have produced. It would be nice if there were third option, not temperate map or normal map, but temperate map with slight variations in it wetness and coldness values. Better yet if they were configurable.

Anonymous
Thu 09 May 2013 12:15:30 PM UTC, comment #6:

For the case of wanting to build harsh condition maps, exposing min_goodies_per_player from create_start_positions() as a configurable might provide some reduction in the frequency of this error. This won't really help with the too-cold problem, which runs into the rejection of all TT_NHOT tiles in is_valid_start_pos(). While it might be possible to have logic that analysed failure (perhaps changing some of the boolean values to return reason enumerators, with some heuristics to use these reasons to report why there aren't enough start positions), I believe this to be distinct from the case where one intentionally wants poorer start positions (where one just adjusts the minimum), and as such, probably deserves a separate ticket.

Emmet Hikory <persia>
Project Member
Thu 09 May 2013 11:45:05 AM UTC, comment #5:

Suggested solution:
Instead of searching for places with desirability of X, search for most desirable locations.

Another solution:
Reverse the system. Instead of finding suitable starting place, make one.

-------------------
Instead of telling user "You cant do that.", tell him "You shouldn't do that, because it'll cause X."

Anonymous
Thu 09 May 2013 09:36:37 AM UTC, comment #4:

There should be way to ignore "the server couldn't allocate starting positions.", or least enter editor mode and ask player to manually place starting points. Because player may be trying to create harsh conditions map.

Right now, it's impossible to do so with current system (well not impossible, you would have to manually change every tile of map, rebuilding entire map your-self).

Anonymous
Mon 01 Apr 2013 01:54:18 PM UTC, comment #3:

> "The requested map is too cold to allocate starting postions.
> Try setting the temperature to a value greater than 14."

Unfortunately, trying to anticipate all the ways in which generator settings could lead to failure to allocate starting positions would be rather difficult, especially trying to determine the threshold for individual settings -- the process is complex and I think any such advice is likely to be perturbed into unreliability.

I think at best we could give some sort of general hint to the user to review their map settings and try to make the world less uninhabitable (too cold, too hot, too wet, too small, too crowded etc).

Jacob Nevins <jtn>
Project Administrator
Thu 07 Mar 2013 10:00:23 AM UTC, comment #2:

Yes, such settings don't make much sense, when you come to think about it, but perhaps a more verbose error message would do in this case? Something like "The requested map is too cold to allocate starting postions. Try setting the temperature to a value greater than 14." This should make the game more "fool-proof" (well OK, more transparent for users ;) ).

Hubert Kowalewski <hubkow>
Thu 07 Mar 2013 07:06:02 AM UTC, comment #1:

This is definitely suboptimal behavior, but what exactly you would expect? Should it create suitable starting places despite you explicitly requesting that all map is too cold, or should it just use unsuitable locations as starting place?

Marko Lindqvist <cazfi>
Project Administrator
Wed 06 Mar 2013 03:29:56 PM UTC, original submission:

At the beginning of the game, when checking the option "All the map is temperate" and "Average temperature of the planet" to less than 14, the error message "The server couldn't allocate starting positions" pops up.

Hubert Kowalewski <hubkow>

 

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

Attach File(s):
   
   
Comment:
   

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 persia (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by hubkow (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup