bugBattle for Wesnoth - Bugs: bug #16107, [modify_side][ai]ai_algorithm=...

Show feedback again

bug #16107: [modify_side][ai]ai_algorithm= doesn't work

Submitted by:  Anonymissimus <anonymissimus>
Submitted on:  Thu 03 Jun 2010 01:02:25 AM UTC  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Artificial Intelligence
Status: NonePrivacy: Public
Assigned to: Iurii Chernyi <crab>Open/Closed: Open
Release: 1.8.0Operating System: win xp

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Wed 03 Aug 2016 01:24:33 PM UTC, comment #5:

Also note that [modify_side]switch_ai can already be used to achieve this behaviour, though it needs the path to the AI definition file (under data/ai/ais/ for default AI and data/ai/dev/ for idle AI) rather than the AI ID and is thus not as neat.

Celtic Minstrel <celticminstrel>
Project Member
Sun 17 Jul 2016 07:45:53 PM UTC, comment #4:

(The preceding comment applies to current master.)

Celtic Minstrel <celticminstrel>
Project Member
Sun 17 Jul 2016 07:45:20 PM UTC, comment #3:

There have been significant changes in this area recently, though I believe it has not fixed this bug yet. I'm posting mainly because the test code given below would need to be tweaked a little - to switch back to the default AI, you would need ai_algorithm=ai_default_rca rather than default_ai.

Celtic Minstrel <celticminstrel>
Project Member
Wed 04 Jan 2012 05:33:31 PM UTC, comment #2:


Anonymissimus <anonymissimus>
Project Member
Wed 14 Dec 2011 12:57:24 AM UTC, comment #1:

Still reproduces in trunk r52270.

Anonymissimus <anonymissimus>
Project Member
Thu 03 Jun 2010 01:02:25 AM UTC, original submission:

Changing default to idle_ai or vice versa has no effect. Both work when used in [side][ai], though. I think it was already present in 1.6. Not that big a problem though, since seemingly the same effect can be achieved with [modify_side]controller=null/ai which works.


Anonymissimus <anonymissimus>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by celticminstrel (Posted a comment)
  • -unavailable- added by silene (Updated the item)
  • -unavailable- added by anonymissimus (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



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Jun 2010 05:54:30 AM UTCsileneAssigned toNone=>crab
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup