bugBattle for Wesnoth - Bugs: bug #18679, [ai] blocks are ignored

 
 
Show feedback again

bug #18679: [ai] blocks are ignored

Submitted by:  Dan Gerhards <beetlenaut>
Submitted on:  Sat 17 Sep 2011 11:02:33 PM UTC  
 
Category: BugSeverity: 4 - Important
Priority: 5 - NormalItem Group: WML
Status: ConfirmedPrivacy: Public
Assigned to: Iurii Chernyi <crab>Open/Closed: Open
Release: 1.9.9Operating System: Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 26 Oct 2011 02:51:48 PM UTC, comment #3:

Reproduced with both test cases.
My former setup seems to be somehow flawed in that the areas to avoid overlap...

Anonymissimus <anonymissimus>
Project Member
Wed 26 Oct 2011 03:28:42 AM UTC, comment #2:

Hmm. It still doesn't work for me in r51650. Could you replace the original cfg (in AToTB) with the attached file, and see what happens? When I play, the ai units, which should be restricted to the castle march right for the player unless you remove the second [avoid].

(file #14263)

Dan Gerhards <beetlenaut>
Project Member
Tue 25 Oct 2011 06:34:12 PM UTC, comment #1:

Crab, I guess you don't mind; I can't reproduce this in r51637. I used a side definition like so
The difference in ai behavior was obvious (grabbing a village in the affected column/not grabbing it).
Marking works for me.
It also worked with ai_algorithm=

Anonymissimus <anonymissimus>
Project Member
Sat 17 Sep 2011 11:02:33 PM UTC, original submission:

If there is more than one [ai] block in a side tag, all of them are ignored. (This is true at least with [avoid]. Most other ai keys and tags have less obvious effects, so it's hard to tell.)

Dan Gerhards <beetlenaut>
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 #14263:  01_Rooting_Out_a_Mage.cfg added by beetlenaut (13kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by anonymissimus (Posted a comment)
  • -unavailable- added by fendrin (Updated the item)
  • -unavailable- added by beetlenaut (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Oct 2011 02:51:48 PM UTCanonymissimusStatusWorks For Me=>Confirmed
    Wed 26 Oct 2011 03:28:42 AM UTCbeetlenautAttached File-=>Added 01_Rooting_Out_a_Mage.cfg, #14263
    Tue 25 Oct 2011 06:34:12 PM UTCanonymissimusStatusNone=>Works For Me
    Tue 25 Oct 2011 04:11:49 PM UTCfendrinAssigned toNone=>crab
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup