Search found 1937 matches

by Ravana
Yesterday, 8:12 pm
Forum: Users’ Forum
Topic: How user blocking works?
Replies: 2
Views: 36

Re: How user blocking works?

It adds marker next to user name so you recognize it.
by Ravana
Yesterday, 3:43 pm
Forum: Lua Labs
Topic: Gui Debug Tools 0.9.9 for BfW 1.14
Replies: 34
Views: 9040

Re: Gui Debug Tools 0.9.9 for BfW 1.14

F5 is only for WML changes. If you work with Lua, you never need it.
by Ravana
January 20th, 2019, 9:29 am
Forum: WML Workshop
Topic: Unit XP-bar color-setting with custom AMLA's
Replies: 9
Views: 155

Re: Unit XP-bar color-setting with custom AMLA's

There is major_amla https://github.com/wesnoth/wesnoth/comm ... t-26715656. Not sure how it works, but if it does something useful, you could add it to wiki.
by Ravana
January 19th, 2019, 10:48 pm
Forum: WML Workshop
Topic: Unit XP-bar color-setting with custom AMLA's
Replies: 9
Views: 155

Re: Unit XP-bar color-setting with custom AMLA's

I guess it depends on existence of advance_to in that unit.
by Ravana
January 19th, 2019, 9:51 am
Forum: WML Workshop
Topic: place item on map instead of in code
Replies: 2
Views: 57

Re: place item on map instead of in code

Usually not, though it is possible to use WML to create new terrain types that look like items.
by Ravana
January 18th, 2019, 5:46 pm
Forum: Technical Support
Topic: possible bug with BaB tile
Replies: 16
Views: 278

Re: possible bug with BaB tile

Grep your addons directory for BaB. That will show where it is from. Then if that terrain type is defined by your own addon, then the problem is with you, otherwise most likely with whoever created that addon.
by Ravana
January 17th, 2019, 6:59 pm
Forum: WML Workshop
Topic: Rotate Area WML not working on 1.14.x
Replies: 13
Views: 205

Re: Rotate Area WML not working on 1.14.x

Added.
by Ravana
January 17th, 2019, 3:44 pm
Forum: WML Workshop
Topic: Rotate Area WML not working on 1.14.x
Replies: 13
Views: 205

Re: Rotate Area WML not working on 1.14.x

I mean that [lua] is not supported in [scenario] https://wiki.wesnoth.org/ScenarioWML
by Ravana
January 17th, 2019, 7:10 am
Forum: WML Workshop
Topic: Rotate Area WML not working on 1.14.x
Replies: 13
Views: 205

Re: Rotate Area WML not working on 1.14.x

[scenario][lua] is not documented at least. Normally you would include it in preload.

> move_units=true
Better to write "yes", then Lua receives it as boolean instead of string. I think 1.8 is last wesnoth version where using true/false in WML was supported.
by Ravana
January 16th, 2019, 8:11 pm
Forum: Lua Labs
Topic: Synchronization with LUA?
Replies: 8
Views: 187

Re: Synchronization with LUA?

Any code called by unsynced event is unsynced. No way to change it.

Best you can do is store the action until synced code wants to use it.
by Ravana
January 15th, 2019, 8:04 pm
Forum: Lua Labs
Topic: Synchronization with LUA?
Replies: 8
Views: 187

Re: Synchronization with LUA?

Unsynced events can not request synchronization. This is case a).
by Ravana
January 14th, 2019, 4:18 pm
Forum: Lua Labs
Topic: Synchronization with LUA?
Replies: 8
Views: 187

Re: Synchronization with LUA?

When using syncing based on global variables, your use case should be possible with WML - after each action current side asks if master wants to do something.
by Ravana
January 12th, 2019, 6:11 pm
Forum: Coder’s Corner
Topic: WML syntax tree analysis
Replies: 12
Views: 2900

Re: WML syntax tree analysis

I will remain with python. Even just being able to add breakpoints makes it worth it.
by Ravana
January 12th, 2019, 5:49 pm
Forum: Coder’s Corner
Topic: WML syntax tree analysis
Replies: 12
Views: 2900

Re: WML syntax tree analysis

Interesting. Looks like it would support all normal cases. Technically I support selecting with stateful function too, but it is not what I use in practice. Select all units that have more health than the last match - https://github.com/ProditorMagnus/WML_tree_tools/commit/822a3062408d31da49695f2809...