[Freeciv-Dev] [bug #20652] Homeless ai caravan crash

2013-04-01 Thread Marko Lindqvist
Update of bug #20652 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #20652] Homeless ai caravan crash

2013-03-30 Thread Marko Lindqvist
Update of bug #20652 (project freeciv):

  Status: In Progress => Ready For Test 

___

Follow-up Comment #3:

Attached pathc makes homeless caravans to seek new homecity before even
considering traderoutes. Caravan that is going to help in wonder building does
not need homecity, so looking for one would just waste its turns.

(file #17609, file #17610, file #17611)
___

Additional Item Attachment:

File name: CaravanHomecityGet.patch   Size:4 KB
File name: CaravanHomecityGet-S2_4.patch  Size:2 KB
File name: CaravanHomecityGet-S2_3.patch  Size:2 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #20652] Homeless ai caravan crash

2013-03-28 Thread Marko Lindqvist
Update of bug #20652 (project freeciv):

Category:None => ai 
  Status:None => In Progress
 Planned Release: => 2.3.5, 2.4.0, 2.5.0
 Summary: dai_caravan_can_trade_cities_diff_cont() crash =>
Homeless ai caravan crash

___

Follow-up Comment #2:

While this particular crash was in the code in TRUNK only, there's more places
where caravan without homecity crashes. I managed to setup crash in
caravan_find_best_destination() ->
caravan_find_best_destination_withtransit(src == NULL) which means that S2_4
at least is affected. Code has changed quite a much since S2_3 but I cannot
see how the old code could survive with homeless caravan. NULL gets stored to
caravan_result -structure and is happily used from there.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev