Search found 2457 matches

by Anonymissimus
June 18th, 2014, 10:21 pm
Forum: WML Workshop
Topic: non MP-safe WML
Replies: 42
Views: 10031

Re: non MP-safe WML

AFAIK, as long as you're using one of the events listed as "syncronized" you do not need to manually request synchronization with wesnoth.sync_choice. This is based on my experience coding the dialogs in SoW, where I have both lua dialogs and wml dialogs ([message] dialogs with options such as your...
by Anonymissimus
June 17th, 2014, 5:35 pm
Forum: WML Workshop
Topic: non MP-safe WML
Replies: 42
Views: 10031

Re: non MP-safe WML

AFAIK, as long as you're using one of the events listed as "syncronized" you do not need to manually request synchronization with wesnoth.sync_choice. This is based on my experience coding the dialogs in SoW, where I have both lua dialogs and wml dialogs ([message] dialogs with options such as your ...
by Anonymissimus
June 2nd, 2014, 1:16 pm
Forum: WML Workshop
Topic: Is this a bug or intended?
Replies: 13
Views: 1636

Re: Is this a bug or intended?

It seems that in the past I followed the "rule" I mentioned above, that is, by default, a SUF filters only on-map units, and I documented it at some places in the wiki if a tag includes the recall list, for the ones I wrote or know such as modify_unit. That way it's not necessary to write that it ex...
by Anonymissimus
June 1st, 2014, 4:19 pm
Forum: Scenario & Campaign Development
Topic: The Earth's Gut for BfW 1.11/1.12
Replies: 251
Views: 54560

Re: The Earth's Gut for BfW 1.10/1.11

Please ignore these particular deprecation warnings for now. (I hope that a tool that auto-converts the old syntax will be written so it's left unchanged until that.) The list of tags for which warnings should be ignored is here http://wiki.wesnoth.org/AiWML#Deprecated_AI_Targeting_Aspects Btw i no ...
by Anonymissimus
June 1st, 2014, 2:35 pm
Forum: WML Workshop
Topic: Is this a bug or intended?
Replies: 13
Views: 1636

Re: Is this a bug or intended?

According to the wiki, standard unit filters always check on the recall list. AFAIK and IMHO this is wrong. Only a few tags filtering on units include the recall list instead, and their respective documentation should mention that. For instance, have_unit never filtered on recall list units until i...
by Anonymissimus
May 27th, 2014, 2:40 pm
Forum: WML Workshop
Topic: Is this a bug or intended?
Replies: 13
Views: 1636

Re: Is this a bug or intended?

Hexes with x=0 or y=0 (That way one can include/exclude them from SLFs, using [not] as neccessary.) are needed for modifying shroud/fog and/or terrain based on location filters. It has visual effect and is very likely the reason for including them. It's only that units cannot be placed there. In the...
by Anonymissimus
May 23rd, 2014, 3:12 pm
Forum: Strategies & Tips
Topic: „Instruct ally“, Wesnoth 1.11.13
Replies: 4
Views: 1761

Re: „Instruct ally“, Wesnoth 1.11.13

The crude simple fix would be to make the leader passive so it never moves or attacks, but that's obviously not ideal either because then it'll forego perfectly safe opportunities as well. But if it's allowed to move and attack at all, it might end up doing something stupid because it cannot consid...
by Anonymissimus
May 22nd, 2014, 8:12 pm
Forum: Strategies & Tips
Topic: „Instruct ally“, Wesnoth 1.11.13
Replies: 4
Views: 1761

Re: „Instruct ally“, Wesnoth 1.11.13

Unfortunately, you can forget about it. These ai instructions are based on the old ai parameters and have never been of much use. As for suicidal allied leaders, it's the campaign author/maintainer's responsibility to prevent it, by using passive_leader=yes or other means. These ai parameters that a...
by Anonymissimus
May 22nd, 2014, 8:01 pm
Forum: WML Workshop
Topic: problem to upload an extension
Replies: 9
Views: 1378

Re: problem to upload an extension

matko8991: You may want to hide your passphrase and/or email so that they stay private (assuming that's actually your passphrase). Does it still crash ? Are you on windows ? Perhaps a crash or problem only occurs on windows or non-Linux, and iceiceice is a Linux dev afaik and doesn't notice. Could b...
by Anonymissimus
May 20th, 2014, 3:13 pm
Forum: Strategies & Tips
Topic: How to deal with [censored] happening?
Replies: 9
Views: 2480

Re: How to deal with [censored] happening?

This also spares you from the frustration of the Red Mage going 0/4. Most of the time, red mages are better used to wear down some enemy which is still at high HPs yes. Chance for 0/4 is 0.8%. If it happens, very likely a scenario restarter, if the target unit becomes unkillable, if it happens duri...
by Anonymissimus
May 19th, 2014, 9:37 pm
Forum: WML Workshop
Topic: Teleport ability broken?
Replies: 3
Views: 928

Re: Teleport ability broken?

What Gwledig says above needs to be this seems to fix it, using a custom version of the core macro in its own .cfg or using the fix shown at http://gna.org/bugs/?18893#comment1 He inserts additional |s for every variable queried so that the effect of the additional initial variable substitution run ...
by Anonymissimus
May 19th, 2014, 9:24 pm
Forum: Strategies & Tips
Topic: How to deal with [censored] happening?
Replies: 9
Views: 2480

Re: How to deal with [censored] happening?

In multiplayer, needing 1/3 vs 40% is good. In singleplayer, it is somewhat bad. You should have 1 more hex for a backup unit, or have it arranged so that the enemy is at worse defence, or use magic/marksman. The ai almost never hesitates to move onto bad def spots if it means it can likely kill a u...
by Anonymissimus
May 16th, 2014, 9:57 pm
Forum: WML Workshop
Topic: Call for Code Samples / WML Unit Tests
Replies: 18
Views: 16444

Re: Call for Code Samples / WML Unit Tests

If there is not currently a test to check if 2 different events both name=starts are fired in the order they were defined, I could try write one for it :) No, we don't have a test like that right now. That would be a good test :) This makes up for an excellent test. It is something that could easil...
by Anonymissimus
May 15th, 2014, 10:45 pm
Forum: WML Workshop
Topic: Call for Code Samples / WML Unit Tests
Replies: 18
Views: 16444

Re: Call for Code Samples / WML Unit Tests

I was just browsing old fixed bug reports of mine for suitable wml snippets, things that would have been detected by such a unit test. (This one feels appropriate http://gna.org/bugs/index.php?20734) Maybe that's a general strategy to get more tests ? Unfortunately though, it seems to me that most b...
by Anonymissimus
May 1st, 2014, 2:36 pm
Forum: Release Announcements, Compiling & Installation
Topic: Problem when compiling using CodeBlocks
Replies: 13
Views: 5093

Re: Problem when compiling using CodeBlocks

I had enabled OpenMP in the past (opposite procedure as what's described by shadowm above), likely because at that point the windows releases were build with it. If that's no longer the case, it should be removed. IIRC it did not require changing something in the build system, and removing the flag ...