Search found 1175 matches

by mattsc
December 18th, 2020, 4:10 pm
Forum: Users’ Forum
Topic: Wounded and Running Away
Replies: 10
Views: 572

Re: Wounded and Running Away

First, sorry for taking so long to reply, I've been away for quite some time. I'm still not fully back and don't know when, or even if, that is going to happen, so any non-trivial progress might be slow. Second, just for the record, you can still use the 1.14 AI in MP (in the computer player selecti...
by mattsc
December 3rd, 2020, 1:40 am
Forum: A Tale of Two Brothers
Topic: Scenario 2: The Chase
Replies: 56
Views: 29831

Re: Scenario 2: The Chase

Lord-Knightmare wrote: November 26th, 2020, 11:36 am 7. Fix the Lua Error I reported.
This is now fixed in bf3cdeb1. Thanks for reporting.
by mattsc
November 13th, 2020, 11:31 pm
Forum: Scenario & Campaign Development
Topic: Marbus’s Escape
Replies: 24
Views: 1476

Re: Marbus’s Escape

Konrad2 is very polite in not mentioning who his anonymous helper is, so I'll own up to it. You can direct the blame my way. ;-) I have in the meantime checked out the situation and can confirm that the retreating candidate action is most likely what causes this behavior in 1.15. So removing the CA ...
by mattsc
November 13th, 2020, 10:48 pm
Forum: Release Announcements, Compiling & Installation
Topic: Wesnoth 1.15.6
Replies: 10
Views: 2164

Re: Wesnoth 1.15.6

That should be possible to do, since it'd essentially mean the AI should highly prioritize units that are about to level up rather than avoid them, but I'd need to ask mattsc to know for sure. Units about to level up are already prioritized by the high_xp_attack candidate action. We need to find ou...
by mattsc
October 18th, 2020, 3:46 pm
Forum: WML Workshop
Topic: Making the AI faster
Replies: 8
Views: 324

Re: Making the AI faster

If the Fast MAI is enabled, you should see the following in the AI Component Structure inspect dialog for the side (scroll down to the bottom). Note the three candidate actions starting with "mai_fast_".
by mattsc
October 2nd, 2020, 11:10 pm
Forum: Technical Support
Topic: spammed with error messages
Replies: 9
Views: 1290

Re: spammed with error messages

Really quick update: Pentarctagon did the bisecting, and gfgtdf fixed the bug in this commit. The error was only triggered when it was an AI side attacking another AI side and when the unit leveling up was the defender, that's why it was hard to track down.
by mattsc
September 28th, 2020, 11:45 pm
Forum: Technical Support
Topic: spammed with error messages
Replies: 9
Views: 1290

Re: spammed with error messages

Hi vghetto, Thank you for putting that demo together, that's been very helpful! I may open a github issue for it later. For now, I'm still looking into what might be going on myself. So far I can tell that the problem appears to have been introduced somewhere between the 1.15.2 and 1.15.3 releases. ...
by mattsc
September 27th, 2020, 9:16 pm
Forum: Technical Support
Topic: spammed with error messages
Replies: 9
Views: 1290

Re: spammed with error messages

Hi vghetto. Thanks for the save. I can reproduce the error now and have started looking into it, but I do not understand what is going on. The error happens at the end of attacks on units that are 1 XP from advancing, but the attack (and the advancing afterward) seems to execute just fine. Strangely...
by mattsc
September 27th, 2020, 4:44 pm
Forum: Technical Support
Topic: spammed with error messages
Replies: 9
Views: 1290

Re: spammed with error messages

On the Micro AI error, somebody reported the same thing to me a few weeks ago via PM. Unfortunately, without a way to reproduce it, I cannot tell what causes this. As in, I know what the error is complaining about, but I don't know why this is happening. Do you have a save, or another way for me to ...
by mattsc
July 8th, 2020, 3:23 am
Forum: Scenario & Campaign Development
Topic: Sepulchre of Elran SP scenario for Wesnoth 1.15.x and later
Replies: 17
Views: 5233

Re: Sepulchre of Elran SP scenario for Wesnoth 1.13.5 and later

There's a bug with this scenario, running on Wesnoth 1.15.3; see attached screenshot. This was actually a mainline bug in new code that keeps AI units from marching in single file. It is fixed now . As this is a change in Lua code, you could just apply the fix to your copy of 1.15.3, no compiling r...
by mattsc
June 20th, 2020, 11:39 pm
Forum: WML Workshop
Topic: duplicate ai goals
Replies: 6
Views: 1131

Re: duplicate ai goals

Just noting that vghetto reported this in Issue #4887 (thanks!) and that it is fixed now.
by mattsc
June 9th, 2020, 2:25 am
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1485

Re: Questions about AI healer_support, zone_guardian and Retreat CA

It's always hard to understand somebody else's code, esp. if it's dealing with something that one is not very familiar with (which you might or might not be, I don't know). Let me know if there is something specific you would still like to do or change, and I am sure we can work it out together. On ...
by mattsc
June 7th, 2020, 6:39 pm
Forum: WML Workshop
Topic: guardians test micro_ai
Replies: 2
Views: 658

Re: guardians test micro_ai

For the record, this is now fixed in both 1.14 (as of 1.14.12) and 1.15 (will be in 1.15.4), see Issue #4890. Thanks, vghetto, both for finding this and for opening the issue.
by mattsc
June 7th, 2020, 3:20 pm
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1485

Re: Questions about AI healer_support, zone_guardian and Retreat CA

It looks like you figured out the issue yourself again. :-) (I didn't see that until after I looked into the demo you first posted.) Indeed, the reason why the healers don't go for those injured units is because, in the original version you posted, they have MP left. That's done so that the rest of ...
by mattsc
June 6th, 2020, 6:40 pm
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1485

Re: Questions about AI healer_support, zone_guardian and Retreat CA

Hey vghetto, Very nice, adjusting the Micro AIs to your needs! That's really how we meant it back in the day. We set up a variety of "default" behaviors, but it is impossible to predict every possible use, so modifying them to your use case might sometimes be the best way forward. Sorry fo...