Affably Evil, Kill The King, The Beautiful Child missing WML

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

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Wetkitty
Posts: 10
Joined: January 5th, 2019, 1:34 pm

Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Wetkitty »

http://prntscr.com/m3cwjy

Trying to play Affably Evil campaign, i get these errors and i can't play it. Units do not level, items are missing stats and i reinstalled the game, purged cache, removed and reinstalled all add ons. This, Kill The King, The Beautiful Child, are not working, same errors. But the LotI works perfectly, just not these depending on it. Can anyone help me please? Is it possible to report these bugs somewhere? Playing on Steam platform, game version : 1.14.5 (48bd45d-Modified), english language, OS Windows 7 Ultimate SP1 64 bit. I need help please to play those, just finished LotI after a long time. This is the cached Log:

Code: Select all

   Battle for Wesnoth v1.14.5 (48bd45d-Modified)
Started on Sat Jan 05 16:13:52 2019

Automatically found a possible data directory at C:\Program Files (x86)\Steam\steamapps\common\wesnoth

Data directory:               C:\Program Files (x86)\Steam\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data directory:          C:\Users\USER\Documents\My Games\Wesnoth1.14
Cache directory:              C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Setting mode to 1600x900
20190105 16:14:12 error config: Skipping over a utf8 BOM at ~add-ons/Two_Brothers_Voice/_main.cfg:1
20190105 16:14:13 warning general: no location found for 'data/add-ons/Affably_Evil/translations', skipping textdomain
20190105 16:14:13 warning general: no location found for 'data/add-ons/Kill_the_King/translations', skipping textdomain
20190105 16:14:13 warning general: no location found for 'data/add-ons/The_Beatiful_Child/translations', skipping textdomain
20190105 16:14:13 warning general: no location found for 'data/add-ons/Two_Brothers_Sound_Pack_English/translations', skipping textdomain
20190105 16:14:13 warning general: no location found for 'data/add-ons/Wesnoth_Lua_Pack/translations', skipping textdomain
Checking lua scripts... ok
20190105 16:14:21 warning network: Failed to connect to 2a01:4f8:190:8005:1111::120: No connection could be made because the target machine actively refused it
20190105 16:14:22 error addons-client: add-on 'Deterministic_Offense' doesn't have an icon path set
20190105 16:14:22 error addons-client: add-on 'Eternal_Era' has an icon which cannot be found: 'units/human-vikings/viking-valnir.png'
20190105 16:14:22 error addons-client: add-on 'Home_of_the_Undead' has an icon which cannot be found: 'data/add-ons/Home_of_the_Undead/images/zombicon.png~RC(magenta>red)'
20190105 16:15:12 error config: Failed to delete directory/file: C:\Users\asd\Documents\My Games\Wesnoth1.14/data/add-ons/Legend_of_the_Invincibles
20190105 16:15:12 error config: removal of add-on Legend_of_the_Invincibles failed!
20190105 16:15:16 error general: The following add-on could not be deleted properly:

    • Legend of the Invincibles
20190105 16:16:26 warning network: Failed to connect to 2a01:4f8:190:8005:1111::120: No connection could be made because the target machine actively refused it
20190105 16:16:27 error addons-client: add-on 'Deterministic_Offense' doesn't have an icon path set
20190105 16:16:27 error addons-client: add-on 'Eternal_Era' has an icon which cannot be found: 'units/human-vikings/viking-valnir.png'
20190105 16:16:27 error addons-client: add-on 'Home_of_the_Undead' has an icon which cannot be found: 'data/add-ons/Home_of_the_Undead/images/zombicon.png~RC(magenta>red)'
20190105 16:16:47 error addons-client: add-on 'Deterministic_Offense' doesn't have an icon path set
20190105 16:16:47 error addons-client: add-on 'Eternal_Era' has an icon which cannot be found: 'units/human-vikings/viking-valnir.png'
20190105 16:16:47 error addons-client: add-on 'Home_of_the_Undead' has an icon which cannot be found: 'data/add-ons/Home_of_the_Undead/images/zombicon.png~RC(magenta>red)'
20190105 16:16:58 warning general: no location found for 'data/add-ons/Affably_Evil/translations', skipping textdomain
20190105 16:17:11 warning preprocessor: Redefining macro WEAPON_SPECIAL_IMPRECISE without explicit #undef at ~add-ons/Affably_Evil/utils/utils.cfg:370
    included from ~add-ons/Affably_Evil/_main.cfg:46
