Add-ons not loading the ones that I've selected

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
cupcakes
Posts: 3
Joined: September 3rd, 2021, 6:07 pm

Add-ons not loading the ones that I've selected

Post by cupcakes »

This is something that I think more than a few people have encountered: somehow, the add-ons, or GUI gets corrupted, and the add-ons that you select when creating a game are not actually selected. The only way to tell that it isn't working is to start the game, and then realize that (e.g., random recruit) isn't working. The only way that I've figured out how this can get fixed is to mass delete and then re-install add-ons, but sometimes it doesn't seem to work.

Is there a known way to fix it? A known reason for why this happens? It's a very annoying, game-breaking bug.
dwarftough
Posts: 484
Joined: August 4th, 2019, 5:27 pm

Re: Add-ons not loading the ones that I've selected

Post by dwarftough »

A very old bug. It's caused by some of the mods defining itself twice.

https://github.com/wesnoth/wesnoth/issues/5886

https://github.com/wesnoth/wesnoth/issues/6780

You can try to delete add-ons one by one to determine which one is breaking things
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
User avatar
Ravana
Forum Moderator
Posts: 3016
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Add-ons not loading the ones that I've selected

Post by Ravana »

Addon server rules do not allow addons that break something like that.
cupcakes
Posts: 3
Joined: September 3rd, 2021, 6:07 pm

Re: Add-ons not loading the ones that I've selected

Post by cupcakes »

dwarftough wrote: August 2nd, 2023, 1:11 am A very old bug. It's caused by some of the mods defining itself twice.

https://github.com/wesnoth/wesnoth/issues/5886

https://github.com/wesnoth/wesnoth/issues/6780

You can try to delete add-ons one by one to determine which one is breaking things
But I have dozens of add-ons, so that doesn't help much. Good to know though.

I'm pretty sure this has happened when I only had add-ons from the server.
gnombat
Posts: 710
Joined: June 10th, 2010, 8:49 pm

Re: Add-ons not loading the ones that I've selected

Post by gnombat »

cupcakes wrote: August 2nd, 2023, 6:49 pm
dwarftough wrote: August 2nd, 2023, 1:11 am You can try to delete add-ons one by one to determine which one is breaking things
But I have dozens of add-ons, so that doesn't help much.
You might be able to find an error message in your log file which indicates which add-on is causing the issue.

According to https://github.com/wesnoth/wesnoth/issues/6780 there should be a message in the log file that looks like this:

Code: Select all

error config: found modification with id=Dead_Bodies twice
dwarftough
Posts: 484
Joined: August 4th, 2019, 5:27 pm

Re: Add-ons not loading the ones that I've selected

Post by dwarftough »

gnombat wrote: August 2nd, 2023, 7:17 pm
cupcakes wrote: August 2nd, 2023, 6:49 pm
dwarftough wrote: August 2nd, 2023, 1:11 am You can try to delete add-ons one by one to determine which one is breaking things
But I have dozens of add-ons, so that doesn't help much.
You might be able to find an error message in your log file which indicates which add-on is causing the issue.

According to https://github.com/wesnoth/wesnoth/issues/6780 there should be a message in the log file that looks like this:

Code: Select all

error config: found modification with id=Dead_Bodies twice
Yeah. I start Wesnoth from command line, so I see those. When not from command line, I guess yeah, should be written to some log files
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Post Reply