A crashing problem by changing the leader on 1.11.8.

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
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

A crashing problem by changing the leader on 1.11.8.

Post by SkyOne »

Hello,

BfW crashes on one of my add-on campaigns when the leader attacks any enemies on 1.11.8 (it is fine on 1.11.7). It only occurs after the leader changes. What I am doing for the leader change is to keep the same in the [side] tag, then replacing the leader with [if] + [have_unit] tags, and [store_unit] tags with "kill=yes" key for the original leader in the prestart event. And each of the changed leaders is replaced to the original leader on the next scenario.

reported by HD-Berlin here: - http://forums.wesnoth.org/viewtopic.php ... 94#p566694

A strange thing is that I am doing the same process on other two of add-on campaigns (one is not published yet), and both are fine on this matter. So what I need to know is that it is a bug or something has been changed on 1.11.8. I will appreciate if someone responds.


thanks
best regard
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
mattsc
Inactive Developer
Posts: 1217
Joined: October 13th, 2010, 6:14 pm

Re: A crashing problem by changing the leader on 1.11.8.

Post by mattsc »

Hi SkyOne,

The WML reason for this crash is that the overlay for Jil points to a file that does not exist. It doesn't exist in 1.11.7 either, but only causes problems in 1.11.8 because of a change to the source code during 1.11.7+dev (so that's the C++ reason for the crash). So if I see that correctly, that means that it has nothing to do with the unit being the side leader or anything, but only with it having an overlay that does not exist.

It also means that you can fix your campaign for 1.11.8 by changing the overlay file name. Of course, pointing to a non-existing overlay should not crash the game. We will fix that, but it won't take effect until 1.11.9.
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: A crashing problem by changing the leader on 1.11.8.

Post by Iris »

Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: A crashing problem by changing the leader on 1.11.8.

Post by SkyOne »

These are perfect responses.
I really appreciate how great this community is.
Thank you so much. ^_^
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Post Reply