previously defined at ~add-ons/Legend_of_the_Invincibles/utils/abilities.cfg:605
    included from ~add-ons/Affably_Evil/_main.cfg:45
20190105 16:17:18 warning preprocessor: Redefining macro BUY_GEM without explicit #undef at ~add-ons/Affably_Evil/scenarios/Strych.cfg:1529
    included from ~add-ons/Affably_Evil/_main.cfg:53
previously defined at ~add-ons/Legend_of_the_Invincibles/utils/utils.cfg:189
    included from ~add-ons/Affably_Evil/_main.cfg:45
20190105 16:17:20 error scripting/lua: In function lua_kernel::run(): Lua Error:
  When executing, Lua runtime error: [string "..."]:2: bad argument #-1 to 'dofile' (file not found)
stack traceback:
	[C]: in field 'dofile'
	[string "..."]:2: in main chunk
Invalid WML found: [check_unit_title] not supported (4)
Invalid WML found: [repeating_message] not supported
Invalid WML found: [update_stats] not supported
20190105 16:17:27 error engine: failed to auto-store $second_unit at (-999,-999)
20190105 16:17:27 error engine: failed to auto-store $second_unit at (-999,-999)
20190105 16:17:27 error engine: failed to auto-store $second_unit at (-999,-999)
20190105 16:17:27 error engine: failed to auto-store $second_unit at (-999,-999)
20190105 16:17:27 error engine: failed to auto-store $second_unit at (-999,-999)
Invalid WML found: [pick_random_item] not supported
Invalid WML found: [update_stats] not supported
20190105 16:18:03 warning help: Found a section generator that I didn't recognize: units:
20190105 16:18:03 warning help: Found a topic generator that I didn't recognize: units:
Wetkitty
Posts: 10
Joined: January 5th, 2019, 1:34 pm

Missing WML

Post by Wetkitty »

I need a solution to play those even if is not on Steam
Wetkitty
Posts: 10
Joined: January 5th, 2019, 1:34 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Wetkitty »

I deleted the whole game and installed it again on Steam, but LotI did not have any issues when i played it, those others still do.
User avatar
Pentarctagon
Project Manager
Posts: 5526
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Pentarctagon »

Are there directories present if you click the "i" icon on the main menu's lower left corner and then click the folder icon to the right of the "Add-ons" row?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Wetkitty
Posts: 10
Joined: January 5th, 2019, 1:34 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Wetkitty »

I thought i made it clear, i removed every single trace of this game *uninstalled, then deleted the entire Wesnoth directory in Steam Library), installed it again , first addons i installed were Affably Evil+LotI, LotI works perfect. Any other depending on it is missing files like i posted in the first screenshot on top. Missing pick item files and unit skill tree, cannot be played normally without them since units do not evolve properly. I tried playing it outside Steam, same thing happens
Wetkitty
Posts: 10
Joined: January 5th, 2019, 1:34 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Wetkitty »

Look, again, brand new install for Beautiful Child, all previous traces of the game deleted.


Code: Select all

Battle for Wesnoth v1.14.5 (48bd45d-Modified)
Started on Wed Jan 16 15:21:11 2019

Automatically found a possible data directory at C:\Program Files (x86)\Steam\steamapps\common\wesnoth

