campaign "By the sword" (by Andrew)

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Thomas88
Posts: 10
Joined: November 23rd, 2010, 7:22 pm

campaign "By the sword" (by Andrew)

Post by Thomas88 »

Hello everyone,

after playing 9-10 scenarios I get the following error:

unknown unite type
calvaryman while scoring units
Condition 'enemy_info' failed at scr\ai\default\ai.cpp:1348 in function 'get_combat_score_vs'.

System is windows xp, wesnoth 1.8.6, in german language.
Scenario is "Reinforcements", at the start of the orcish turn.

could be something with the WML

Does anybody know help ?

It is a nice campaign to play, and I am nearly ready...

THANK YOU !!!

Thomas (Germany)

Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: campaign "By the sword" (by Andrew)

Post by Ceres »

Open the file of the scenario where this happens, find all instances of "calvaryman" and replace them with "Cavalryman".
Then press F5 while in BfW's main menu (or close BfW and restart it) and load a start-of-scenario save (not an autosave) of that scenario.

Thomas88
Posts: 10
Joined: November 23rd, 2010, 7:22 pm

Re: campaign "By the sword" (by Andrew)

Post by Thomas88 »

Thanks !

Groggy_Dice
Inactive Developer
Posts: 165
Joined: February 4th, 2011, 6:19 am
Contact:

Re: campaign "By the sword" (by Andrew)

Post by Groggy_Dice »

Thanks for pointing this out, I guess I should have checked over the wmllint log more carefully. The fix has been uploaded for a few hours now. There are actually four scenarios where this misspelling occurs. You actually should have had the chance to recruit cavalry in scenarios 5 and 6, earlier. I hope it doesn't hurt your strategy too much that you missed your chance before, you will now be able to recruit them in scenarios 10 and 11.
Ports:
Prudence (Josh Roby) | By the Sword (monochromatic) | The Eight of Cembulad (Lintana~ & WYRMY)
Resources:
UMC Timeline (Dec) | List of Unported UMC (Dec) | wmllint++ (Feb)

Groggy_Dice
Inactive Developer
Posts: 165
Joined: February 4th, 2011, 6:19 am
Contact:

Re: campaign "By the sword" (by Andrew)

Post by Groggy_Dice »

Because of this error, I ran wmlscope again, and it turned up two more unit types that were misspelled: "Javilineer" instead of Javelineer, and Elvish "Captian" instead of Captain. I don't know why wmlscope didn't pick up these errors the first time around, but perhaps it has something to do with the fact that the campaign was in a folder called "1.6" instead of "data/add-ons" when I ran it originally.

At any rate, the corrected scenarios are up on the server, and hopefully there are now no more bugs.
Ports:
Prudence (Josh Roby) | By the Sword (monochromatic) | The Eight of Cembulad (Lintana~ & WYRMY)
Resources:
UMC Timeline (Dec) | List of Unported UMC (Dec) | wmllint++ (Feb)

Post Reply