URL:
  <http://gna.org/bugs/?17407>

                 Summary: faction_from_recruit=yes confuses the multiplayer
lobby
                 Project: Battle for Wesnoth
            Submitted by: kernigh
            Submitted on: Wed 29 Dec 2010 01:49:58 AM GMT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Multiplayer Lobby
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.5
        Operating System: OpenBSD

    _______________________________________________________

Details:

A multiplayer scenario that uses faction_from_recruit=yes can confuse the
multiplayer lobby. This bug often happens with '4p - A New Land'. Some players
cannot choose a leader, or receive the wrong choice. There are two parts of
confusion:

* The lobby allows a player to choose a leader from a wrong faction.
* If a player cancels, then the lobby forces the next player (on the same
slot) to have a random leader.

This bug only happens when using a server, and only when the host enables
'Use map settings'.

How to reproduce:

0 Start two wesnoths.
0 With first wesnoth, 'Host Networked Game'.
0 With second wesnoth, 'Connect to Server'. The server is 'localhost'.
0 With first wesnoth, create game of '4p - A New Land', select 'Default' era,
enable 'Use map settings'. See that the lobby locks the faction to
'Loyalists'. Now the host can change the leader of any side, but can only
choose Loyalist leaders.
0 With second wesnoth, join the game. See that the lobby offers the leaders
from all factions.
0 With second wesnoth, choose a Loyalist leader.
0 Notice that the player on slot 2 has the chosen leader.
0 With second wesnoth, cancel.
0 With first wesnoth, see that the lobby locked the leader of side 2 to '-'.
Now the host cannot change the leader of side 2.
0 With second wesnoth, join the game again, and choose a Loyalist leader.
0 See that the lobby never displays the chosen leader of side 2.
0 With first wesnoth, set slots 3 and 4 to empty, then start the game.
0 With second wesnoth, see that side 2 receives a random leader, who might be
different from the chosen leader.

Can also reproduce this bug with any other multiplayer scenario that uses
faction_from_recruit=yes. I am attaching WML_Faction_Test.zip, a copy of
Isar's Cross where all sides have recruit="Goblin Spearman,Naga Fighter" and
faction_from_recruit=yes. The faction is Northerners (not Loyalists).

I run wesnoth 1.8.5, compiled by me using cmake.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 29 Dec 2010 01:49:58 AM GMT  Name: WML_Faction_Test.zip  Size: 8kB 
 By: kernigh
a copy of Isar's Cross using faction_from_recruit=yes, to reproduce this bug
<http://gna.org/bugs/download.php?file_id=11679>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17407>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to