Search found 1626 matches
- May 3rd, 2024, 3:47 pm
- Forum: Coder’s Corner
- Topic: all units parameters in JSON
- Replies: 2
- Views: 230
Re: all units parameters in JSON
You can also create JSON with wmlparser3: data/tools/wesnoth/wmlparser3.py --input data/core/units.cfg --wesnoth <path to wesnoth binary> --to-json Just have to specify the path to the wesnoth binary or preprocess in a previous step: wesnoth --preprocess data/core/units.cfg preprocess/ data/tools/we...
- April 26th, 2024, 9:48 am
- Forum: Technical Support
- Topic: [Bug] Prince of Wesnoth freezes
- Replies: 4
- Views: 345
Re: [Bug] Prince of Wesnoth freezes
Guessing from log output it's https://github.com/wesnoth/wesnoth/blob/71a6e465e05095b06ee2fa52f36e22cb1a8b8249/data/campaigns/Delfadors_Memoirs/utils/sides.cfg#L501-L579 which is run in a prestart event. Looks like that unstores a bunch of units, modifies them and puts them into the recall list. Pre...
- April 23rd, 2024, 8:22 pm
- Forum: Coder’s Corner
- Topic: Seeking tricky WML examples
- Replies: 15
- Views: 3958
Re: Seeking tricky WML examples
Expanding a macro inside a string (inside quotes) that contains itself quotes is specifically made an error. So it's not that the macro is expanded and the result is somehow invalid. You cannot get this error without a macro expansion. I would guess that was done to prevent confusion with quotes ins...
- April 19th, 2024, 6:23 pm
- Forum: Technical Support
- Topic: Add-on and game crashes when terrain has more than 4 digits
- Replies: 8
- Views: 803
Re: Add-on and game crashes when terrain has more than 4 digits
Ok, the trick is that you put the terrain behind the scenario define. I can reproduce it now. Same error but it's caught too late.
- April 18th, 2024, 7:45 am
- Forum: Technical Support
- Topic: Add-on and game crashes when terrain has more than 4 digits
- Replies: 8
- Views: 803
Re: Add-on and game crashes when terrain has more than 4 digits
After tracking down a couple deprecated terrain graphics files to include I'm back to getting a GUI error for a terrain with more than 4 characters.
Please provide a complete test case.
Please provide a complete test case.
- April 18th, 2024, 6:03 am
- Forum: WML Workshop
- Topic: [solved] result of conditional with invalid qualifier
- Replies: 4
- Views: 352
Re: result of conditional with invalid qualifier
This is more like the opposite of user friendliness. There are places where it makes sense to allow arbitrary WML so users can potentially store their own stuff to use elsewhere but conditions and filters and such can definitely benefit from more rigorous checking. Someone just has to implement it. ...
- April 16th, 2024, 8:47 am
- Forum: Technical Support
- Topic: Can Add-on be batch downloaded in later update?
- Replies: 3
- Views: 315
Re: Can Add-on be batch downloaded in later update?
You can download multiple addons with the wesnoth_addon_manager. You can find it under data/tools. To download all UMC music addons you can use -d UMC_Music_Book.* as arguments for example. I don't know what you mean by repeatedly downloading the same addons. If you mean you downloaded the addons fo...
- April 16th, 2024, 8:22 am
- Forum: Technical Support
- Topic: Add-on and game crashes when terrain has more than 4 digits
- Replies: 8
- Views: 803
Re: Add-on and game crashes when terrain has more than 4 digits
Can you provide detailed reproduction steps? I cannot get the game to crash with a map with a terrain with more than 4 characters or when defining a terrain type with more than 4 characters. (Both of those cases show an error in the GUI for me.)
- April 9th, 2024, 10:22 pm
- Forum: Users’ Forum
- Topic: So, let's make a scenario
- Replies: 11
- Views: 2885
Re: So, let's make a scenario
If you're talking about the "Team name" field then that is a description for the side that you'll see in the status dialog in game.malthaussen wrote: ↑April 9th, 2024, 9:42 pm The Editor seems to imply that a recruit list should have a name, but that is evidently not the case.
- March 26th, 2024, 4:51 pm
- Forum: WML Workshop
- Topic: Problems with [filter_ability]
- Replies: 6
- Views: 2216
Re: Problems with [filter_ability]
It's [experimental_filter_ability] the wiki is not up-to-date.
- March 12th, 2024, 9:05 pm
- Forum: Lua Labs
- Topic: What is a helptip?
- Replies: 1
- Views: 1619
Re: What is a helptip?
Put help = _ "my helptip" next to tooltip and then the tooltip will be extended with "(Press 'f10' for more information)" (or whatever helptip hotkey you set) and if you press F10 then the helptip will be displayed instead of the tooltip. Why is the key name help and not helptip?...
- February 28th, 2024, 9:24 am
- Forum: Users’ Forum
- Topic: wtf is going on on afterlife
- Replies: 5
- Views: 2332
Re: wtf is going on on afterlife
You seem confused. Any player can run the multiplayer server but the server does not play any sides in a game. AI sides are played by one of the clients usually the host. Since you're talking about afterlife presumably you've joined the official server run on wesnoth.org. Perhaps you missed the &quo...
- February 25th, 2024, 5:52 pm
- Forum: Technical Support
- Topic: How to build non "+dev" version from source?
- Replies: 6
- Views: 1971
Re: How to build non "+dev" version from source?
1.18 server is not up yet. You can connect to port 14997 to get to the 1.17 server.
- January 15th, 2024, 2:51 pm
- Forum: Website
- Topic: [solved] Wiki: Is uploading images disabled?
- Replies: 10
- Views: 2978
Re: Wiki: Is uploading images disabled?
Try again, now.white_haired_uncle wrote: ↑December 30th, 2023, 10:58 am Okay, the link shows up for me now, however...
Code: Select all
Upload error Could not create directory "mwstore://local-backend/local-public/d/d1".
- December 20th, 2023, 6:52 pm
- Forum: Users’ Forum
- Topic: Need help for the Mod "Random Recruits" and also some new mods needet
- Replies: 13
- Views: 4558
Re: Need help for the Mod "Random Recruits" and also some new mods needet
If you want "Random Recruits" to use more than only level 1 units then remove the
unit_type.level == 1
check.