Add-on errors
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Add-on errors
So I just downloaded the game, development version.
I installed era of magic, love to death and to lands unknown.
Neither of the campaigns work, they give me this error:
20111119 15:47:51 error general: The following add-on had errors and could not be loaded:
D:/Battle for Wesnoth 1.9.10/userdata/data/add-ons/Love_To_Death/_main.cfg
ERROR DETAILS:
Macro/file 'FLOATING_TEXT' is missing at ~add-ons/Love_To_Death/scenarios/09_Druids.cfg:289 included from ~add-ons/Love_To_Death/_main.cfg:94
I honestly didn't find any solution anywhere, so pardon me if this was answered already.
Also that error is from love to death, to lands unknown has a similar error with ALMA_EXPERIENCE
I installed era of magic, love to death and to lands unknown.
Neither of the campaigns work, they give me this error:
20111119 15:47:51 error general: The following add-on had errors and could not be loaded:
D:/Battle for Wesnoth 1.9.10/userdata/data/add-ons/Love_To_Death/_main.cfg
ERROR DETAILS:
Macro/file 'FLOATING_TEXT' is missing at ~add-ons/Love_To_Death/scenarios/09_Druids.cfg:289 included from ~add-ons/Love_To_Death/_main.cfg:94
I honestly didn't find any solution anywhere, so pardon me if this was answered already.
Also that error is from love to death, to lands unknown has a similar error with ALMA_EXPERIENCE
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Add-on errors
These are addon errors which don't belong into this forum but into that addon's thread instead. I wouldn't be surprised if the fatal unit type misspelling errors I hit when I played still aren't fixed as well, that campaign is simply poorly maintained.
Errors of these type are often caused by former mainline macros which the addon still happens to reference and can be fixed by finding and copying the old macro definition to the addon's custom macros.
In this case you could probably put
into that addon's utils/some_macro_file.cfg.
EDIT
For LTD, several people reported and fixed bugs in its thread and one guy even uploaded a fixed scenario for the floating text bug:
http://forums.wesnoth.org/viewtopic.php ... &start=105
Errors of these type are often caused by former mainline macros which the addon still happens to reference and can be fixed by finding and copying the old macro definition to the addon's custom macros.
In this case you could probably put
Code: Select all
#define FLOATING_TEXT FILTER COLOUR_VALUE TEXT
# Floats the given text above the given unit in the same manner as
# damage numbers are displayed in combat. For example when a unit
# steps on a hidden trap and is dealt 8 damage, let's show this to
# the player like all other damage is:
#! {FLOATING_TEXT x,y=$x1,$y1 255,0,0 "8"}
[store_unit]
[filter]
{FILTER}
[/filter]
kill=no
variable=FLOATING_TEXT_temp
[/store_unit]
[unstore_unit]
variable=FLOATING_TEXT_temp
find_vacant=no
red,green,blue={COLOUR_VALUE}
text={TEXT}
[/unstore_unit]
{CLEAR_VARIABLE FLOATING_TEXT_temp}
#enddef
EDIT
For LTD, several people reported and fixed bugs in its thread and one guy even uploaded a fixed scenario for the floating text bug:
http://forums.wesnoth.org/viewtopic.php ... &start=105
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Add-on errors
Ty, and sorry for posting in the wrong forum, I'm new here, should have thought further before posting.
I did what you suggested, and it worked, appreciate your help.
I did what you suggested, and it worked, appreciate your help.