patchFreeciv - Patches: patch #4153, Make the default AI use the spy...

 
 
Show feedback again

patch #4153: Make the default AI use the spy action sabotage unit

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Fri 06 Sep 2013 12:19:43 PM UTC  
 
Category: aiPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Sveinung Kvilhaugsvik <sveinung>Open/Closed: Closed
Planned Release: 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.

 

(Jump to the original submission Jump to the original submission)

Sun 23 Mar 2014 02:05:26 PM UTC, SVN revision 24715:

AI: Use the spy action Sabotage Unit if Bribe Unit was impossible.

See patch #4153

(Browse SVN revision 24715)

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Wed 19 Mar 2014 11:48:57 PM UTC, comment #5:

An auto game finally payed off.

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Wed 26 Feb 2014 11:36:26 PM UTC, comment #4:

> It works under fake conditions
> Suddenly it worked with only rule set changes.

Because I put the test that declared it to work in the wrong place...

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Wed 26 Feb 2014 07:37:59 PM UTC, comment #3:

Suddenly it worked with only rule set changes. Guess my random numbers were lucky.

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Wed 26 Feb 2014 07:33:44 PM UTC, comment #2:

To be clear: It works under fake conditions (making the diplomat want 10 times larger in the AI code and changing the rule set). What I'm looking for is a way to test it without changing other C code than my patch does.

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Wed 26 Feb 2014 07:15:24 PM UTC, comment #1:

The attached patch makes the default AI used sabotage as a fall back if bribing fails.

I have had this since September. I have not posted it before since I have been unable to produce a situation where the AI use it. It is therefore still untested. Any ideas how I could test it?

(file #20199)

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Fri 06 Sep 2013 12:19:43 PM UTC, original submission:

when it don't want to / can't bribe.

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sveinung (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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Mar 2014 02:06:50 PM UTCsveinungStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Wed 19 Mar 2014 11:48:57 PM UTCsveinungStatusIn Progress=>Ready For Test
    Wed 26 Feb 2014 11:36:26 PM UTCsveinungStatusReady For Test=>In Progress
    Wed 26 Feb 2014 07:37:59 PM UTCsveinungStatusIn Progress=>Ready For Test
    Wed 26 Feb 2014 07:15:24 PM UTCsveinungAttached File-=>Added self_defence_sabotage.patch, #20199
      CategoryNone=>ai
      StatusNone=>In Progress
      Assigned toNone=>sveinung
      Planned Release=>2.6.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup