Search found 1703 matches

by Soliton
September 10th, 2026, 8:22 am
Forum: WML Workshop
Topic: regen with filter not working
Replies: 9
Views: 122

Re: regen with filter not working

To access a container you can try: wml_vars.__children['return_guardian'][0].__attributes['return_x']

I suggest to test these things interactively on the formula console (press f) in-game first. (i.e. my_leader.wml_vars will print a representation of wml_vars of the current side's leader)
by Soliton
July 3rd, 2026, 12:10 pm
Forum: Technical Support
Topic: wesnoth-1.16-tools question
Replies: 3
Views: 101

Re: wesnoth-1.16-tools question

wmllint runs on whatever files you tell it to. If you don't specify any path it will work on the current directory.
by Soliton
June 25th, 2026, 3:19 pm
Forum: Technical Support
Topic: wesnothd doesn't read custom config file
Replies: 6
Views: 131

Re: wesnothd doesn't read custom config file

Note that the attributes name and address do not exist.
by Soliton
May 21st, 2026, 4:47 pm
Forum: Technical Support
Topic: Can't log in to the game's official server?
Replies: 15
Views: 4155

Re: Can't log in to the game's official server?

I don't understand what exactly the problem is.

You create an account. You log into the multiplayer and it works. Then what? You save the password and at some point the saved password does not work anymore? And if you retype your password it does not work either?
by Soliton
May 21st, 2026, 4:39 pm
Forum: WML Workshop
Topic: 1.19.23 variation weirdness - is this me or a bug?
Replies: 6
Views: 230

Re: 1.19.23 variation weirdness - is this me or a bug?

It's not clear to me why you use [variation] at all. [female] is already a variation. The usual way is to have a unit type config that describes the male version and a [female] variation but you can just as well have a [male] variation. If your variation has nothing to do with gender you use ...
by Soliton
March 23rd, 2026, 2:51 pm
Forum: Technical Support
Topic: SLOW Performance Issues: post here to report
Replies: 282
Views: 398177

Re: SLOW Performance Issues: post here to report


Fairly new laptop. It's had graphics lags for basic things in the past, but nothing after fixing an overheating issue. It's running Xen, and I was compiling/running on a clean Debian 12 VM. Changing CPU/mem allocation and limiting to a single core didn't change anything, and little else was ...
by Soliton
March 23rd, 2026, 2:04 pm
Forum: Ideas
Topic: Web client for Wesnoth, like Freeciv.
Replies: 15
Views: 6399

Re: Web client for Wesnoth, like Freeciv.


Indeed, this solution is not efficient compared to compiling Wesnoth to wasm directly using tools like emscripten. However, the latter seems much more challenging.

I do find one website by an ai company that compiles Wesnoth to wasm. But I cannot find its source code, nor the web files.

They ...
by Soliton
March 21st, 2026, 8:46 pm
Forum: Technical Support
Topic: SLOW Performance Issues: post here to report
Replies: 282
Views: 398177

Re: SLOW Performance Issues: post here to report


Summary: slowness introduced in 1.19.6, tracked to 12fa8f28447e21e7522dba608034a08b984c05ac

To reproduce from attached save game: end turn 7. The AI will (long) pause before its next move, and (less long) between moves.

Description: seems to occur when there are many combat options for the AI to ...
by Soliton
March 2nd, 2026, 9:21 am
Forum: Technical Support
Topic: Cheat/Bug report
Replies: 6
Views: 207

Re: Cheat/Bug report

There is code in Afterlife Random, which was played here, that uncovers leaders so no ambush happened.

Similar code is in the original Afterlife: https://github.com/vgaming/afterlife/bl ... ua#L91-L93
by Soliton
February 19th, 2026, 4:49 pm
Forum: Technical Support
Topic: Chash em qualquer jogo
Replies: 5
Views: 123

Re: Chash em qualquer jogo

Avoid using sdl2-compat and use actual SDL2 instead. There are many reports of crashes with sdl2-compat (a wrapper around SDL3 that mimics SDL2).
by Soliton
February 18th, 2026, 10:34 am
Forum: WML Workshop
Topic: radius in abilities [SOLVED]
Replies: 4
Views: 116

Re: radius in abilities

Just to make sure you are using the development version? Ideally 1.19.20?
by Soliton
February 6th, 2026, 1:04 pm
Forum: Technical Support
Topic: How to creating on a server on a mac
Replies: 5
Views: 157

Re: How to creating on a server on a mac

The sand boxing issue is only on the mac app store version. Starting wesnothd works just fine otherwise.
by Soliton
January 27th, 2026, 8:33 pm
Forum: WML Workshop
Topic: Scrolling to [kill]animate[/kill] event.
Replies: 20
Views: 386

Re: Scrolling to [kill]animate[/kill] event.

You're supposed to give scenario files a .cfg extension. The current editor should not let you save scenario data as .map.
by Soliton
January 19th, 2026, 3:58 pm
Forum: Coder’s Corner
Topic: Performance patches
Replies: 3
Views: 198

Re: Performance patches

Without seeing more details who knows. I suggest starting with something simple and just open a PR.
by Soliton
December 18th, 2025, 9:50 pm
Forum: Technical Support
Topic: Dismissing a unit crashed the game
Replies: 8
Views: 232

Re: Dismissing a unit crashed the game

Not much point in a debug build when you have the exact line number of the "crash". Doesn't happen for me though so the question is how to trigger the assert.