URL: <http://gna.org/bugs/?19554>
Summary: Respawning barbarian nation with just one leader crashes server Project: Freeciv Submitted by: cazfi Submitted on: Fri 16 Mar 2012 12:41:35 AM EET Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: If ruleset defines just one possible leader for barbarian (land or sea) nation, respawning that nation after their death crashes server. At the time server selects leader for respawned nation, it sees old leader as player in game - already taken name. This leaves only NULL for pick_player_name() to return. I have patch for this particular problem in my testing machine (patch also tested against reproducible Alien World autogame), but that machine went down due to electricity problems, and I'm yet to recover it. There's more theoretical problems with other players taking all the leader names of some nation leading AI to pick NULL leader name if it randomly happens to select that nation. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?19554> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev