bugBos Wars - Bugs: bug #27081, in the AI: Engineers do not repair...

 
 

bug #27081: in the AI: Engineers do not repair a damaged cannon

Submitted by:  Michiel van der Wulp <mvw>
Submitted on:  Thu 23 Jul 2009 06:09:43 AM UTC  
 
Severity: 2 - MinorItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: François Beerten <feb>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 09 Nov 2010 07:04:23 PM UTC, comment #2:

I effectively reverted this in r9979, and engineers still repair big gun turrets. I believe this bug was invalid from the beginning.

Kalle Olavi Niemitalo <kon>
Project Member
Thu 23 Jul 2009 05:42:43 PM UTC, comment #1:

Fixed in subversion. Thank you for your help.

By the way, if you have interesting AI scripts, they are welcome too. :-)

François Beerten <feb>
Project AdministratorIn charge of this item.
Thu 23 Jul 2009 06:09:43 AM UTC, original submission:

When testing my own AI, I noticed that engineers do not automatically repair a damaged cannon, while they do repair other buildings.

Then I saw the DefineAiHelper function in the scripts/ai.lua code, where the cannon is missing (BTW: also the biggunturret is missing).

Hence the attached patch, that should solve this. Here is an excerpt:

{"repair", "unit-engineer",
"unit-msilo", "unit-aircraftfactory", "unit-magmapump", "unit-camp", "unit-apcs",
"unit-powerplant", "unit-hosp", "unit-vfac", "unit-vault", "unit-gturret",
+ "unit-biggunturret", "unit-cannon",
"unit-nukepowerplant", "unit-radar"},
--

Michiel van der Wulp <mvw>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #18457:  patch-repair-cannon.patch added by mvw (487B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kon (Posted a comment)
  • -unavailable- added by feb (Posted a comment)
  • -unavailable- added by mvw (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Jul 2009 05:42:43 PM UTCfebSeverity3 - Normal=>2 - Minor
      StatusNone=>Fixed
      Assigned toNone=>feb
      Open/ClosedOpen=>Closed
    Thu 23 Jul 2009 06:09:43 AM UTCmvwAttached File-=>Added patch-repair-cannon.patch, #18457

    Back to the top


    Powered by Savane 3.1-cleanup1