Search found 1182 matches
- March 3rd, 2021, 1:43 am
- Forum: Technical Support
- Topic: Game crashes on launch (MacOS)
- Replies: 10
- Views: 782
Re: Game crashes on launch (MacOS)
No worries, I'm glad to hear that that worked. There are a whole bunch of reasons why this might have happened, and it's probably impossible to figure out after the fact. You may now also be able to leave fullscreen mode, resize the window, and then use it in windowed mode again (as long as it's not...
- March 3rd, 2021, 1:28 am
- Forum: Technical Support
- Topic: Game crashes on launch (MacOS)
- Replies: 10
- Views: 782
Re: Game crashes on launch (MacOS)
No, no editing. Just open a terminal (e.g. from Applications -> Utilities -> Terminal) and then enter those two commands.
I thought that's what you had done to get the log in the first place. Apologies if I misunderstood.
I thought that's what you had done to get the log in the first place. Apologies if I misunderstood.
- March 3rd, 2021, 12:22 am
- Forum: Technical Support
- Topic: Game crashes on launch (MacOS)
- Replies: 10
- Views: 782
Re: Game crashes on launch (MacOS)
One thing to try, given the error message, might be to start Wesnoth from the command line in full screen mode. For some reason Wesnoth seems to remember a window size for you that appears too small to open one of the dialogs. Repeat the same two steps you used to get the log, with a minor change (t...
- February 27th, 2021, 5:15 pm
- Forum: Users’ Forum
- Topic: Wounded and Running Away
- Replies: 11
- Views: 815
Re: Wounded and Running Away
I finally got around to dealing with this and have created a pull request with the suggested fixes to the retreating behavior. The default behavior is different and there are now two additional AI aspects with which the retreat behavior can be customized, retreat_factor and retreat_enemy_weight . Yo...
- February 6th, 2021, 10:17 pm
- Forum: Lua Labs
- Topic: Lua function not being accepted
- Replies: 4
- Views: 430
Re: Lua function not being accepted
In principle it should work in a prestart event, I think, but then it will be lost if you start from a not-start-of-scenario save.
- February 6th, 2021, 7:11 pm
- Forum: Lua Labs
- Topic: Lua function not being accepted
- Replies: 4
- Views: 430
Re: Lua function not being accepted
Where did you put the
[lua]
tag? In the Simple Attack MAI test scenario (which is where the code example on the wiki comes from) it's in a preload event.- February 6th, 2021, 5:49 pm
- Forum: Coder’s Corner
- Topic: External AI control
- Replies: 6
- Views: 2156
Re: External AI control
There are at least 3 ideas of how to connect with an external AI listed here. But which one is the easiest/best? Are these methods still viable? Will they work in future Wesnoth versions? All of these methods should still work, and continue to work with future versions. As for which one to use, tha...
- December 18th, 2020, 4:10 pm
- Forum: Users’ Forum
- Topic: Wounded and Running Away
- Replies: 11
- Views: 815
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...
- December 3rd, 2020, 1:40 am
- Forum: A Tale of Two Brothers
- Topic: Scenario 2: The Chase
- Replies: 56
- Views: 30690
Re: Scenario 2: The Chase
This is now fixed in bf3cdeb1. Thanks for reporting.
- November 13th, 2020, 11:31 pm
- Forum: Scenario & Campaign Development
- Topic: Marbus’s Escape
- Replies: 24
- Views: 1693
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 ...
- November 13th, 2020, 10:48 pm
- Forum: Release Announcements, Compiling & Installation
- Topic: Wesnoth 1.15.6
- Replies: 10
- Views: 2337
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...
- October 18th, 2020, 3:46 pm
- Forum: WML Workshop
- Topic: Making the AI faster
- Replies: 8
- Views: 373
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_".
- October 2nd, 2020, 11:10 pm
- Forum: Technical Support
- Topic: spammed with error messages
- Replies: 9
- Views: 1363
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.
- September 28th, 2020, 11:45 pm
- Forum: Technical Support
- Topic: spammed with error messages
- Replies: 9
- Views: 1363
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. ...
- September 27th, 2020, 9:16 pm
- Forum: Technical Support
- Topic: spammed with error messages
- Replies: 9
- Views: 1363
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...