The Militia

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
gnombat
Posts: 669
Joined: June 10th, 2010, 8:49 pm

Re: The Militia

Post by gnombat »

Desert_Shyde wrote: April 5th, 2021, 8:16 am I also might end up changing bits such as the spellings of the elves' names. (After learning some linguistics I see how absurd they actually are. But maybe that's part of the lightheartedness of the campaign.)
Fun fact: when E. R. Eddison wrote the novel The Worm Ouroboros, he used a number of characters that he had previously invented when he was 10 years old, and kept their original names. This may explain why the novel contains characters with names like "Fax Fay Faz". :lol:
User avatar
Argesilao2
Posts: 113
Joined: February 18th, 2020, 9:28 pm
Location: Piciule Patrie

Re: The Militia

Post by Argesilao2 »

After a short correspondence with Desert Shyde I uploaded the campaign in the add-ons server of BfW 1.15.

Anyone who finds errors can report them in this forum; I will try to repair them.

In no case will I make changes to the balance of the scenarios, their map, history, names or characters.

Have fun!
User avatar
Elvish_Hunter
Posts: 1575
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: The Militia

Post by Elvish_Hunter »

Argesilao2 wrote: April 9th, 2021, 7:05 pm Anyone who finds errors can report them in this forum; I will try to repair them.
I tried to start the campaign on 1.15.11. It starts, but in my stderr there are a several of these messages:

Code: Select all

Invalid WML found: extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_ARMAGEDDON_DRAKE has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_DWARVISH_ARCANISTER has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_DWARVISH_RUNESMITH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_NIGHTBLADE has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_TROLL_SHAMAN has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
This is caused by the extra advancements being enabled in a slightly different way in 1.15.
Also, there are these messages caused by cfg files being saved as UTF-8 with BOM, instead of UTF-8 without BOM:

Code: Select all

20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/cow.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/deaths.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/items.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/map.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/silas.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/01_Peasant_Squabble.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/02_Into_the_Forest.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/03_Sudden_Defense.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/04_Surprise_Alliance.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/05_Welcoming_Committee.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/06_Mistaken_Identity.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/07a_Cleanup.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/07b_Recruited.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/08a_Merfolk.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/08b_Defense.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/09_Aquatic_Battle.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/10_Counterflank.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/11_Removing_the_Threat.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/12_News.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/13_Who_What.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15a_Cleaning_House.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15b_Battle_for_Elton.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15c_World_War.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/units/Slave.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:125
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/units/Spirit.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:125
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
User avatar
Argesilao2
Posts: 113
Joined: February 18th, 2020, 9:28 pm
Location: Piciule Patrie

Re: The Militia

Post by Argesilao2 »

Elvish_Hunter wrote: April 10th, 2021, 9:20 pm I tried to start the campaign on 1.15.11. It starts, but in my stderr there are a several of these messages:

Code: Select all

Invalid WML found: extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_ARMAGEDDON_DRAKE has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_DWARVISH_ARCANISTER has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_DWARVISH_RUNESMITH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_NIGHTBLADE has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Invalid WML found: extra_defines=ENABLE_TROLL_SHAMAN has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
This is caused by the extra advancements being enabled in a slightly different way in 1.15.
Fixed ... perhaps ... :whistle:
The wikipage it isn't very plain about this thing.
To say the truth I'm not sure these macros are necessary, but they were present in the original code.
Also, there are these messages caused by cfg files being saved as UTF-8 with BOM, instead of UTF-8 without BOM:

Code: Select all

20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/cow.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/deaths.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/items.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/map.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/utils/silas.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:121
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/01_Peasant_Squabble.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/02_Into_the_Forest.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/03_Sudden_Defense.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/04_Surprise_Alliance.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/05_Welcoming_Committee.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/06_Mistaken_Identity.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/07a_Cleanup.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/07b_Recruited.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/08a_Merfolk.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/08b_Defense.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/09_Aquatic_Battle.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/10_Counterflank.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/11_Removing_the_Threat.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/12_News.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/13_Who_What.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15a_Cleaning_House.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15b_Battle_for_Elton.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/scenarios/15c_World_War.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:123
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/units/Slave.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:125
20210410 22:13:20 error config: Skipping over a utf8 BOM at ~add-ons/The_Militia/units/Spirit.cfg:1
    included from ~add-ons/The_Militia/_main.cfg:125
fixed

Thanks for the tip
Post Reply