bugFreeciv - Bugs: bug #20785, AI fails to consider helicopters...

 
 
Show feedback again

bug #20785: AI fails to consider helicopters threatening to cities

Submitted by:  Emmet Hikory <persia>
Submitted on:  Sat May 4 10:19:28 2013  
 
Category: aiSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: Operating System: None
Planned Release: 2.3.5, 2.4.0, 2.5.0, 2.6.0Contains 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.

 

Sun May 12 04:28:33 2013, SVN revision 22854:

Consider all units that can take over a city occupying threat, instead
of just ground units.

Patch by Emmet Hikory

See bug #20785

(Browse SVN revision 22854)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun May 12 04:28:26 2013, SVN revision 22853:

Consider all units that can take over a city occupying threat, instead
of just ground units.

Patch by Emmet Hikory

See bug #20785

(Browse SVN revision 22853)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun May 12 04:28:19 2013, SVN revision 22852:

Consider all units that can take over a city occupying threat, instead
of just ground units.

Patch by Emmet Hikory

See bug #20785

(Browse SVN revision 22852)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun May 12 04:28:10 2013, SVN revision 22851:

Consider all units that can take over a city occupying threat, instead
of just ground units.

Patch by Emmet Hikory

See bug #20785

(Browse SVN revision 22851)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat May 4 10:19:28 2013, original submission:

The AI uses is_ground_unit() as a determinant in whether an enemy unit threatens a city, which means helicopters are not considered threatening, making helicopters perhaps unexpectedly powerful units. The effect is not seen in autogame testing, as the AI doesn't use helicopters. Patches attached.

This is an extraction from patch #3839.

Emmet Hikory <persia>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #17885:  can_occupy-is-threatening.patch added by persia (818B - application/octet-stream)
file #17886:  can_occupy-is-threatening.S2_4.patch added by persia (797B - application/octet-stream)
file #17887:  can_occupy-is-threatening.S2_3.patch added by persia (757B - application/octet-stream)
file #17888:  can_occupy-is-threatening.S2_5.patch added by persia (818B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by persia (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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun May 12 04:28:47 2013cazfiStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat May 4 16:32:44 2013cazfiStatusNone=>Ready For Test
      Assigned toNone=>cazfi
      Planned Release=>2.3.5, 2.4.0, 2.5.0, 2.6.0
    Sat May 4 10:19:28 2013persiaAttached File-=>Added can_occupy-is-threatening.patch, #17885
      Attached File-=>Added can_occupy-is-threatening.S2_4.patch, #17886
      Attached File-=>Added can_occupy-is-threatening.S2_3.patch, #17887
      Attached File-=>Added can_occupy-is-threatening.S2_5.patch, #17888
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup