Search found 341 matches

by Xalzar
June 14th, 2019, 1:38 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Wiki indicates that ai turn is unsynced. Did you test for oos? I mean, wiki says it could only break replays at the worst. I've done some tests, all negative for OOS, but I'm no expert so I don't know if I've left something unchecked. Do you have some ideas of particular conditions which would need...
by Xalzar
June 14th, 2019, 11:35 am
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Ahem...I don't know how to say it, but I think I've found the solution completely elsewhere. I've found an event - ai turn - of which I ignored the existence and that helped immensely, here's the code: [event] name=side turn first_time_only=no [set_variable] name=isai value=no [/set_variable] [/even...
by Xalzar
June 13th, 2019, 3:58 pm
Forum: Multiplayer Development
Topic: Main Factions Balance
Replies: 127
Views: 4102

Re: Main Factions Balance

@Cackfiend: speaking of balance proposals, I'd suggest increasing the Drake Glider defense by 10% on all terrains. It's just so squishy currently. :augh: Footpad: Slashing melee instead of Bludgeoning (also can unnerf his melee to be 5-2 again. I don't know about that, it seems it would step too muc...
by Xalzar
June 13th, 2019, 2:20 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Pentarctagon wrote:
June 13th, 2019, 1:41 pm
You are a n00b.
True. Edited previous post. :doh:
by Xalzar
June 13th, 2019, 9:29 am
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Unit events are only added when unit is placed on map, and preload happens before map is loaded, so yes, it should be scenario/era/modification event. Since I'm no expert in those, I've tried to avoid [modification]s, but now it's the time to use them. In the end, they're simpler than I thought. Th...
by Xalzar
June 12th, 2019, 10:32 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

That error means the WML preprocessor is trying to process the Lua code. If you're putting Lua in a WML file, put << at the start and >> at the end to fix it. Of course! :doh: Please do not take anything for granted, I don't know anything about Lua. Now the error says something like (translated fro...
by Xalzar
June 12th, 2019, 9:46 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Thanks, it seems I have encountered an unexpected roadblock. :( I'll try to think of some workaround, for now the only thing I can think of is trying to add wait_description to the message, but even if it works it's not elegant. :hmm: And even then, the AI needs to have events reserved for it, for s...
by Xalzar
June 12th, 2019, 8:02 am
Forum: Writers’ Forum
Topic: Poll: do drakes eat humans?
Replies: 23
Views: 1227

Re: Poll: do drakes eat humans?

CalculusKing wrote:
June 12th, 2019, 5:10 am
Read the drake entry by ESR in SecretLore. https://wiki.wesnoth.org/SecretLore
Isn't the SecretLore page still considered canon?
I would like to hear confirmation about its canonicity too. I'm genuinely curious. ^_^
by Xalzar
June 12th, 2019, 8:00 am
Forum: Writers’ Forum
Topic: Poll: Do dragons eat drakes?
Replies: 11
Views: 492

Re: Poll: Do dragons eat drakes?

The fact that drakes are juvenile dragons - https://wiki.wesnoth.org/SecretLore. Ok, it's more clear now. I've found out that ESR is a retired developer (last post 2017, last activity exactly one year ago), and he's the only source of that information as far as I know. I know he contributed to Wing...
by Xalzar
June 12th, 2019, 7:42 am
Forum: Users’ Forum
Topic: Unit genders
Replies: 51
Views: 8226

Re: Unit genders

Lore-wise the stats could also be explained by saying that the elves learned their fire magic from the humans during the campaign, and so their stats are the same/similar. I'd even say that an elvish version of the Mage would perhaps make sense. Is the Academy in Anduin is the only place to learn t...
by Xalzar
June 11th, 2019, 11:12 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Preload event is important. Aaah ok, I misunderstood. I'll try it. Also, I'm sorry but please you both disregard for the moment my previous post. I'm a bit sleepy and I've probably introduced an error somewhere else :oops: (I've got an idea of where), so I'll revise your code tomorrow with a clear ...
by Xalzar
June 11th, 2019, 10:55 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Sadly both codes gave me errors (bad argument #1 to 'set_variable_local' (empty variable name)). Posting part of my code so you can tell me if it's because of a mistake on my part. @Ravana's [event] name=recruit id=modrecruit first_time_only=no [lua] code=<< function wesnoth.wml_conditionals.is_ai()...
by Xalzar
June 11th, 2019, 9:33 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Ravana wrote:
June 11th, 2019, 9:25 pm
But not able to test now, going to sleep.
Thanks again, I'll try it! Good night! ;)
by Xalzar
June 11th, 2019, 9:06 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

@Ravana: Thanks! But...is Lua the only solution, really? And it really does not cause OOS? The problem is that I've never learned Lua and I am unable to try to do it at the moment, due to time constraints. But I'd really like a quick fix to ease testing my code without constantly manually clicking t...
by Xalzar
June 11th, 2019, 8:30 pm
Forum: WML Workshop
Topic: Xalzar's WML Headaches
Replies: 50
Views: 3486

Re: Xalzar's WML Headaches

Quick question: how can I avoid triggering an event if the side is controlled by AI if the 'controller' key of a StandardSideFilter is disabled in MP? :doh: https://wiki.wesnoth.org/StandardSideFilter :eng: The premise of this problem is that the AI side is not fixed necessarily (so I can't filter f...