Data directory:               C:\Program Files (x86)\Steam\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data directory:          C:\Users\USER\Documents\My Games\Wesnoth1.14
Cache directory:              C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Setting mode to 1280x720
Checking lua scripts... ok
20190116 15:21:21 warning network: Failed to connect to 2a01:4f8:190:8005:1111::120: No connection could be made because the target machine actively refused it
20190116 15:21:21 error addons-client: add-on 'Deterministic_Offense' doesn't have an icon path set
20190116 15:21:21 error addons-client: add-on 'Eternal_Era' has an icon which cannot be found: 'units/human-vikings/viking-valnir.png'
20190116 15:21:22 error addons-client: add-on 'Home_of_the_Undead' has an icon which cannot be found: 'data/add-ons/Home_of_the_Undead/images/zombicon.png~RC(magenta>red)'
20190116 15:21:41 error addons-client: add-on 'Deterministic_Offense' doesn't have an icon path set
20190116 15:21:41 error addons-client: add-on 'Eternal_Era' has an icon which cannot be found: 'units/human-vikings/viking-valnir.png'
20190116 15:21:41 error addons-client: add-on 'Home_of_the_Undead' has an icon which cannot be found: 'data/add-ons/Home_of_the_Undead/images/zombicon.png~RC(magenta>red)'
20190116 15:21:42 error gui/layout: grid [] place: Failed to place a grid, we have 590,714 space but we need 766,20 space. This happened at a grid with the id '' in a 'N4gui27listboxE' with the id 'addons' in a 'N4gui24gridE' with the id '' in a 'N4gui210addon_listE' with the id 'addons' in a 'N4gui24gridE' with the id '' in a 'N4gui25panelE' with the id '' in a 'N4gui24gridE' with the id '_window_content_grid' in a 'N4gui24gridE' with the id '_content_grid' in a 'N4gui215scrollbar_panelE' with the id '' in a 'N4gui24gridE' with the id '' in a 'N4gui26windowE' with the id 'addon_manager'.
20190116 15:21:53 warning general: no location found for 'data/add-ons/The_Beatiful_Child/translations', skipping textdomain
20190116 15:22:14 warning preprocessor: Redefining macro BUY_GEM without explicit #undef at ~add-ons/The_Beautiful_Child/scenarios/Thunderhold.cfg:1748
    included from ~add-ons/The_Beautiful_Child/_main.cfg:54
previously defined at ~add-ons/Legend_of_the_Invincibles/utils/utils.cfg:189
    included from ~add-ons/The_Beautiful_Child/_main.cfg:46
20190116 15:22:17 error scripting/lua: In function lua_kernel::run(): Lua Error:
  When executing, Lua runtime error: [string " wesnoth.dofile("~add-ons/Legend_of_the_Invin..."]:1: bad argument #-1 to 'dofile' (file not found)
stack traceback:
	[C]: in field 'dofile'
	[string " wesnoth.dofile("~add-ons/Legend_of_the_Invin..."]:1: in main chunk
Invalid WML found: [update_stats] not supported
20190116 15:22:21 warning unit: Unknown attribute 'portrait' discarded.
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
Invalid WML found: [check_unit_title] not supported
User avatar
Pentarctagon
Project Manager
Posts: 5526
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Pentarctagon »

Well, add-ons aren't stored in the Steam install directory, so deleting Wesnoth's steam directory won't remove them.

However, if you are still confident that you've completely deleted them, then I suggest you contact the author of these add-ons (dugi) via their feedback threads which can be found in the add-on description.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
josteph
Inactive Developer
Posts: 741
Joined: August 19th, 2017, 6:58 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by josteph »

When executing, Lua runtime error: [string " wesnoth.dofile("~add-ons/Legend_of_the_Invin..."]:1: bad argument #-1 to 'dofile' (file not found)

Can we make the error message not truncate the filename?
User avatar
Pentarctagon
Project Manager
Posts: 5526
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Pentarctagon »

josteph wrote: January 16th, 2019, 1:49 pm When executing, Lua runtime error: [string " wesnoth.dofile("~add-ons/Legend_of_the_Invin..."]:1: bad argument #-1 to 'dofile' (file not found)

Can we make the error message not truncate the filename?
I'd assume so, though that really belongs as an issue on Github.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
josteph
Inactive Developer
Posts: 741
Joined: August 19th, 2017, 6:58 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by josteph »

User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by Dugi »

The problem is that these add-ons depend on an obsolete version of Legend of the Invincibles which isn't available on the server. I am working on updating them. The error messages were vague, but as the creator of these add-ons, I had my insights.

EDIT: I have fixed the bugs. The campaigns should run without problems.
User avatar
lhybrideur
Posts: 357
Joined: July 9th, 2019, 1:46 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by lhybrideur »

I'm currently creating a campaign depending on LoTI. I began creating it on 1.12 and I'm currently porting it to 1.14. I have the same problem as described here ([update_stats] not supported and [describe_object] not supported). Was it complicated to fix it for Affably Evil ?
User avatar
lhybrideur
Posts: 357
Joined: July 9th, 2019, 1:46 pm

Re: Affably Evil, Kill The King, The Beautiful Child missing WML

Post by lhybrideur »

Fixed it
For the information :
path to lua was changed to ~add-ons/Legend_of_the_Invincibles/lua/main.lua and unit data_loaders.cfg was added
Post Reply