bugBattle for Wesnoth - Bugs: bug #21753, MP campaign leader random gender...

Show feedback again

bug #21753: MP campaign leader random gender change

Submitted by:  SigurdFireDragon <sigurdfdragon>
Submitted on:  Tue 04 Mar 2014 05:49:51 PM UTC  
Category: BugSeverity: 2 - Minor
Priority: 3 - LowItem Group: Multiplayer
Status: NonePrivacy: Public
Assigned to: Andrius Silinskas <thunderstruck>Open/Closed: Open
Release: 1.11.11+devOperating System: Win 7 x64

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri 11 Apr 2014 06:24:12 PM UTC, comment #2:

This should be partially fixed in https://github.com/wesnoth/wesnoth/commit/cec331c11b4d85f7f37b127d0373e14a76b6d475.

I made it so that if 'gender' attribute exists, leader would be assigned to that gender by default.

To fully fix this one, we should reload portrait information so that switching between genders would not cause such problems.

I'm lowering priority of this since due to recent changes.

Andrius Silinskas <thunderstruck>
Project MemberIn charge of this item.
Wed 26 Mar 2014 04:26:32 PM UTC, comment #1:

Perhaps this should be considered a minor bug, my own usage decided that [side] locks to prevent the behavior.

However, this would still be relevant in an mp campaign where the author wanted to allow the player the option of changing faction/leader between each scenarios. In such a case, if the player wanted to keep his leader selection, and it had two gender options, he would have to keep specifying the gender each time, otherwise he could get the bug occurring.

SigurdFireDragon <sigurdfdragon>
Tue 04 Mar 2014 05:49:51 PM UTC, original submission:

In the campaign section under Multiplayer:

If you choose a unit for your leader that has more than one gender option, in subsequent scenarios, the gender (as shown by the unit's image and language name) can change, though the portrait will remain the correct one.

This is shown through the 3 attached pictures. It seems likely that the display of 'Random' for the gender in step_2_glitch.jpg is part of the issue.

This occurs 1/2 of the time when selecting a unit that has two gender options.

SigurdFireDragon <sigurdfdragon>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #20254:  step_1_choice.jpg added by sigurdfdragon (31kB - image/jpeg)
file #20255:  step_2_glitch.jpg added by sigurdfdragon (39kB - image/jpeg)
file #20256:  step_3_result.jpg added by sigurdfdragon (147kB - image/jpeg)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by thunderstruck (Updated the item)
  • -unavailable- added by sigurdfdragon (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Apr 2014 06:24:12 PM UTCthunderstruckSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
    Sat 08 Mar 2014 02:22:12 PM UTCthunderstruckAssigned toNone=>thunderstruck
    Tue 04 Mar 2014 05:49:52 PM UTCsigurdfdragonAttached File-=>Added step_1_choice.jpg, #20254
      Attached File-=>Added step_2_glitch.jpg, #20255
      Attached File-=>Added step_3_result.jpg, #20256
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup