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 04 May 2013 10:19:28 AM UTC  
 
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.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 12 May 2013 04:28:33 AM UTC, 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 12 May 2013 04:28:26 AM UTC, 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 12 May 2013 04:28:19 AM UTC, 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 12 May 2013 04:28:10 AM UTC, 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 04 May 2013 10:19:28 AM UTC, 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.

     

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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 12 May 2013 04:28:47 AM UTCcazfiStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 04 May 2013 04:32:44 PM UTCcazfiStatusNone=>Ready For Test
      Assigned toNone=>cazfi
      Planned Release=>2.3.5, 2.4.0, 2.5.0, 2.6.0
    Sat 04 May 2013 10:19:28 AM UTCpersiaAttached 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